From: <mik...@us...> - 2008-08-19 19:30:45
|
Revision: 865 http://omc.svn.sourceforge.net/omc/?rev=865&view=rev Author: mike-brasher Date: 2008-08-19 19:30:55 +0000 (Tue, 19 Aug 2008) Log Message: ----------- Fixed GenProviderList script to handle multiple namespaces. Modified Paths: -------------- cmpiprofiles/test/trunk/GenProviderList.sh cmpiprofiles/test/trunk/ProviderList.txt Modified: cmpiprofiles/test/trunk/GenProviderList.sh =================================================================== --- cmpiprofiles/test/trunk/GenProviderList.sh 2008-08-19 19:12:13 UTC (rev 864) +++ cmpiprofiles/test/trunk/GenProviderList.sh 2008-08-19 19:30:55 UTC (rev 865) @@ -15,6 +15,12 @@ for i in $libs do - konkretreg -r $i | sed 's/[ \t].*//g' >> $fn + konkretreg -r $i | while read CLASSNAME NAMESPACES X1 X2 X3 X4 X5 X6 + do + for j in $NAMESPACES + do + echo "$CLASSNAME $j" >> $fn + done + done echo "" >> $fn done Modified: cmpiprofiles/test/trunk/ProviderList.txt =================================================================== --- cmpiprofiles/test/trunk/ProviderList.txt 2008-08-19 19:12:13 UTC (rev 864) +++ cmpiprofiles/test/trunk/ProviderList.txt 2008-08-19 19:30:55 UTC (rev 865) @@ -1,64 +1,64 @@ Linux_ComputerSystem -Linux_BootService -Linux_BootConfigSetting -Linux_BootElementConformsToProfile +Linux_BootService root/cimv2 +Linux_BootConfigSetting root/cimv2 +Linux_BootElementConformsToProfile root/cimv2 Linux_BootElementConformsToProfile root/interop -Linux_BootElementSettingData -Linux_BootHostedService -Linux_BootOrderedComponent +Linux_BootElementSettingData root/cimv2 +Linux_BootHostedService root/cimv2 +Linux_BootOrderedComponent root/cimv2 Linux_BootReferencedProfile root/interop Linux_BootRegisteredProfile root/interop -Linux_BootServiceAffectsElement -Linux_GrubBootSourceSetting +Linux_BootServiceAffectsElement root/cimv2 +Linux_GrubBootSourceSetting root/cimv2 -Linux_DeviceSAPImplementationEthernetPort -Linux_ElementCapabilitiesLANEndpoint -Linux_ElementCapabilitiesEthernetPort -Linux_ElementConformsToProfileEthernetPort -Linux_ElementConformsToProfileEthernetPort root/interop -Linux_EnabledLogicalElementCapabilitiesLANEndpoint -Linux_EnabledLogicalElementCapabilitiesEthernetPort -Linux_EthernetPort -Linux_HostedAccessPointEthernetPort -Linux_LANEndpoint -Linux_ReferencedProfileEthernetPort root/interop -Linux_RegisteredProfileEthernetPort root/interop -Linux_SystemDeviceEthernetPort +Linux_EthernetPortDeviceSAPImplementation root/cimv2 +Linux_EthernetPortElementCapabilities root/cimv2 +Linux_EthernetPortElementConformsToProfile root/cimv2 +Linux_EthernetPortElementConformsToProfile root/interop +Linux_EthernetPortEnabledLogicalElementCapabilities root/cimv2 +Linux_EthernetPort root/cimv2 +Linux_EthernetPortHostedAccessPoint root/cimv2 +Linux_LANEndpointElementCapabilities root/cimv2 +Linux_LANEndpointEnabledLogicalElementCapabilities root/cimv2 +Linux_LANEndpoint root/cimv2 +Linux_EthernetPortReferencedProfile root/interop +Linux_EthernetPortRegisteredProfile root/interop +Linux_EthernetPortSystemDevice root/cimv2 -Linux_FanElementConformsToProfile +Linux_FanElementConformsToProfile root/cimv2 Linux_FanElementConformsToProfile root/interop -Linux_Fan -Linux_FanHostedCollection -Linux_FanIsSpare -Linux_FanMemberOfCollection -Linux_FanOwningCollectionElement -Linux_FanRedundancySet -Linux_FanReferencedProfile root/interop -Linux_FanRegisteredProfile root/interop -Linux_FanSystemDevice +Linux_Fan root/cimv2 +Linux_FanHostedCollection root/cimv2 +Linux_FanIsSpare root/cimv2 +Linux_FanMemberOfCollection root/cimv2 +Linux_FanOwningCollectionElement root/cimv2 +Linux_FanRedundancySet root/cimv2 +Linux_FanReferencedProfile root/cimv2 +Linux_FanRegisteredProfile root/cimv2 +Linux_FanSystemDevice root/cimv2 -Linux_PowerElementConformsToProfile +Linux_PowerElementConformsToProfile root/cimv2 Linux_PowerElementConformsToProfile root/interop -Linux_PowerHostedCollection -Linux_PowerIsSpare -Linux_PowerMemberOfCollection -Linux_PowerOwningCollectionElement -Linux_PowerSupply -Linux_PowerRedundancySet +Linux_PowerHostedCollection root/cimv2 +Linux_PowerIsSpare root/cimv2 +Linux_PowerMemberOfCollection root/cimv2 +Linux_PowerOwningCollectionElement root/cimv2 +Linux_PowerSupply root/cimv2 +Linux_PowerRedundancySet root/cimv2 Linux_PowerReferencedProfile root/interop Linux_PowerRegisteredProfile root/interop -Linux_PowerSystemDevice +Linux_PowerSystemDevice root/cimv2 -Linux_SSHCapabilities -Linux_SSHElementCapabilities -Linux_SSHElementConformsToProfile +Linux_SSHCapabilities root/cimv2 +Linux_SSHElementCapabilities root/cimv2 +Linux_SSHElementConformsToProfile root/cimv2 Linux_SSHElementConformsToProfile root/interop -Linux_SSHHostedAccessPoint -Linux_SSHHostedService -Linux_SSHProtocolEndpoint -Linux_SSHProtocolService -Linux_SSHProvidesEndpoint +Linux_SSHHostedAccessPoint root/cimv2 +Linux_SSHHostedService root/cimv2 +Linux_SSHProtocolEndpoint root/cimv2 +Linux_SSHProtocolService root/cimv2 +Linux_SSHProvidesEndpoint root/cimv2 Linux_SSHReferencedProfile root/interop Linux_SSHRegisteredProfile root/interop This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |