You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(26) |
Dec
(13) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(5) |
Feb
(16) |
Mar
(5) |
Apr
(5) |
May
(13) |
Jun
(12) |
Jul
(1) |
Aug
(2) |
Sep
(13) |
Oct
(6) |
Nov
(1) |
Dec
(29) |
2008 |
Jan
(2) |
Feb
(2) |
Mar
(2) |
Apr
(57) |
May
(35) |
Jun
(45) |
Jul
(132) |
Aug
(87) |
Sep
(141) |
Oct
(86) |
Nov
(17) |
Dec
(2) |
2009 |
Jan
(3) |
Feb
(2) |
Mar
(3) |
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
2010 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: <mik...@us...> - 2008-08-08 21:15:08
|
Revision: 832 http://omc.svn.sourceforge.net/omc/?rev=832&view=rev Author: mike-brasher Date: 2008-08-08 21:15:12 +0000 (Fri, 08 Aug 2008) Log Message: ----------- New .reg files. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/register.sh cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/register.sh cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/register.sh cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/register.sh cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/mof/register.sh Added Paths: ----------- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/linux-boot-control-profile.reg cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.reg cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/linux-fan-profile.reg cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/linux-power-supply-profile.reg cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/mof/linux-ssh-service-profile.reg Added: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/linux-boot-control-profile.reg =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/linux-boot-control-profile.reg (rev 0) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/linux-boot-control-profile.reg 2008-08-08 21:15:12 UTC (rev 832) @@ -0,0 +1,60 @@ +[Linux_BootService] + provider: Linux_BootService + location: linux_bootctrlprovider + type: instance method + namespace: root/cimv2 +# +[Linux_BootConfigSetting] + provider: Linux_BootConfigSetting + location: linux_bootctrlprovider + type: instance method + namespace: root/cimv2 +# +[Linux_BootElementConformsToProfile] + provider: Linux_BootElementConformsToProfile + location: linux_bootctrlprovider + type: instance association + namespace: root/cimv2 root/interop +# +[Linux_BootElementSettingData] + provider: Linux_BootElementSettingData + location: linux_bootctrlprovider + type: instance association + namespace: root/cimv2 +# +[Linux_BootHostedService] + provider: Linux_BootHostedService + location: linux_bootctrlprovider + type: instance association + namespace: root/cimv2 +# +[Linux_BootOrderedComponent] + provider: Linux_BootOrderedComponent + location: linux_bootctrlprovider + type: instance association + namespace: root/cimv2 +# +[Linux_BootReferencedProfile] + provider: Linux_BootReferencedProfile + location: linux_bootctrlprovider + type: instance association + namespace: root/cimv2 root/interop +# +[Linux_BootRegisteredProfile] + provider: Linux_BootRegisteredProfile + location: linux_bootctrlprovider + type: instance method + namespace: root/cimv2 root/interop +# +[Linux_BootServiceAffectsElement] + provider: Linux_BootServiceAffectsElement + location: linux_bootctrlprovider + type: instance association + namespace: root/cimv2 +# +[Linux_GrubBootSourceSetting] + provider: Linux_GrubBootSourceSetting + location: linux_bootctrlprovider + type: instance method + namespace: root/cimv2 +# Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/register.sh =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/register.sh 2008-08-08 17:05:40 UTC (rev 831) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/register.sh 2008-08-08 21:15:12 UTC (rev 832) @@ -1,9 +1,14 @@ #!/bin/sh -BASE=linux-boot-control-profile -TARGET=../src/.libs/liblinux_bootctrlprovider.so -MOFS=/usr/var/lib/sfcb/stage/mofs -konkretreg $TARGET > $BASE.registration -cp $BASE-interop.mof $MOFS/root/interop -cp $BASE-interop.mof $MOFS/root/cimv2 -provider-register.sh -r $BASE.registration -m $BASE.mof -cp $TARGET /usr/lib64/ +STAGE=/usr/var/lib/sfcb/stage +BASE=`ls linux*profile.mof | sed 's/.mof//g'` +LIB=`ls ../src/.libs/liblinux*provider.so` +konkretreg $LIB > $BASE.reg +konkretreg -r $LIB > $BASE.registration +cp $BASE.reg $STAGE/regs +cp $BASE.mof $STAGE/mofs/root/cimv2 +cp $BASE-interop.mof $STAGE/mofs/root/cimv2 +cp $BASE-interop.mof $STAGE/mofs/root/interop +cp $LIB /usr/lib64/ +sfcbrepos>/dev/null<<EOF +yes +EOF Added: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.reg =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.reg (rev 0) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.reg 2008-08-08 21:15:12 UTC (rev 832) @@ -0,0 +1,72 @@ +[Linux_DeviceSAPImplementationEthernetPort] + provider: Linux_DeviceSAPImplementationEthernetPort + location: linux_ethportprovider + type: instance association + namespace: root/cimv2 +# +[Linux_ElementCapabilitiesLANEndpoint] + provider: Linux_ElementCapabilitiesLANEndpoint + location: linux_ethportprovider + type: instance association + namespace: root/cimv2 +# +[Linux_ElementCapabilitiesEthernetPort] + provider: Linux_ElementCapabilitiesEthernetPort + location: linux_ethportprovider + type: instance association + namespace: root/cimv2 +# +[Linux_ElementConformsToProfileEthernetPort] + provider: Linux_ElementConformsToProfileEthernetPort + location: linux_ethportprovider + type: instance association + namespace: root/cimv2 root/interop +# +[Linux_EnabledLogicalElementCapabilitiesLANEndpoint] + provider: Linux_EnabledLogicalElementCapabilitiesLANEndpoint + location: linux_ethportprovider + type: instance method + namespace: root/cimv2 +# +[Linux_EnabledLogicalElementCapabilitiesEthernetPort] + provider: Linux_EnabledLogicalElementCapabilitiesEthernetPort + location: linux_ethportprovider + type: instance method + namespace: root/cimv2 +# +[Linux_EthernetPort] + provider: Linux_EthernetPort + location: linux_ethportprovider + type: instance method + namespace: root/cimv2 +# +[Linux_HostedAccessPointEthernetPort] + provider: Linux_HostedAccessPointEthernetPort + location: linux_ethportprovider + type: instance association + namespace: root/cimv2 +# +[Linux_LANEndpoint] + provider: Linux_LANEndpoint + location: linux_ethportprovider + type: instance method + namespace: root/cimv2 +# +[Linux_ReferencedProfileEthernetPort] + provider: Linux_ReferencedProfileEthernetPort + location: linux_ethportprovider + type: instance association + namespace: root/cimv2 root/interop +# +[Linux_RegisteredProfileEthernetPort] + provider: Linux_RegisteredProfileEthernetPort + location: linux_ethportprovider + type: instance method + namespace: root/cimv2 root/interop +# +[Linux_SystemDeviceEthernetPort] + provider: Linux_SystemDeviceEthernetPort + location: linux_ethportprovider + type: instance association + namespace: root/cimv2 +# Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/register.sh =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/register.sh 2008-08-08 17:05:40 UTC (rev 831) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/register.sh 2008-08-08 21:15:12 UTC (rev 832) @@ -1,9 +1,14 @@ #!/bin/sh -BASE=linux-ethernet-port-profile -TARGET=../src/.libs/liblinux_ethportprovider.so -MOFS=/usr/var/lib/sfcb/stage/mofs -cp $BASE-interop.mof $MOFS/root/interop -cp $BASE-interop.mof $MOFS/root/cimv2 -konkretreg $TARGET > $BASE.registration -provider-register.sh -r $BASE.registration -m $BASE.mof -cp $TARGET /usr/lib64/ +STAGE=/usr/var/lib/sfcb/stage +BASE=`ls linux*profile.mof | sed 's/.mof//g'` +LIB=`ls ../src/.libs/liblinux*provider.so` +konkretreg $LIB > $BASE.reg +konkretreg -r $LIB > $BASE.registration +cp $BASE.reg $STAGE/regs +cp $BASE.mof $STAGE/mofs/root/cimv2 +cp $BASE-interop.mof $STAGE/mofs/root/cimv2 +cp $BASE-interop.mof $STAGE/mofs/root/interop +cp $LIB /usr/lib64/ +sfcbrepos>/dev/null<<EOF +yes +EOF Added: cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/linux-fan-profile.reg =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/linux-fan-profile.reg (rev 0) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/linux-fan-profile.reg 2008-08-08 21:15:12 UTC (rev 832) @@ -0,0 +1,60 @@ +[Linux_FanElementConformsToProfile] + provider: Linux_FanElementConformsToProfile + location: linux_fanprovider + type: instance association + namespace: root/cimv2 root/interop +# +[Linux_Fan] + provider: Linux_Fan + location: linux_fanprovider + type: instance method + namespace: root/cimv2 +# +[Linux_FanHostedCollection] + provider: Linux_FanHostedCollection + location: linux_fanprovider + type: instance association + namespace: root/cimv2 +# +[Linux_FanIsSpare] + provider: Linux_FanIsSpare + location: linux_fanprovider + type: instance association + namespace: root/cimv2 +# +[Linux_FanMemberOfCollection] + provider: Linux_FanMemberOfCollection + location: linux_fanprovider + type: instance association + namespace: root/cimv2 +# +[Linux_FanOwningCollectionElement] + provider: Linux_FanOwningCollectionElement + location: linux_fanprovider + type: instance association + namespace: root/cimv2 +# +[Linux_FanRedundancySet] + provider: Linux_FanRedundancySet + location: linux_fanprovider + type: instance method + namespace: root/cimv2 +# +[Linux_FanReferencedProfile] + provider: Linux_FanReferencedProfile + location: linux_fanprovider + type: instance association + namespace: root/cimv2 root/interop +# +[Linux_FanRegisteredProfile] + provider: Linux_FanRegisteredProfile + location: linux_fanprovider + type: instance method + namespace: root/cimv2 root/interop +# +[Linux_FanSystemDevice] + provider: Linux_FanSystemDevice + location: linux_fanprovider + type: instance association + namespace: root/cimv2 +# Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/register.sh =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/register.sh 2008-08-08 17:05:40 UTC (rev 831) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/register.sh 2008-08-08 21:15:12 UTC (rev 832) @@ -1,9 +1,14 @@ #!/bin/sh -TARGET=../src/.libs/liblinux_fanprovider.so.1.0.0 -BASE=linux-fan-profile -MOFS=/usr/var/lib/sfcb/stage/mofs -konkretreg $TARGET > linux-fan-profile.registration -cp $TARGET /usr/lib64/liblinux_fanprovider.so -cp $BASE-interop.mof $MOFS/root/interop -cp $BASE-interop.mof $MOFS/root/cimv2 -provider-register.sh -r linux-fan-profile.registration -m linux-fan-profile.mof +STAGE=/usr/var/lib/sfcb/stage +BASE=`ls linux*profile.mof | sed 's/.mof//g'` +LIB=`ls ../src/.libs/liblinux*provider.so` +konkretreg $LIB > $BASE.reg +konkretreg -r $LIB > $BASE.registration +cp $BASE.reg $STAGE/regs +cp $BASE.mof $STAGE/mofs/root/cimv2 +cp $BASE-interop.mof $STAGE/mofs/root/cimv2 +cp $BASE-interop.mof $STAGE/mofs/root/interop +cp $LIB /usr/lib64/ +sfcbrepos>/dev/null<<EOF +yes +EOF Added: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/linux-power-supply-profile.reg =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/linux-power-supply-profile.reg (rev 0) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/linux-power-supply-profile.reg 2008-08-08 21:15:12 UTC (rev 832) @@ -0,0 +1,60 @@ +[Linux_PowerElementConformsToProfile] + provider: Linux_PowerElementConformsToProfile + location: linux_powersupplyprovider + type: instance association + namespace: root/cimv2 root/interop +# +[Linux_PowerHostedCollection] + provider: Linux_PowerHostedCollection + location: linux_powersupplyprovider + type: instance association + namespace: root/cimv2 +# +[Linux_PowerIsSpare] + provider: Linux_PowerIsSpare + location: linux_powersupplyprovider + type: instance association + namespace: root/cimv2 +# +[Linux_PowerMemberOfCollection] + provider: Linux_PowerMemberOfCollection + location: linux_powersupplyprovider + type: instance association + namespace: root/cimv2 +# +[Linux_PowerOwningCollectionElement] + provider: Linux_PowerOwningCollectionElement + location: linux_powersupplyprovider + type: instance association + namespace: root/cimv2 +# +[Linux_PowerSupply] + provider: Linux_PowerSupply + location: linux_powersupplyprovider + type: instance method + namespace: root/cimv2 +# +[Linux_PowerRedundancySet] + provider: Linux_PowerRedundancySet + location: linux_powersupplyprovider + type: instance method + namespace: root/cimv2 +# +[Linux_PowerReferencedProfile] + provider: Linux_PowerReferencedProfile + location: linux_powersupplyprovider + type: instance association + namespace: root/cimv2 root/cimv2 +# +[Linux_PowerRegisteredProfile] + provider: Linux_PowerRegisteredProfile + location: linux_powersupplyprovider + type: instance method + namespace: root/cimv2 root/interop +# +[Linux_PowerSystemDevice] + provider: Linux_PowerSystemDevice + location: linux_powersupplyprovider + type: instance association + namespace: root/cimv2 +# Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/register.sh =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/register.sh 2008-08-08 17:05:40 UTC (rev 831) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/register.sh 2008-08-08 21:15:12 UTC (rev 832) @@ -1,9 +1,14 @@ #!/bin/sh -BASE=linux-power-supply-profile -TARGET=../src/.libs/liblinux_powersupplyprovider.so -MOFS=/usr/var/lib/sfcb/stage/mofs -konkretreg $TARGET > $BASE.registration -cp $BASE-interop.mof $MOFS/root/interop -cp $BASE-interop.mof $MOFS/root/cimv2 -cp $TARGET /usr/lib64/ -provider-register.sh -r $BASE.registration -m $BASE.mof +STAGE=/usr/var/lib/sfcb/stage +BASE=`ls linux*profile.mof | sed 's/.mof//g'` +LIB=`ls ../src/.libs/liblinux*provider.so` +konkretreg $LIB > $BASE.reg +konkretreg -r $LIB > $BASE.registration +cp $BASE.reg $STAGE/regs +cp $BASE.mof $STAGE/mofs/root/cimv2 +cp $BASE-interop.mof $STAGE/mofs/root/cimv2 +cp $BASE-interop.mof $STAGE/mofs/root/interop +cp $LIB /usr/lib64/ +sfcbrepos>/dev/null<<EOF +yes +EOF Added: cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/mof/linux-ssh-service-profile.reg =================================================================== --- cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/mof/linux-ssh-service-profile.reg (rev 0) +++ cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/mof/linux-ssh-service-profile.reg 2008-08-08 21:15:12 UTC (rev 832) @@ -0,0 +1,60 @@ +[Linux_SSHCapabilities] + provider: Linux_SSHCapabilities + location: linux_sshserviceprovider + type: instance method + namespace: root/cimv2 +# +[Linux_SSHElementCapabilities] + provider: Linux_SSHElementCapabilities + location: linux_sshserviceprovider + type: instance association + namespace: root/cimv2 +# +[Linux_SSHElementConformsToProfile] + provider: Linux_SSHElementConformsToProfile + location: linux_sshserviceprovider + type: instance association + namespace: root/cimv2 root/interop +# +[Linux_SSHHostedAccessPoint] + provider: Linux_SSHHostedAccessPoint + location: linux_sshserviceprovider + type: instance association + namespace: root/cimv2 +# +[Linux_SSHHostedService] + provider: Linux_SSHHostedService + location: linux_sshserviceprovider + type: instance association + namespace: root/cimv2 +# +[Linux_SSHProtocolEndpoint] + provider: Linux_SSHProtocolEndpoint + location: linux_sshserviceprovider + type: instance method + namespace: root/cimv2 +# +[Linux_SSHProtocolService] + provider: Linux_SSHProtocolService + location: linux_sshserviceprovider + type: instance method + namespace: root/cimv2 +# +[Linux_SSHProvidesEndpoint] + provider: Linux_SSHProvidesEndpoint + location: linux_sshserviceprovider + type: instance association + namespace: root/cimv2 +# +[Linux_SSHReferencedProfile] + provider: Linux_SSHReferencedProfile + location: linux_sshserviceprovider + type: instance association + namespace: root/cimv2 root/interop +# +[Linux_SSHRegisteredProfile] + provider: Linux_SSHRegisteredProfile + location: linux_sshserviceprovider + type: instance method + namespace: root/cimv2 root/interop +# Modified: cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/mof/register.sh =================================================================== --- cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/mof/register.sh 2008-08-08 17:05:40 UTC (rev 831) +++ cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/mof/register.sh 2008-08-08 21:15:12 UTC (rev 832) @@ -1,9 +1,14 @@ #!/bin/sh -TARGET=../src/.libs/liblinux_sshserviceprovider.so -MOFS=/usr/var/lib/sfcb/stage/mofs -BASE=linux-ssh-service-profile -cp $BASE-interop.mof $MOFS/root/interop -cp $BASE-interop.mof $MOFS/root/cimv2 -cp $TARGET /usr/lib64/ -konkretreg $TARGET > linux-ssh-service-profile.registration -provider-register.sh -r linux-ssh-service-profile.registration -m linux-ssh-service-profile.mof +STAGE=/usr/var/lib/sfcb/stage +BASE=`ls linux*profile.mof | sed 's/.mof//g'` +LIB=`ls ../src/.libs/liblinux*provider.so` +konkretreg $LIB > $BASE.reg +konkretreg -r $LIB > $BASE.registration +cp $BASE.reg $STAGE/regs +cp $BASE.mof $STAGE/mofs/root/cimv2 +cp $BASE-interop.mof $STAGE/mofs/root/cimv2 +cp $BASE-interop.mof $STAGE/mofs/root/interop +cp $LIB /usr/lib64/ +sfcbrepos>/dev/null<<EOF +yes +EOF This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-08 17:05:31
|
Revision: 831 http://omc.svn.sourceforge.net/omc/?rev=831&view=rev Author: mike-brasher Date: 2008-08-08 17:05:40 +0000 (Fri, 08 Aug 2008) Log Message: ----------- New script to auto-generate ProviderList.txt. Updated ProviderList.txt. Modified Paths: -------------- cmpiprofiles/test/trunk/ProviderList.txt Added Paths: ----------- cmpiprofiles/test/trunk/GenProviderList.sh Added: cmpiprofiles/test/trunk/GenProviderList.sh =================================================================== --- cmpiprofiles/test/trunk/GenProviderList.sh (rev 0) +++ cmpiprofiles/test/trunk/GenProviderList.sh 2008-08-08 17:05:40 UTC (rev 831) @@ -0,0 +1,20 @@ +#!/bin/sh +##============================================================================= +## +## Generate ProviderList.txt from meta-information in provider libraries using +## konkretreg command-line tool. +## +##============================================================================= + +libs=`ls /usr/lib64/liblinux_*provider.so` +fn=ProviderList.txt + +rm -rf $fn +echo "Linux_ComputerSystem" >> $fn +echo "" >> $fn + +for i in $libs +do + konkretreg $i | sed 's/[ \t].*//g' >> $fn + echo "" >> $fn +done Property changes on: cmpiprofiles/test/trunk/GenProviderList.sh ___________________________________________________________________ Added: svn:executable + * Modified: cmpiprofiles/test/trunk/ProviderList.txt =================================================================== --- cmpiprofiles/test/trunk/ProviderList.txt 2008-08-08 00:08:00 UTC (rev 830) +++ cmpiprofiles/test/trunk/ProviderList.txt 2008-08-08 17:05:40 UTC (rev 831) @@ -1,58 +1,59 @@ Linux_ComputerSystem -Linux_Fan -Linux_FanSystemDevice -Linux_FanRegisteredProfile -Linux_FanElementConformsToProfile -Linux_FanReferencedProfile -Linux_FanRedundancySet -Linux_FanIsSpare -Linux_FanMemberOfCollection -Linux_FanHostedCollection -Linux_FanOwningCollectionElement +Linux_BootService +Linux_BootConfigSetting +Linux_BootElementConformsToProfile +Linux_BootElementSettingData +Linux_BootHostedService +Linux_BootOrderedComponent +Linux_BootReferencedProfile +Linux_BootRegisteredProfile +Linux_BootServiceAffectsElement +Linux_GrubBootSourceSetting -Linux_EthernetPort -Linux_LANEndpoint Linux_DeviceSAPImplementationEthernetPort -Linux_HostedAccessPointEthernetPort -Linux_SystemDeviceEthernetPort -Linux_EnabledLogicalElementCapabilitiesEthernetPort +Linux_ElementCapabilitiesLANEndpoint Linux_ElementCapabilitiesEthernetPort +Linux_ElementConformsToProfileEthernetPort Linux_EnabledLogicalElementCapabilitiesLANEndpoint -Linux_ElementCapabilitiesLANEndpoint +Linux_EnabledLogicalElementCapabilitiesEthernetPort +Linux_EthernetPort +Linux_HostedAccessPointEthernetPort +Linux_LANEndpoint Linux_ReferencedProfileEthernetPort -Linux_ElementConformsToProfileEthernetPort Linux_RegisteredProfileEthernetPort +Linux_SystemDeviceEthernetPort -Linux_SSHProtocolService -Linux_SSHCapabilities -Linux_SSHElementCapabilities -Linux_SSHProtocolEndpoint -Linux_SSHProvidesEndpoint -Linux_SSHHostedService -Linux_SSHHostedAccessPoint -Linux_SSHRegisteredProfile -Linux_SSHElementConformsToProfile -Linux_SSHReferencedProfile +Linux_FanElementConformsToProfile +Linux_Fan +Linux_FanHostedCollection +Linux_FanIsSpare +Linux_FanMemberOfCollection +Linux_FanOwningCollectionElement +Linux_FanRedundancySet +Linux_FanReferencedProfile +Linux_FanRegisteredProfile +Linux_FanSystemDevice -Linux_PowerSupply -Linux_PowerSystemDevice -Linux_PowerRegisteredProfile -Linux_PowerRedundancySet +Linux_PowerElementConformsToProfile Linux_PowerHostedCollection Linux_PowerIsSpare Linux_PowerMemberOfCollection Linux_PowerOwningCollectionElement -Linux_PowerElementConformsToProfile +Linux_PowerSupply +Linux_PowerRedundancySet Linux_PowerReferencedProfile +Linux_PowerRegisteredProfile +Linux_PowerSystemDevice -Linux_BootService -Linux_BootConfigSetting -Linux_GrubBootSourceSetting -Linux_BootOrderedComponent -Linux_BootHostedService -Linux_BootServiceAffectsElement -Linux_BootElementSettingData -Linux_BootRegisteredProfile -Linux_BootElementConformsToProfile -Linux_BootReferencedProfile +Linux_SSHCapabilities +Linux_SSHElementCapabilities +Linux_SSHElementConformsToProfile +Linux_SSHHostedAccessPoint +Linux_SSHHostedService +Linux_SSHProtocolEndpoint +Linux_SSHProtocolService +Linux_SSHProvidesEndpoint +Linux_SSHReferencedProfile +Linux_SSHRegisteredProfile + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-08 00:07:52
|
Revision: 830 http://omc.svn.sourceforge.net/omc/?rev=830&view=rev Author: mike-brasher Date: 2008-08-08 00:08:00 +0000 (Fri, 08 Aug 2008) Log Message: ----------- Regenerate classes from mof. Register for two namespaces. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/mof/linux-ssh-service-profile.registration cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/mof/register.sh cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_ConcreteJob.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_IPProtocolEndpoint.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_ManagedElement.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_RegisteredProfile.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_TCPProtocolEndpoint.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/Capabilities.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/ComputerSystem.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/ElementCapabilities.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/ElementConformsToProfile.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/ElementConformsToProfileProvider.c cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/HostedAccessPoint.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/HostedService.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/ProtocolEndpoint.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/ProtocolService.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/ProvidesEndpoint.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/ReferencedProfile.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/ReferencedProfileProvider.c cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/RegisteredProfile.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/RegisteredProfileProvider.c Added Paths: ----------- cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_Capabilities.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_ComputerSystem.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_Dependency.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_ElementCapabilities.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_ElementConformsToProfile.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_EnabledLogicalElement.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_EnabledLogicalElementCapabilities.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_HostedAccessPoint.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_HostedDependency.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_HostedService.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_Job.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_LogicalElement.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_ManagedSystemElement.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_ProtocolEndpoint.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_ProtocolService.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_ProtocolServiceCapabilities.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_ProvidesEndpoint.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_ReferencedProfile.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_SSHCapabilities.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_SSHProtocolEndpoint.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_Service.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_ServiceAccessBySAP.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_ServiceAccessPoint.h cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_System.h Modified: cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/mof/linux-ssh-service-profile.registration =================================================================== --- cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/mof/linux-ssh-service-profile.registration 2008-08-07 23:57:03 UTC (rev 829) +++ cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/mof/linux-ssh-service-profile.registration 2008-08-08 00:08:00 UTC (rev 830) @@ -1,10 +1,10 @@ Linux_SSHCapabilities root/cimv2 Linux_SSHCapabilities linux_sshserviceprovider instance method Linux_SSHElementCapabilities root/cimv2 Linux_SSHElementCapabilities linux_sshserviceprovider instance association -Linux_SSHElementConformsToProfile root/interop Linux_SSHElementConformsToProfile linux_sshserviceprovider instance association +Linux_SSHElementConformsToProfile root/cimv2\ root/interop Linux_SSHElementConformsToProfile linux_sshserviceprovider instance association Linux_SSHHostedAccessPoint root/cimv2 Linux_SSHHostedAccessPoint linux_sshserviceprovider instance association Linux_SSHHostedService root/cimv2 Linux_SSHHostedService linux_sshserviceprovider instance association Linux_SSHProtocolEndpoint root/cimv2 Linux_SSHProtocolEndpoint linux_sshserviceprovider instance method Linux_SSHProtocolService root/cimv2 Linux_SSHProtocolService linux_sshserviceprovider instance method Linux_SSHProvidesEndpoint root/cimv2 Linux_SSHProvidesEndpoint linux_sshserviceprovider instance association -Linux_SSHReferencedProfile root/interop Linux_SSHReferencedProfile linux_sshserviceprovider instance association -Linux_SSHRegisteredProfile root/interop Linux_SSHRegisteredProfile linux_sshserviceprovider instance method +Linux_SSHReferencedProfile root/cimv2\ root/interop Linux_SSHReferencedProfile linux_sshserviceprovider instance association +Linux_SSHRegisteredProfile root/cimv2\ root/interop Linux_SSHRegisteredProfile linux_sshserviceprovider instance method Modified: cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/mof/register.sh =================================================================== --- cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/mof/register.sh 2008-08-07 23:57:03 UTC (rev 829) +++ cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/mof/register.sh 2008-08-08 00:08:00 UTC (rev 830) @@ -1,6 +1,9 @@ #!/bin/sh TARGET=../src/.libs/liblinux_sshserviceprovider.so +MOFS=/usr/var/lib/sfcb/stage/mofs +BASE=linux-ssh-service-profile +cp $BASE-interop.mof $MOFS/root/interop +cp $BASE-interop.mof $MOFS/root/cimv2 +cp $TARGET /usr/lib64/ konkretreg $TARGET > linux-ssh-service-profile.registration provider-register.sh -r linux-ssh-service-profile.registration -m linux-ssh-service-profile.mof -cp linux-ssh-service-profile-interop.mof /usr/var/lib/sfcb/stage/mofs/root/interop -cp $TARGET /usr/lib64/ Added: cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_Capabilities.h =================================================================== --- cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_Capabilities.h (rev 0) +++ cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_Capabilities.h 2008-08-08 00:08:00 UTC (rev 830) @@ -0,0 +1,523 @@ +/* +**============================================================================== +** +** CAUTION: This file generated by KonkretCMPI. Please do not edit. +** +**============================================================================== +*/ + +#ifndef _konkrete_CIM_Capabilities_h +#define _konkrete_CIM_Capabilities_h + +#include <konkret/konkret.h> + +/* +**============================================================================== +** +** struct CIM_CapabilitiesRef +** +**============================================================================== +*/ + +/* classname=CIM_Capabilities */ +typedef struct _CIM_CapabilitiesRef +{ + KBase __base; + /* CIM_ManagedElement features */ + /* CIM_Capabilities features */ + const KString InstanceID; +} +CIM_CapabilitiesRef; + +static const unsigned char __CIM_CapabilitiesRef_sig[] = +{ + 0x10,0x43,0x49,0x4d,0x5f,0x43,0x61,0x70,0x61,0x62,0x69,0x6c,0x69,0x74,0x69, + 0x65,0x73,0x00,0x01,0x4c,0x0a,0x49,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x49, + 0x44,0x00, +}; + +KINLINE void CIM_CapabilitiesRef_Init( + CIM_CapabilitiesRef* self, + const CMPIBroker* cb, + const char* ns) +{ + const unsigned char* sig = __CIM_CapabilitiesRef_sig; + KBase_Init(&self->__base, cb, sizeof(*self), sig, ns); +} + +KINLINE CMPIStatus CIM_CapabilitiesRef_InitFromInstance( + CIM_CapabilitiesRef* self, + const CMPIBroker* cb, + const CMPIInstance* x) +{ + CIM_CapabilitiesRef_Init(self, cb, NULL); + return KBase_FromInstance(&self->__base, x); +} + +KINLINE CMPIStatus CIM_CapabilitiesRef_InitFromObjectPath( + CIM_CapabilitiesRef* self, + const CMPIBroker* cb, + const CMPIObjectPath* x) +{ + CIM_CapabilitiesRef_Init(self, cb, NULL); + return KBase_FromObjectPath(&self->__base, x); +} + +KINLINE void CIM_CapabilitiesRef_Print( + const CIM_CapabilitiesRef* self, + FILE* os) +{ + KBase_Print(os, &self->__base, 'r'); +} + +KINLINE CMPIInstance* CIM_CapabilitiesRef_ToInstance( + const CIM_CapabilitiesRef* self, + CMPIStatus* status) +{ + return KBase_ToInstance(&self->__base, status); +} + +KINLINE CMPIObjectPath* CIM_CapabilitiesRef_ToObjectPath( + const CIM_CapabilitiesRef* self, + CMPIStatus* status) +{ + return KBase_ToObjectPath(&self->__base, status); +} + +KINLINE const char* CIM_CapabilitiesRef_NameSpace( + CIM_CapabilitiesRef* self) +{ + if (self && self->__base.magic == KMAGIC) + return self->__base.ns ? KChars(self->__base.ns) : NULL; + return NULL; +} + +KINLINE void CIM_CapabilitiesRef_SetString_InstanceID( + CIM_CapabilitiesRef* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->InstanceID; + KString_SetString(field, x); + } +} + +KINLINE void CIM_CapabilitiesRef_Set_InstanceID( + CIM_CapabilitiesRef* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->InstanceID; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_CapabilitiesRef_Null_InstanceID( + CIM_CapabilitiesRef* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->InstanceID; + KString_Null(field); + } +} + +KINLINE void CIM_CapabilitiesRef_Clr_InstanceID( + CIM_CapabilitiesRef* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->InstanceID; + KString_Clr(field); + } +} + +/* +**============================================================================== +** +** struct CIM_Capabilities +** +**============================================================================== +*/ + +/* classname=CIM_Capabilities */ +typedef struct _CIM_Capabilities +{ + KBase __base; + /* CIM_ManagedElement features */ + const KString Caption; + const KString Description; + const KString ElementName; + /* CIM_Capabilities features */ + const KString InstanceID; +} +CIM_Capabilities; + +static const unsigned char __CIM_Capabilities_sig[] = +{ + 0x10,0x43,0x49,0x4d,0x5f,0x43,0x61,0x70,0x61,0x62,0x69,0x6c,0x69,0x74,0x69, + 0x65,0x73,0x00,0x04,0x0c,0x07,0x43,0x61,0x70,0x74,0x69,0x6f,0x6e,0x00,0x0c, + 0x0b,0x44,0x65,0x73,0x63,0x72,0x69,0x70,0x74,0x69,0x6f,0x6e,0x00,0x0c,0x0b, + 0x45,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x4e,0x61,0x6d,0x65,0x00,0x4c,0x0a,0x49, + 0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x49,0x44,0x00, +}; + +KINLINE void CIM_Capabilities_Init( + CIM_Capabilities* self, + const CMPIBroker* cb, + const char* ns) +{ + const unsigned char* sig = __CIM_Capabilities_sig; + KBase_Init(&self->__base, cb, sizeof(*self), sig, ns); +} + +KINLINE CMPIStatus CIM_Capabilities_InitFromInstance( + CIM_Capabilities* self, + const CMPIBroker* cb, + const CMPIInstance* x) +{ + CIM_Capabilities_Init(self, cb, NULL); + return KBase_FromInstance(&self->__base, x); +} + +KINLINE CMPIStatus CIM_Capabilities_InitFromObjectPath( + CIM_Capabilities* self, + const CMPIBroker* cb, + const CMPIObjectPath* x) +{ + CIM_Capabilities_Init(self, cb, NULL); + return KBase_FromObjectPath(&self->__base, x); +} + +KINLINE void CIM_Capabilities_Print( + const CIM_Capabilities* self, + FILE* os) +{ + KBase_Print(os, &self->__base, 'i'); +} + +KINLINE CMPIInstance* CIM_Capabilities_ToInstance( + const CIM_Capabilities* self, + CMPIStatus* status) +{ + return KBase_ToInstance(&self->__base, status); +} + +KINLINE CMPIObjectPath* CIM_Capabilities_ToObjectPath( + const CIM_Capabilities* self, + CMPIStatus* status) +{ + return KBase_ToObjectPath(&self->__base, status); +} + +KINLINE const char* CIM_Capabilities_NameSpace( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + return self->__base.ns ? KChars(self->__base.ns) : NULL; + return NULL; +} + +KINLINE void CIM_Capabilities_SetString_Caption( + CIM_Capabilities* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Caption; + KString_SetString(field, x); + } +} + +KINLINE void CIM_Capabilities_Set_Caption( + CIM_Capabilities* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Caption; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_Capabilities_Null_Caption( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Caption; + KString_Null(field); + } +} + +KINLINE void CIM_Capabilities_Clr_Caption( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Caption; + KString_Clr(field); + } +} + +KINLINE void CIM_Capabilities_SetString_Description( + CIM_Capabilities* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Description; + KString_SetString(field, x); + } +} + +KINLINE void CIM_Capabilities_Set_Description( + CIM_Capabilities* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Description; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_Capabilities_Null_Description( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Description; + KString_Null(field); + } +} + +KINLINE void CIM_Capabilities_Clr_Description( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Description; + KString_Clr(field); + } +} + +KINLINE void CIM_Capabilities_SetString_ElementName( + CIM_Capabilities* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->ElementName; + KString_SetString(field, x); + } +} + +KINLINE void CIM_Capabilities_Set_ElementName( + CIM_Capabilities* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->ElementName; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_Capabilities_Null_ElementName( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->ElementName; + KString_Null(field); + } +} + +KINLINE void CIM_Capabilities_Clr_ElementName( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->ElementName; + KString_Clr(field); + } +} + +KINLINE void CIM_Capabilities_SetString_InstanceID( + CIM_Capabilities* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->InstanceID; + KString_SetString(field, x); + } +} + +KINLINE void CIM_Capabilities_Set_InstanceID( + CIM_Capabilities* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->InstanceID; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_Capabilities_Null_InstanceID( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->InstanceID; + KString_Null(field); + } +} + +KINLINE void CIM_Capabilities_Clr_InstanceID( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->InstanceID; + KString_Clr(field); + } +} + +/* classname=CIM_Capabilities */ +typedef struct _CIM_Capabilities_CreateGoalSettings_Args +{ + KBase __base; + /* IN */ + KStringA TemplateGoalSettings; + /* IN OUT */ + KStringA SupportedGoalSettings; +} +CIM_Capabilities_CreateGoalSettings_Args; + +static const unsigned char __CIM_Capabilities_CreateGoalSettings_Args_sig[] = +{ + 0x12,0x43,0x72,0x65,0x61,0x74,0x65,0x47,0x6f,0x61,0x6c,0x53,0x65,0x74,0x74, + 0x69,0x6e,0x67,0x73,0x00,0x02,0xac,0x14,0x54,0x65,0x6d,0x70,0x6c,0x61,0x74, + 0x65,0x47,0x6f,0x61,0x6c,0x53,0x65,0x74,0x74,0x69,0x6e,0x67,0x73,0x00,0xbc, + 0x15,0x53,0x75,0x70,0x70,0x6f,0x72,0x74,0x65,0x64,0x47,0x6f,0x61,0x6c,0x53, + 0x65,0x74,0x74,0x69,0x6e,0x67,0x73,0x00, +}; + +KINLINE void CIM_Capabilities_CreateGoalSettings_Args_Init( + CIM_Capabilities_CreateGoalSettings_Args* self, + const CMPIBroker* cb) +{ + const unsigned char* sig = __CIM_Capabilities_CreateGoalSettings_Args_sig; + KBase_Init(&self->__base, cb, sizeof(*self), sig, NULL); +} + +KINLINE CMPIStatus CIM_Capabilities_CreateGoalSettings_Args_InitFromArgs( + CIM_Capabilities_CreateGoalSettings_Args* self, + const CMPIBroker* cb, + const CMPIArgs* x, + CMPIBoolean in, + CMPIBoolean out) +{ + CIM_Capabilities_CreateGoalSettings_Args_Init(self, cb); + return KBase_FromArgs(&self->__base, x, in, out); +} + +KINLINE CMPIArgs* CIM_Capabilities_CreateGoalSettings_Args_ToArgs( + const CIM_Capabilities_CreateGoalSettings_Args* self, + CMPIBoolean in, + CMPIBoolean out, + CMPIStatus* status) +{ + return KBase_ToArgs(&self->__base, in, out, status); +} + +KINLINE CMPIStatus CIM_Capabilities_CreateGoalSettings_Args_SetArgs( + const CIM_Capabilities_CreateGoalSettings_Args* self, + CMPIBoolean in, + CMPIBoolean out, + CMPIArgs* ca) +{ + return KBase_SetToArgs(&self->__base, in, out, ca); +} + +KINLINE void CIM_Capabilities_CreateGoalSettings_Args_Print( + const CIM_Capabilities_CreateGoalSettings_Args* self, + FILE* os) +{ + KBase_Print(os, &self->__base, 'a'); +} + +/* +**============================================================================== +** +** CIM_Capabilities methods +** +**============================================================================== +*/ + +KEXTERN KUint16 CIM_Capabilities_CreateGoalSettings( + const CMPIBroker* cb, + CMPIMethodMI* mi, + const CMPIContext* context, + const CIM_CapabilitiesRef* self, + const KStringA* TemplateGoalSettings, + KStringA* SupportedGoalSettings, + CMPIStatus* status); + +KINLINE CMPIStatus CIM_Capabilities_DispatchMethod( + const CMPIBroker* cb, + CMPIMethodMI* mi, + const CMPIContext* cc, + const CMPIResult* cr, + const CMPIObjectPath* cop, + const char* meth, + const CMPIArgs* in, + CMPIArgs* out) +{ + CIM_CapabilitiesRef self; + + KReturnIf(CIM_CapabilitiesRef_InitFromObjectPath(&self, cb, cop)); + + if (strcasecmp(meth, "CreateGoalSettings") == 0) + { + CMPIStatus st = KSTATUS_INIT; + CIM_Capabilities_CreateGoalSettings_Args args; + KUint16 r; + + KReturnIf(CIM_Capabilities_CreateGoalSettings_Args_InitFromArgs( + &args, cb, in, 1, 0)); + + r = CIM_Capabilities_CreateGoalSettings( + cb, + mi, + cc, + &self, + &args.TemplateGoalSettings, + &args.SupportedGoalSettings, + &st); + + if (!KOkay(st)) + return st; + + if (!r.exists) + KReturn(ERR_FAILED); + + KReturnIf(CIM_Capabilities_CreateGoalSettings_Args_SetArgs( + &args, 0, 1, out)); + KReturnUint16Data(cr, &r); + CMReturnDone(cr); + + KReturn(OK); + } + + KReturn(ERR_METHOD_NOT_FOUND); +} + +#define CIM_Capabilities_ClassName "CIM_Capabilities" + +#endif /* _konkrete_CIM_Capabilities_h */ Added: cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_ComputerSystem.h =================================================================== --- cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_ComputerSystem.h (rev 0) +++ cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CIM_ComputerSystem.h 2008-08-08 00:08:00 UTC (rev 830) @@ -0,0 +1,3063 @@ +/* +**============================================================================== +** +** CAUTION: This file generated by KonkretCMPI. Please do not edit. +** +**============================================================================== +*/ + +#ifndef _konkrete_CIM_ComputerSystem_h +#define _konkrete_CIM_ComputerSystem_h + +#include <konkret/konkret.h> +#include "CIM_ConcreteJob.h" + +/* +**============================================================================== +** +** struct CIM_ComputerSystemRef +** +**============================================================================== +*/ + +/* classname=CIM_ComputerSystem */ +typedef struct _CIM_ComputerSystemRef +{ + KBase __base; + /* CIM_ManagedElement features */ + /* CIM_ManagedSystemElement features */ + const KString Name; + /* CIM_LogicalElement features */ + /* CIM_EnabledLogicalElement features */ + /* CIM_System features */ + const KString CreationClassName; + /* CIM_ComputerSystem features */ +} +CIM_ComputerSystemRef; + +static const unsigned char __CIM_ComputerSystemRef_sig[] = +{ + 0x12,0x43,0x49,0x4d,0x5f,0x43,0x6f,0x6d,0x70,0x75,0x74,0x65,0x72,0x53,0x79, + 0x73,0x74,0x65,0x6d,0x00,0x02,0x4c,0x04,0x4e,0x61,0x6d,0x65,0x00,0x4c,0x11, + 0x43,0x72,0x65,0x61,0x74,0x69,0x6f,0x6e,0x43,0x6c,0x61,0x73,0x73,0x4e,0x61, + 0x6d,0x65,0x00, +}; + +KINLINE void CIM_ComputerSystemRef_Init( + CIM_ComputerSystemRef* self, + const CMPIBroker* cb, + const char* ns) +{ + const unsigned char* sig = __CIM_ComputerSystemRef_sig; + KBase_Init(&self->__base, cb, sizeof(*self), sig, ns); +} + +KINLINE CMPIStatus CIM_ComputerSystemRef_InitFromInstance( + CIM_ComputerSystemRef* self, + const CMPIBroker* cb, + const CMPIInstance* x) +{ + CIM_ComputerSystemRef_Init(self, cb, NULL); + return KBase_FromInstance(&self->__base, x); +} + +KINLINE CMPIStatus CIM_ComputerSystemRef_InitFromObjectPath( + CIM_ComputerSystemRef* self, + const CMPIBroker* cb, + const CMPIObjectPath* x) +{ + CIM_ComputerSystemRef_Init(self, cb, NULL); + return KBase_FromObjectPath(&self->__base, x); +} + +KINLINE void CIM_ComputerSystemRef_Print( + const CIM_ComputerSystemRef* self, + FILE* os) +{ + KBase_Print(os, &self->__base, 'r'); +} + +KINLINE CMPIInstance* CIM_ComputerSystemRef_ToInstance( + const CIM_ComputerSystemRef* self, + CMPIStatus* status) +{ + return KBase_ToInstance(&self->__base, status); +} + +KINLINE CMPIObjectPath* CIM_ComputerSystemRef_ToObjectPath( + const CIM_ComputerSystemRef* self, + CMPIStatus* status) +{ + return KBase_ToObjectPath(&self->__base, status); +} + +KINLINE const char* CIM_ComputerSystemRef_NameSpace( + CIM_ComputerSystemRef* self) +{ + if (self && self->__base.magic == KMAGIC) + return self->__base.ns ? KChars(self->__base.ns) : NULL; + return NULL; +} + +KINLINE void CIM_ComputerSystemRef_SetString_Name( + CIM_ComputerSystemRef* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Name; + KString_SetString(field, x); + } +} + +KINLINE void CIM_ComputerSystemRef_Set_Name( + CIM_ComputerSystemRef* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Name; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_ComputerSystemRef_Null_Name( + CIM_ComputerSystemRef* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Name; + KString_Null(field); + } +} + +KINLINE void CIM_ComputerSystemRef_Clr_Name( + CIM_ComputerSystemRef* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Name; + KString_Clr(field); + } +} + +KINLINE void CIM_ComputerSystemRef_SetString_CreationClassName( + CIM_ComputerSystemRef* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->CreationClassName; + KString_SetString(field, x); + } +} + +KINLINE void CIM_ComputerSystemRef_Set_CreationClassName( + CIM_ComputerSystemRef* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->CreationClassName; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_ComputerSystemRef_Null_CreationClassName( + CIM_ComputerSystemRef* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->CreationClassName; + KString_Null(field); + } +} + +KINLINE void CIM_ComputerSystemRef_Clr_CreationClassName( + CIM_ComputerSystemRef* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->CreationClassName; + KString_Clr(field); + } +} + +/* +**============================================================================== +** +** struct CIM_ComputerSystem +** +**============================================================================== +*/ + +/* classname=CIM_ComputerSystem */ +typedef struct _CIM_ComputerSystem +{ + KBase __base; + /* CIM_ManagedElement features */ + const KString Caption; + const KString Description; + const KString ElementName; + /* CIM_ManagedSystemElement features */ + const KDateTime InstallDate; + const KString Name; + const KUint16A OperationalStatus; + const KStringA StatusDescriptions; + const KString Status; + const KUint16 HealthState; + const KUint16 PrimaryStatus; + const KUint16 DetailedStatus; + const KUint16 OperatingStatus; + const KUint16 CommunicationStatus; + /* CIM_LogicalElement features */ + /* CIM_EnabledLogicalElement features */ + const KUint16 EnabledState; + const KString OtherEnabledState; + const KUint16 RequestedState; + const KUint16 EnabledDefault; + const KDateTime TimeOfLastStateChange; + const KUint16A AvailableRequestedStates; + const KUint16 TransitioningToState; + /* CIM_System features */ + const KString CreationClassName; + const KString NameFormat; + const KString PrimaryOwnerName; + const KString PrimaryOwnerContact; + const KStringA Roles; + const KStringA OtherIdentifyingInfo; + const KStringA IdentifyingDescriptions; + /* CIM_ComputerSystem features */ + const KUint16A Dedicated; + const KStringA OtherDedicatedDescriptions; + const KUint16 ResetCapability; + const KUint16A PowerManagementCapabilities; +} +CIM_ComputerSystem; + +static const unsigned char __CIM_ComputerSystem_sig[] = +{ + 0x12,0x43,0x49,0x4d,0x5f,0x43,0x6f,0x6d,0x70,0x75,0x74,0x65,0x72,0x53,0x79, + 0x73,0x74,0x65,0x6d,0x00,0x1f,0x0c,0x07,0x43,0x61,0x70,0x74,0x69,0x6f,0x6e, + 0x00,0x0c,0x0b,0x44,0x65,0x73,0x63,0x72,0x69,0x70,0x74,0x69,0x6f,0x6e,0x00, + 0x0c,0x0b,0x45,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x4e,0x61,0x6d,0x65,0x00,0x0d, + 0x0b,0x49,0x6e,0x73,0x74,0x61,0x6c,0x6c,0x44,0x61,0x74,0x65,0x00,0x4c,0x04, + 0x4e,0x61,0x6d,0x65,0x00,0x83,0x11,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f, + 0x6e,0x61,0x6c,0x53,0x74,0x61,0x74,0x75,0x73,0x00,0x8c,0x12,0x53,0x74,0x61, + 0x74,0x75,0x73,0x44,0x65,0x73,0x63,0x72,0x69,0x70,0x74,0x69,0x6f,0x6e,0x73, + 0x00,0x0c,0x06,0x53,0x74,0x61,0x74,0x75,0x73,0x00,0x03,0x0b,0x48,0x65,0x61, + 0x6c,0x74,0x68,0x53,0x74,0x61,0x74,0x65,0x00,0x03,0x0d,0x50,0x72,0x69,0x6d, + 0x61,0x72,0x79,0x53,0x74,0x61,0x74,0x75,0x73,0x00,0x03,0x0e,0x44,0x65,0x74, + 0x61,0x69,0x6c,0x65,0x64,0x53,0x74,0x61,0x74,0x75,0x73,0x00,0x03,0x0f,0x4f, + 0x70,0x65,0x72,0x61,0x74,0x69,0x6e,0x67,0x53,0x74,0x61,0x74,0x75,0x73,0x00, + 0x03,0x13,0x43,0x6f,0x6d,0x6d,0x75,0x6e,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e, + 0x53,0x74,0x61,0x74,0x75,0x73,0x00,0x03,0x0c,0x45,0x6e,0x61,0x62,0x6c,0x65, + 0x64,0x53,0x74,0x61,0x74,0x65,0x00,0x0c,0x11,0x4f,0x74,0x68,0x65,0x72,0x45, + 0x6e,0x61,0x62,0x6c,0x65,0x64,0x53,0x74,0x61,0x74,0x65,0x00,0x03,0x0e,0x52, + 0x65,0x71,0x75,0x65,0x73,0x74,0x65,0x64,0x53,0x74,0x61,0x74,0x65,0x00,0x03, + 0x0e,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x44,0x65,0x66,0x61,0x75,0x6c,0x74, + 0x00,0x0d,0x15,0x54,0x69,0x6d,0x65,0x4f,0x66,0x4c,0x61,0x73,0x74,0x53,0x74, + 0x61,0x74,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x00,0x83,0x18,0x41,0x76,0x61, + 0x69,0x6c,0x61,0x62,0x6c,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74,0x65,0x64, + 0x53,0x74,0x61,0x74,0x65,0x73,0x00,0x03,0x14,0x54,0x72,0x61,0x6e,0x73,0x69, + 0x74,0x69,0x6f,0x6e,0x69,0x6e,0x67,0x54,0x6f,0x53,0x74,0x61,0x74,0x65,0x00, + 0x4c,0x11,0x43,0x72,0x65,0x61,0x74,0x69,0x6f,0x6e,0x43,0x6c,0x61,0x73,0x73, + 0x4e,0x61,0x6d,0x65,0x00,0x0c,0x0a,0x4e,0x61,0x6d,0x65,0x46,0x6f,0x72,0x6d, + 0x61,0x74,0x00,0x0c,0x10,0x50,0x72,0x69,0x6d,0x61,0x72,0x79,0x4f,0x77,0x6e, + 0x65,0x72,0x4e,0x61,0x6d,0x65,0x00,0x0c,0x13,0x50,0x72,0x69,0x6d,0x61,0x72, + 0x79,0x4f,0x77,0x6e,0x65,0x72,0x43,0x6f,0x6e,0x74,0x61,0x63,0x74,0x00,0x8c, + 0x05,0x52,0x6f,0x6c,0x65,0x73,0x00,0x8c,0x14,0x4f,0x74,0x68,0x65,0x72,0x49, + 0x64,0x65,0x6e,0x74,0x69,0x66,0x79,0x69,0x6e,0x67,0x49,0x6e,0x66,0x6f,0x00, + 0x8c,0x17,0x49,0x64,0x65,0x6e,0x74,0x69,0x66,0x79,0x69,0x6e,0x67,0x44,0x65, + 0x73,0x63,0x72,0x69,0x70,0x74,0x69,0x6f,0x6e,0x73,0x00,0x83,0x09,0x44,0x65, + 0x64,0x69,0x63,0x61,0x74,0x65,0x64,0x00,0x8c,0x1a,0x4f,0x74,0x68,0x65,0x72, + 0x44,0x65,0x64,0x69,0x63,0x61,0x74,0x65,0x64,0x44,0x65,0x73,0x63,0x72,0x69, + 0x70,0x74,0x69,0x6f,0x6e,0x73,0x00,0x03,0x0f,0x52,0x65,0x73,0x65,0x74,0x43, + 0x61,0x70,0x61,0x62,0x69,0x6c,0x69,0x74,0x79,0x00,0x83,0x1b,0x50,0x6f,0x77, + 0x65,0x72,0x4d,0x61,0x6e,0x61,0x67,0x65,0x6d,0x65,0x6e,0x74,0x43,0x61,0x70, + 0x61,0x62,0x69,0x6c,0x69,0x74,0x69,0x65,0x73,0x00, +}; + +KINLINE void CIM_ComputerSystem_Init( + CIM_ComputerSystem* self, + const CMPIBroker* cb, + const char* ns) +{ + const unsigned char* sig = __CIM_ComputerSystem_sig; + KBase_Init(&self->__base, cb, sizeof(*self), sig, ns); +} + +KINLINE CMPIStatus CIM_ComputerSystem_InitFromInstance( + CIM_ComputerSystem* self, + const CMPIBroker* cb, + const CMPIInstance* x) +{ + CIM_ComputerSystem_Init(self, cb, NULL); + return KBase_FromInstance(&self->__base, x); +} + +KINLINE CMPIStatus CIM_ComputerSystem_InitFromObjectPath( + CIM_ComputerSystem* self, + const CMPIBroker* cb, + const CMPIObjectPath* x) +{ + CIM_ComputerSystem_Init(self, cb, NULL); + return KBase_FromObjectPath(&self->__base, x); +} + +KINLINE void CIM_ComputerSystem_Print( + const CIM_ComputerSystem* self, + FILE* os) +{ + KBase_Print(os, &self->__base, 'i'); +} + +KINLINE CMPIInstance* CIM_ComputerSystem_ToInstance( + const CIM_ComputerSystem* self, + CMPIStatus* status) +{ + return KBase_ToInstance(&self->__base, status); +} + +KINLINE CMPIObjectPath* CIM_ComputerSystem_ToObjectPath( + const CIM_ComputerSystem* self, + CMPIStatus* status) +{ + return KBase_ToObjectPath(&self->__base, status); +} + +KINLINE const char* CIM_ComputerSystem_NameSpace( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + return self->__base.ns ? KChars(self->__base.ns) : NULL; + return NULL; +} + +KINLINE void CIM_ComputerSystem_SetString_Caption( + CIM_ComputerSystem* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Caption; + KString_SetString(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Set_Caption( + CIM_ComputerSystem* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Caption; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_ComputerSystem_Null_Caption( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Caption; + KString_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_Caption( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Caption; + KString_Clr(field); + } +} + +KINLINE void CIM_ComputerSystem_SetString_Description( + CIM_ComputerSystem* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Description; + KString_SetString(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Set_Description( + CIM_ComputerSystem* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Description; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_ComputerSystem_Null_Description( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Description; + KString_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_Description( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Description; + KString_Clr(field); + } +} + +KINLINE void CIM_ComputerSystem_SetString_ElementName( + CIM_ComputerSystem* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->ElementName; + KString_SetString(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Set_ElementName( + CIM_ComputerSystem* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->ElementName; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_ComputerSystem_Null_ElementName( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->ElementName; + KString_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_ElementName( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->ElementName; + KString_Clr(field); + } +} + +KINLINE void CIM_ComputerSystem_Set_InstallDate( + CIM_ComputerSystem* self, + CMPIDateTime* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KDateTime* field = (KDateTime*)&self->InstallDate; + KDateTime_Set(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Null_InstallDate( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KDateTime* field = (KDateTime*)&self->InstallDate; + KDateTime_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_InstallDate( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KDateTime* field = (KDateTime*)&self->InstallDate; + KDateTime_Clr(field); + } +} + +KINLINE void CIM_ComputerSystem_SetString_Name( + CIM_ComputerSystem* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Name; + KString_SetString(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Set_Name( + CIM_ComputerSystem* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Name; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_ComputerSystem_Null_Name( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Name; + KString_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_Name( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Name; + KString_Clr(field); + } +} + +KINLINE CMPIBoolean CIM_ComputerSystem_Init_OperationalStatus( + CIM_ComputerSystem* self, + CMPICount count) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16A* field = (KUint16A*)&self->OperationalStatus; + return KUint16A_Init(field, self->__base.cb, count); + } + return 0; +} + +KINLINE void CIM_ComputerSystem_InitNull_OperationalStatus( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16A* field = (KUint16A*)&self->OperationalStatus; + KUint16A_InitNull(field); + } +} + +KINLINE CMPIBoolean CIM_ComputerSystem_Set_OperationalStatus( + CIM_ComputerSystem* self, + CMPICount i, + CMPIUint16 x) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16A* field = (KUint16A*)&self->OperationalStatus; + return KUint16A_Set(field, i, x); + } + return 0; +} + +KINLINE KUint16 CIM_ComputerSystem_Get_OperationalStatus( + CIM_ComputerSystem* self, + CMPICount i) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16A* field = (KUint16A*)&self->OperationalStatus; + return KUint16A_Get(field, i); + } + return KUint16A_Get(NULL, 0); +} + +KINLINE CMPIBoolean CIM_ComputerSystem_Null_OperationalStatus( + CIM_ComputerSystem* self, + CMPICount i) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16A* field = (KUint16A*)&self->OperationalStatus; + return KUint16A_Null(field, i); + } + return 0; +} + +KINLINE void CIM_ComputerSystem_Clr_OperationalStatus( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16A* field = (KUint16A*)&self->OperationalStatus; + KUint16A_Clr(field); + } +} + +typedef enum _CIM_ComputerSystem_OperationalStatus_Enum +{ + CIM_ComputerSystem_OperationalStatus_Unknown = 0, + CIM_ComputerSystem_OperationalStatus_Other = 1, + CIM_ComputerSystem_OperationalStatus_OK = 2, + CIM_ComputerSystem_OperationalStatus_Degraded = 3, + CIM_ComputerSystem_OperationalStatus_Stressed = 4, + CIM_ComputerSystem_OperationalStatus_Predictive_Failure = 5, + CIM_ComputerSystem_OperationalStatus_Error = 6, + CIM_ComputerSystem_OperationalStatus_Non_Recoverable_Error = 7, + CIM_ComputerSystem_OperationalStatus_Starting = 8, + CIM_ComputerSystem_OperationalStatus_Stopping = 9, + CIM_ComputerSystem_OperationalStatus_Stopped = 10, + CIM_ComputerSystem_OperationalStatus_In_Service = 11, + CIM_ComputerSystem_OperationalStatus_No_Contact = 12, + CIM_ComputerSystem_OperationalStatus_Lost_Communication = 13, + CIM_ComputerSystem_OperationalStatus_Aborted = 14, + CIM_ComputerSystem_OperationalStatus_Dormant = 15, + CIM_ComputerSystem_OperationalStatus_Supporting_Entity_in_Error = 16, + CIM_ComputerSystem_OperationalStatus_Completed = 17, + CIM_ComputerSystem_OperationalStatus_Power_Mode = 18, + CIM_ComputerSystem_OperationalStatus_DMTF_Reserved = 0, + CIM_ComputerSystem_OperationalStatus_Vendor_Reserved = 0, +} +CIM_ComputerSystem_OperationalStatus_Enum; + +/* "Unknown" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Unknown(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 0) + +/* "Other" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Other(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 1) + +/* "OK" */ +#define CIM_ComputerSystem_Set_OperationalStatus_OK(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 2) + +/* "Degraded" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Degraded(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 3) + +/* "Stressed" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Stressed(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 4) + +/* "Predictive Failure" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Predictive_Failure(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 5) + +/* "Error" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Error(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 6) + +/* "Non-Recoverable Error" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Non_Recoverable_Error(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 7) + +/* "Starting" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Starting(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 8) + +/* "Stopping" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Stopping(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 9) + +/* "Stopped" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Stopped(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 10) + +/* "In Service" */ +#define CIM_ComputerSystem_Set_OperationalStatus_In_Service(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 11) + +/* "No Contact" */ +#define CIM_ComputerSystem_Set_OperationalStatus_No_Contact(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 12) + +/* "Lost Communication" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Lost_Communication(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 13) + +/* "Aborted" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Aborted(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 14) + +/* "Dormant" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Dormant(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 15) + +/* "Supporting Entity in Error" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Supporting_Entity_in_Error(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 16) + +/* "Completed" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Completed(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 17) + +/* "Power Mode" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Power_Mode(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 18) + +/* "DMTF Reserved" */ +#define CIM_ComputerSystem_Set_OperationalStatus_DMTF_Reserved(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 0) + +/* "Vendor Reserved" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Vendor_Reserved(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 0) + +KINLINE CMPIBoolean CIM_ComputerSystem_Init_StatusDescriptions( + CIM_ComputerSystem* self, + CMPICount count) +{ + if (self && self->__base.magic == KMAGIC) + { + KStringA* field = (KStringA*)&self->StatusDescriptions; + return KStringA_Init(field, self->__base.cb, count); + } + return 0; +} + +KINLINE void CIM_ComputerSystem_InitNull_StatusDescriptions( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KStringA* field = (KStringA*)&self->StatusDescriptions; + KStringA_InitNull(field); + } +} + +KINLINE CMPIBoolean CIM_ComputerSystem_SetString_StatusDescriptions( + CIM_ComputerSystem* self, + CMPICount i, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KStringA* field = (KStringA*)&self->StatusDescriptions; + return KStringA_SetString(field, i, x); + } + return 0; +} + +KINLINE CMPIBoolean CIM_ComputerSystem_Set_StatusDescriptions( + CIM_ComputerSystem* self, + CMPICount i, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KStringA* field = (KStringA*)&self->StatusDescriptions; + return KStringA_Set(field, self->__base.cb, i, s); + } + return 0; +} + +KINLINE KString CIM_ComputerSystem_GetString_StatusDescriptions( + CIM_ComputerSystem* self, + CMPICount i) +{ + if (self && self->__base.magic == KMAGIC) + { + KStringA* field = (KStringA*)&self->StatusDescriptions; + return KStringA_GetString(field, i); + } + return KStringA_GetString(NULL, 0); +} + +KINLINE const char* CIM_ComputerSystem_Get_StatusDescriptions( + CIM_ComputerSystem* self, + CMPICount i) +{ + if (self && self->__base.magic == KMAGIC) + { + KStringA* field = (KStringA*)&self->StatusDescriptions; + return KStringA_Get(field, i); + } + return NULL; +} + +KINLINE CMPIBoolean CIM_ComputerSystem_Null_StatusDescriptions( + CIM_ComputerSystem* self, + CMPICount i) +{ + if (self && self->__base.magic == KMAGIC) + { + KStringA* field = (KStringA*)&self->StatusDescriptions; + return KStringA_Null(field, i); + } + return 0; +} + +KINLINE void CIM_ComputerSystem_Clr_StatusDescriptions( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KStringA* field = (KStringA*)&self->StatusDescriptions; + KStringA_Clr(field); + } +} + +KINLINE void CIM_ComputerSystem_SetString_Status( + CIM_ComputerSystem* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Status; + KString_SetString(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Set_Status( + CIM_ComputerSystem* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Status; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_ComputerSystem_Null_Status( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Status; + KString_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_Status( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Status; + KString_Clr(field); + } +} + +KINLINE void CIM_ComputerSystem_Set_HealthState( + CIM_ComputerSystem* self, + CMPIUint16 x) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->HealthState; + KUint16_Set(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Null_HealthState( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->HealthState; + KUint16_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_HealthState( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->HealthState; + KUint16_Clr(field); + } +} + +typedef enum _CIM_ComputerSystem_HealthState_Enum +{ + CIM_ComputerSystem_HealthState_Unknown = 0, + CIM_ComputerSystem_HealthState_OK = 5, + CIM_ComputerSystem_HealthState_Degraded_Warning = 10, + CIM_ComputerSystem_HealthState_Minor_failure = 15, + CIM_ComputerSystem_HealthState_Major_failure = 20, + CIM_ComputerSystem_HealthState_Critical_failure = 25, + CIM_ComputerSystem_HealthState_Non_recoverable_error = 30, + CIM_ComputerSystem_HealthState_DMTF_Reserved = 0, +} +CIM_ComputerSystem_HealthState_Enum; + +/* "Unknown" */ +#define CIM_ComputerSystem_Set_HealthState_Unknown(SELF) \ + CIM_ComputerSystem_Set_HealthState(SELF, 0) + +/* "OK" */ +#define CIM_ComputerSystem_Set_HealthState_OK(SELF) \ + CIM_ComputerSystem_Set_HealthState(SELF, 5) + +/* "Degraded/Warning" */ +#define CIM_ComputerSystem_Set_HealthState_Degraded_Warning(SELF) \ + CIM_ComputerSystem_Set_HealthState(SELF, 10) + +/* "Minor failure" */ +#define CIM_ComputerSystem_Set_HealthState_Minor_failure(SELF) \ + CIM_ComputerSystem_Set_HealthState(SELF, 15) + +/* "Major failure" */ +#define CIM_ComputerSystem_Set_HealthState_Major_failure(SELF) \ + CIM_ComputerSystem_Set_HealthState(SELF, 20) + +/* "Critical failure" */ +#define CIM_ComputerSystem_Set_HealthState_Critical_failure(SELF) \ + CIM_ComputerSystem_Set_HealthState(SELF, 25) + +/* "Non-recoverable error" */ +#define CIM_ComputerSystem_Set_HealthState_Non_recoverable_error(SELF) \ + CIM_ComputerSystem_Set_HealthState(SELF, 30) + +/* "DMTF Reserved" */ +#define CIM_ComputerSystem_Set_HealthState_DMTF_Reserved(SELF) \ + CIM_ComputerSystem_Set_HealthState(SELF, 0) + +KINLINE void CIM_ComputerSystem_Set_PrimaryStatus( + CIM_ComputerSystem* self, + CMPIUint16 x) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->PrimaryStatus; + KUint16_Set(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Null_PrimaryStatus( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->PrimaryStatus; + KUint16_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_PrimaryStatus( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->PrimaryStatus; + KUint16_Clr(field); + } +} + +typedef enum _CIM_ComputerSystem_PrimaryStatus_Enum +{ + CIM_ComputerSystem_PrimaryStatus_Unknown = 0, + CIM_ComputerSystem_PrimaryStatus_OK = 1, + CIM_ComputerSystem_PrimaryStatus_Degraded = 2, + CIM_ComputerSystem_PrimaryStatus_Error = 3, + CIM_ComputerSystem_PrimaryStatus_DMTF_Reserved = 0, + CIM_ComputerSystem_PrimaryStatus_Vendor_Reserved = 0, +} +CIM_ComputerSystem_PrimaryStatus_Enum; + +/* "Unknown" */ +#define CIM_ComputerSystem_Set_PrimaryStatus_Unknown(SELF) \ + CIM_ComputerSystem_Set_PrimaryStatus(SELF, 0) + +/* "OK" */ +#define CIM_ComputerSystem_Set_PrimaryStatus_OK(SELF) \ + CIM_ComputerSystem_Set_PrimaryStatus(SELF, 1) + +/* "Degraded" */ +#define CIM_ComputerSystem_Set_PrimaryStatus_Degraded(SELF) \ + CIM_ComputerSystem_Set_PrimaryStatus(SELF, 2) + +/* "Error" */ +#define CIM_ComputerSystem_Set_PrimaryStatus_Error(SELF) \ + CIM_ComputerSystem_Set_PrimaryStatus(SELF, 3) + +/* "DMTF Reserved" */ +#define CIM_ComputerSystem_Set_PrimaryStatus_DMTF_Reserved(SELF) \ + CIM_ComputerSystem_Set_PrimaryStatus(SELF, 0) + +/* "Vendor Reserved" */ +#define CIM_ComputerSystem_Set_PrimaryStatus_Vendor_Reserved(SELF) \ + CIM_ComputerSystem_Set_PrimaryStatus(SELF, 0) + +KINLINE void CIM_ComputerSystem_Set_DetailedStatus( + CIM_ComputerSystem* self, + CMPIUint16 x) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->DetailedStatus; + KUint16_Set(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Null_DetailedStatus( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->DetailedStatus; + KUint16_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_DetailedStatus( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->DetailedStatus; + KUint16_Clr(field); + } +} + +typedef enum _CIM_ComputerSystem_DetailedStatus_Enum +{ + CIM_ComputerSystem_DetailedStatus_Not_Available = 0, + CIM_ComputerSystem_DetailedStatus_No_Additional_Information = 1, + CIM_ComputerSystem_DetailedStatus_Stressed = 2, + CIM_ComputerSystem_DetailedStatus_Predictive_Failure = 3, + CIM_ComputerSystem_DetailedStatus_Non_Recoverable_Error = 4, + CIM_ComputerSystem_DetailedStatus_Supporting_Entity_in_Error = 5, + CIM_ComputerSystem_DetailedStatus_DMTF_Reserved = 0, + CIM_ComputerSystem_DetailedStatus_Vendor_Reserved = 0, +} +CIM_ComputerSystem_DetailedStatus_Enum; + +/* "Not Available" */ +#define CIM_ComputerSystem_Set_DetailedStatus_Not_Available(SELF) \ + CIM_ComputerSystem_Set_DetailedStatus(SELF, 0) + +/* "No Additional Information" */ +#define CIM_ComputerSystem_Set_DetailedStatus_No_Additional_Information(SELF) \ + CIM_ComputerSystem_Set_DetailedStatus(SELF, 1) + +/* "Stressed" */ +#define CIM_ComputerSystem_Set_DetailedStatus_Stressed(SELF) \ + CIM_ComputerSystem_Set_DetailedStatus(SELF, 2) + +/* "Predictive Failure" */ +#define CIM_ComputerSystem_Set_DetailedStatus_Predictive_Failure(SELF) \ + CIM_ComputerSystem_Set_DetailedStatus(SELF, 3) + +/* "Non-Recoverable Error" */ +#define CIM_ComputerSystem_Set_DetailedStatus_Non_Recoverable_Error(SELF) \ + CIM_ComputerSystem_Set_DetailedStatus(SELF, 4) + +/* "Supporting Entity in Error" */ +#define CIM_ComputerSystem_Set_DetailedStatus_Supporting_Entity_in_Error(SELF) \ + CIM_ComputerSystem_Set_DetailedStatus(SELF, 5) + +/* "DMTF Reserved" */ +#define CIM_ComputerSystem_Set_DetailedStatus_DMTF_Reserved(SELF) \ + CIM_ComputerSystem_Set_DetailedStatus(SELF, 0) + +/* "Vendor Reserved" */ +#define CIM_ComputerSystem_Set_DetailedStatus_Vendor_Reserved(SELF) \ + CIM_ComputerSystem_Set_DetailedStatus(SELF, 0) + +KINLINE void CIM_ComputerSystem_Set_OperatingStatus( + CIM_ComputerSystem* self, + CMPIUint16 x) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->OperatingStatus; + KUint16_Set(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Null_OperatingStatus( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->OperatingStatus; + KUint16_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_OperatingStatus( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->OperatingStatus; + KUint16_Clr(field); + } +} + +typedef enum _CIM_ComputerSystem_OperatingStatus_Enum +{ + CIM_ComputerSystem_OperatingStatus_Unknown = 0, + CIM_ComputerSystem_OperatingStatus_Not_Available = 1, + CIM_ComputerSystem_OperatingStatus_Servicing = 2, + CIM_ComputerSystem_OperatingStatus_Starting = 3, + CIM_ComputerSystem_OperatingStatus_Stopping = 4, + CIM_ComputerSystem_OperatingStatus_Stopped = 5, + CIM_ComputerSystem_OperatingStatus_Aborted = 6, + CIM_ComputerSystem_OperatingStatus_Dormant = 7, + CIM_ComputerSystem_OperatingStatus_Completed = 8, + CIM_ComputerSystem_OperatingStatus_Migrating = 9, + CIM_ComputerSystem_OperatingStatus_Emigrating = 10, + CIM_ComputerSystem_OperatingStatus_Immigrating = 11, + CIM_ComputerSystem_OperatingStatus_Snapshotting = 12, + CIM_ComputerSystem_OperatingStatus_Shutting_Down = 13, + CIM_ComputerSystem_OperatingStatus_In_Test = 14, + CIM_ComputerSystem_OperatingStatus_Transitioning = 15, + CIM_ComputerSystem_OperatingStatus_In_Service = 16, + CIM_ComputerSystem_OperatingStatus_DMTF_Reserved = 0, + CIM_ComputerSystem_OperatingStatus_Vendor_Reserved = 0, +} +CIM_ComputerSystem_OperatingStatus_Enum; + +/* "Unknown" */ +#define CIM_ComputerSystem_Set_OperatingStatus_Unknown(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 0) + +/* "Not Available" */ +#define CIM_ComputerSystem_Set_OperatingStatus_Not_Available(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 1) + +/* "Servicing" */ +#define CIM_ComputerSystem_Set_OperatingStatus_Servicing(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 2) + +/* "Starting" */ +#define CIM_ComputerSystem_Set_OperatingStatus_Starting(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 3) + +/* "Stopping" */ +#define CIM_ComputerSystem_Set_OperatingStatus_Stopping(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 4) + +/* "Stopped" */ +#define CIM_ComputerSystem_Set_OperatingStatus_Stopped(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 5) + +/* "Aborted" */ +#define CIM_ComputerSystem_Set_OperatingStatus_Aborted(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 6) + +/* "Dormant" */ +#define CIM_ComputerSystem_Set_OperatingStatus_Dormant(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 7) + +/* "Completed" */ +#define CIM_ComputerSystem_Set_OperatingStatus_Completed(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 8) + +/* "Migrating" */ +#define CIM_ComputerSystem_Set_OperatingStatus_Migrating(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 9) + +/* "Emigrating" */ +#define CIM_ComputerSystem_Set_OperatingStatus_Emigrating(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 10) + +/* "Immigrating" */ +#define CIM_ComputerSystem_Set_OperatingStatus_Immigrating(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 11) + +/* "Snapshotting" */ +#define CIM_ComputerSystem_Set_OperatingStatus_Snapshotting(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 12) + +/* "Shutting Down" */ +#define CIM_ComputerSystem_Set_OperatingStatus_Shutting_Down(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 13) + +/* "In Test" */ +#define CIM_ComputerSystem_Set_OperatingStatus_In_Test(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 14) + +/* "Transitioning" */ +#define CIM_ComputerSystem_Set_OperatingStatus_Transitioning(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 15) + +/* "In Service" */ +#define CIM_ComputerSystem_Set_OperatingStatus_In_Service(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 16) + +/* "DMTF Reserved" */ +#define CIM_ComputerSystem_Set_OperatingStatus_DMTF_Reserved(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 0) + +/* "Vendor Reserved" */ +#define CIM_ComputerSystem_Set_OperatingStatus_Vendor_Reserved(SELF) \ + CIM_ComputerSystem_Set_OperatingStatus(SELF, 0) + +KINLINE void CIM_ComputerSystem_Set_CommunicationStatus( + CIM_ComputerSystem* self, + CMPIUint16 x) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->CommunicationStatus; + KUint16_Set(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Null_CommunicationStatus( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->CommunicationStatus; + KUint16_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_CommunicationStatus( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->CommunicationStatus; + KUint16_Clr(field); + } +} + +typedef enum _CIM_ComputerSystem_CommunicationStatus_Enum +{ + CIM_ComputerSystem_CommunicationStatus_Unknown = 0, + CIM_ComputerSystem_CommunicationStatus_Not_Available = 1, + CIM_ComputerSystem_CommunicationStatus_Communication_OK = 2, + CIM_ComputerSystem_CommunicationStatus_Lost_Communication = 3, + CIM_ComputerSystem_CommunicationStatus_No_Contact = 4, + CIM_ComputerSystem_CommunicationStatus_DMTF_Reserved = 0, + CIM_ComputerSystem_CommunicationStatus_Vendor_Reserved = 0, +} +CIM_ComputerSystem_CommunicationStatus_Enum; + +/* "Unknown" */ +#define CIM_ComputerSystem_Set_CommunicationStatus_Unknown(SELF) \ + CIM_ComputerSystem_Set_CommunicationStatus(SELF, 0) + +/* "Not Available" */ +#define CIM_ComputerSystem_Set_CommunicationStatus_Not_Available(SELF) \ + CIM_ComputerSystem_Set_CommunicationStatus(SELF, 1) + +/* "Communication OK" */ +#define CIM_ComputerSystem_Set_CommunicationStatus_Communication_OK(SELF) \ + CIM_ComputerSystem_Set_CommunicationStatus(SELF, 2) + +/* "Lost Communication" */ ... [truncated message content] |
From: <mik...@us...> - 2008-08-07 23:56:57
|
Revision: 829 http://omc.svn.sourceforge.net/omc/?rev=829&view=rev Author: mike-brasher Date: 2008-08-07 23:57:03 +0000 (Thu, 07 Aug 2008) Log Message: ----------- Regenerate and dual namespace registration. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/configure.ac cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/linux-power-supply-profile.registration cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/register.sh cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_Collection.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_Component.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ComputerSystem.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ConcreteJob.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_Dependency.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ElementConformsToProfile.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_EnabledLogicalElement.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_HostedCollection.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_HostedDependency.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_IsSpare.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_Job.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_LogicalDevice.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_LogicalElement.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ManagedElement.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ManagedSystemElement.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_MemberOfCollection.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_OwningCollectionElement.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_PowerSource.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_PowerSupply.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_RedundancySet.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ReferencedProfile.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_RegisteredProfile.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_System.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_SystemComponent.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_SystemDevice.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_SystemSpecificCollection.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ComputerSystem.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ElementConformsToProfile.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ElementConformsToProfileProvider.c cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/HostedCollection.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/IsSpare.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/MemberOfCollection.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/OwningCollectionElement.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/PowerSupply.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/RedundancySet.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ReferencedProfile.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ReferencedProfileProvider.c cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/RegisteredProfile.h cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/RegisteredProfileProvider.c cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/SystemDevice.h Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/configure.ac =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/configure.ac 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/configure.ac 2008-08-07 23:57:03 UTC (rev 829) @@ -12,6 +12,7 @@ AC_PROG_LN_S AC_PROG_MAKE_SET AC_CHECK_LIB(konkret,KPrintInstance,,[AC_MSG_ERROR(missing required library: konkret: please install KonkretCMPI)]) +CFLAGS="$CFLAGS -I/usr/include/cmpi" AC_CHECK_HEADERS(konkret/konkret.h,,[AC_MSG_ERROR(missing required header: konkret.h: please install KonkretCMPI)]) AC_CONFIG_FILES([Makefile src/Makefile mof/Makefile]) AC_OUTPUT Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/linux-power-supply-profile.registration =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/linux-power-supply-profile.registration 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/linux-power-supply-profile.registration 2008-08-07 23:57:03 UTC (rev 829) @@ -1,10 +1,10 @@ -Linux_PowerElementConformsToProfile root/interop Linux_PowerElementConformsToProfile linux_powersupplyprovider instance association +Linux_PowerElementConformsToProfile root/cimv2\ root/interop Linux_PowerElementConformsToProfile linux_powersupplyprovider instance association Linux_PowerHostedCollection root/cimv2 Linux_PowerHostedCollection linux_powersupplyprovider instance association Linux_PowerIsSpare root/cimv2 Linux_PowerIsSpare linux_powersupplyprovider instance association Linux_PowerMemberOfCollection root/cimv2 Linux_PowerMemberOfCollection linux_powersupplyprovider instance association Linux_PowerOwningCollectionElement root/cimv2 Linux_PowerOwningCollectionElement linux_powersupplyprovider instance association Linux_PowerSupply root/cimv2 Linux_PowerSupply linux_powersupplyprovider instance method Linux_PowerRedundancySet root/cimv2 Linux_PowerRedundancySet linux_powersupplyprovider instance method -Linux_PowerReferencedProfile root/cimv2 Linux_PowerReferencedProfile linux_powersupplyprovider instance association -Linux_PowerRegisteredProfile root/interop Linux_PowerRegisteredProfile linux_powersupplyprovider instance method +Linux_PowerReferencedProfile root/cimv2\ root/cimv2 Linux_PowerReferencedProfile linux_powersupplyprovider instance association +Linux_PowerRegisteredProfile root/cimv2\ root/interop Linux_PowerRegisteredProfile linux_powersupplyprovider instance method Linux_PowerSystemDevice root/cimv2 Linux_PowerSystemDevice linux_powersupplyprovider instance association Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/register.sh =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/register.sh 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/register.sh 2008-08-07 23:57:03 UTC (rev 829) @@ -1,7 +1,9 @@ #!/bin/sh BASE=linux-power-supply-profile TARGET=../src/.libs/liblinux_powersupplyprovider.so +MOFS=/usr/var/lib/sfcb/stage/mofs konkretreg $TARGET > $BASE.registration +cp $BASE-interop.mof $MOFS/root/interop +cp $BASE-interop.mof $MOFS/root/cimv2 +cp $TARGET /usr/lib64/ provider-register.sh -r $BASE.registration -m $BASE.mof -cp $BASE-interop.mof /usr/var/lib/sfcb/stage/mofs/root/interop -cp $TARGET /usr/lib64/ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_Collection.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_Collection.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_Collection.h 2008-08-07 23:57:03 UTC (rev 829) @@ -326,4 +326,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_Collection_ClassName "CIM_Collection" + #endif /* _konkrete_CIM_Collection_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_Component.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_Component.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_Component.h 2008-08-07 23:57:03 UTC (rev 829) @@ -378,4 +378,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_Component_ClassName "CIM_Component" + #endif /* _konkrete_CIM_Component_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ComputerSystem.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ComputerSystem.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ComputerSystem.h 2008-08-07 23:57:03 UTC (rev 829) @@ -3058,4 +3058,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ComputerSystem_ClassName "CIM_ComputerSystem" + #endif /* _konkrete_CIM_ComputerSystem_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ConcreteJob.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ConcreteJob.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ConcreteJob.h 2008-08-07 23:57:03 UTC (rev 829) @@ -2658,4 +2658,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ConcreteJob_ClassName "CIM_ConcreteJob" + #endif /* _konkrete_CIM_ConcreteJob_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_Dependency.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_Dependency.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_Dependency.h 2008-08-07 23:57:03 UTC (rev 829) @@ -376,4 +376,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_Dependency_ClassName "CIM_Dependency" + #endif /* _konkrete_CIM_Dependency_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ElementConformsToProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ElementConformsToProfile.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ElementConformsToProfile.h 2008-08-07 23:57:03 UTC (rev 829) @@ -381,4 +381,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ElementConformsToProfile_ClassName "CIM_ElementConformsToProfile" + #endif /* _konkrete_CIM_ElementConformsToProfile_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_EnabledLogicalElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_EnabledLogicalElement.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_EnabledLogicalElement.h 2008-08-07 23:57:03 UTC (rev 829) @@ -1856,4 +1856,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_EnabledLogicalElement_ClassName "CIM_EnabledLogicalElement" + #endif /* _konkrete_CIM_EnabledLogicalElement_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_HostedCollection.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_HostedCollection.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_HostedCollection.h 2008-08-07 23:57:03 UTC (rev 829) @@ -383,4 +383,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_HostedCollection_ClassName "CIM_HostedCollection" + #endif /* _konkrete_CIM_HostedCollection_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_HostedDependency.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_HostedDependency.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_HostedDependency.h 2008-08-07 23:57:03 UTC (rev 829) @@ -380,4 +380,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_HostedDependency_ClassName "CIM_HostedDependency" + #endif /* _konkrete_CIM_HostedDependency_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_IsSpare.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_IsSpare.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_IsSpare.h 2008-08-07 23:57:03 UTC (rev 829) @@ -490,4 +490,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_IsSpare_ClassName "CIM_IsSpare" + #endif /* _konkrete_CIM_IsSpare_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_Job.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_Job.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_Job.h 2008-08-07 23:57:03 UTC (rev 829) @@ -2197,4 +2197,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_Job_ClassName "CIM_Job" + #endif /* _konkrete_CIM_Job_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_LogicalDevice.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_LogicalDevice.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_LogicalDevice.h 2008-08-07 23:57:03 UTC (rev 829) @@ -3881,4 +3881,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_LogicalDevice_ClassName "CIM_LogicalDevice" + #endif /* _konkrete_CIM_LogicalDevice_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_LogicalElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_LogicalElement.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_LogicalElement.h 2008-08-07 23:57:03 UTC (rev 829) @@ -1157,4 +1157,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_LogicalElement_ClassName "CIM_LogicalElement" + #endif /* _konkrete_CIM_LogicalElement_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ManagedElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ManagedElement.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ManagedElement.h 2008-08-07 23:57:03 UTC (rev 829) @@ -324,4 +324,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ManagedElement_ClassName "CIM_ManagedElement" + #endif /* _konkrete_CIM_ManagedElement_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ManagedSystemElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ManagedSystemElement.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ManagedSystemElement.h 2008-08-07 23:57:03 UTC (rev 829) @@ -1155,4 +1155,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ManagedSystemElement_ClassName "CIM_ManagedSystemElement" + #endif /* _konkrete_CIM_ManagedSystemElement_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_MemberOfCollection.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_MemberOfCollection.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_MemberOfCollection.h 2008-08-07 23:57:03 UTC (rev 829) @@ -379,4 +379,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_MemberOfCollection_ClassName "CIM_MemberOfCollection" + #endif /* _konkrete_CIM_MemberOfCollection_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_OwningCollectionElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_OwningCollectionElement.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_OwningCollectionElement.h 2008-08-07 23:57:03 UTC (rev 829) @@ -381,4 +381,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_OwningCollectionElement_ClassName "CIM_OwningCollectionElement" + #endif /* _konkrete_CIM_OwningCollectionElement_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_PowerSource.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_PowerSource.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_PowerSource.h 2008-08-07 23:57:03 UTC (rev 829) @@ -3993,4 +3993,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_PowerSource_ClassName "CIM_PowerSource" + #endif /* _konkrete_CIM_PowerSource_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_PowerSupply.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_PowerSupply.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_PowerSupply.h 2008-08-07 23:57:03 UTC (rev 829) @@ -4809,4 +4809,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_PowerSupply_ClassName "CIM_PowerSupply" + #endif /* _konkrete_CIM_PowerSupply_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_RedundancySet.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_RedundancySet.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_RedundancySet.h 2008-08-07 23:57:03 UTC (rev 829) @@ -1038,4 +1038,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_RedundancySet_ClassName "CIM_RedundancySet" + #endif /* _konkrete_CIM_RedundancySet_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ReferencedProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ReferencedProfile.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_ReferencedProfile.h 2008-08-07 23:57:03 UTC (rev 829) @@ -380,4 +380,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ReferencedProfile_ClassName "CIM_ReferencedProfile" + #endif /* _konkrete_CIM_ReferencedProfile_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_RegisteredProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_RegisteredProfile.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_RegisteredProfile.h 2008-08-07 23:57:03 UTC (rev 829) @@ -880,4 +880,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_RegisteredProfile_ClassName "CIM_RegisteredProfile" + #endif /* _konkrete_CIM_RegisteredProfile_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_System.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_System.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_System.h 2008-08-07 23:57:03 UTC (rev 829) @@ -2410,4 +2410,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_System_ClassName "CIM_System" + #endif /* _konkrete_CIM_System_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_SystemComponent.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_SystemComponent.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_SystemComponent.h 2008-08-07 23:57:03 UTC (rev 829) @@ -381,4 +381,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_SystemComponent_ClassName "CIM_SystemComponent" + #endif /* _konkrete_CIM_SystemComponent_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_SystemDevice.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_SystemDevice.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_SystemDevice.h 2008-08-07 23:57:03 UTC (rev 829) @@ -383,4 +383,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_SystemDevice_ClassName "CIM_SystemDevice" + #endif /* _konkrete_CIM_SystemDevice_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_SystemSpecificCollection.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_SystemSpecificCollection.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/CIM_SystemSpecificCollection.h 2008-08-07 23:57:03 UTC (rev 829) @@ -417,4 +417,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_SystemSpecificCollection_ClassName "CIM_SystemSpecificCollection" + #endif /* _konkrete_CIM_SystemSpecificCollection_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ComputerSystem.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ComputerSystem.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ComputerSystem.h 2008-08-07 23:57:03 UTC (rev 829) @@ -3104,4 +3104,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define ComputerSystem_ClassName "Linux_ComputerSystem" + #endif /* _konkrete_ComputerSystem_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ElementConformsToProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ElementConformsToProfile.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ElementConformsToProfile.h 2008-08-07 23:57:03 UTC (rev 829) @@ -385,4 +385,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define ElementConformsToProfile_ClassName "Linux_PowerElementConformsToProfile" + #endif /* _konkrete_ElementConformsToProfile_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ElementConformsToProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ElementConformsToProfileProvider.c 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ElementConformsToProfileProvider.c 2008-08-07 23:57:03 UTC (rev 829) @@ -191,7 +191,7 @@ ElementConformsToProfileInitialize()) KONKRET_REGISTRATION( - "root/interop", + "root/cimv2 root/interop", "Linux_PowerElementConformsToProfile", "Linux_PowerElementConformsToProfile", "instance association"); Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/HostedCollection.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/HostedCollection.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/HostedCollection.h 2008-08-07 23:57:03 UTC (rev 829) @@ -385,4 +385,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define HostedCollection_ClassName "Linux_PowerHostedCollection" + #endif /* _konkrete_HostedCollection_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/IsSpare.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/IsSpare.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/IsSpare.h 2008-08-07 23:57:03 UTC (rev 829) @@ -494,4 +494,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define IsSpare_ClassName "Linux_PowerIsSpare" + #endif /* _konkrete_IsSpare_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/MemberOfCollection.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/MemberOfCollection.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/MemberOfCollection.h 2008-08-07 23:57:03 UTC (rev 829) @@ -381,4 +381,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define MemberOfCollection_ClassName "Linux_PowerMemberOfCollection" + #endif /* _konkrete_MemberOfCollection_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/OwningCollectionElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/OwningCollectionElement.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/OwningCollectionElement.h 2008-08-07 23:57:03 UTC (rev 829) @@ -383,4 +383,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define OwningCollectionElement_ClassName "Linux_PowerOwningCollectionElement" + #endif /* _konkrete_OwningCollectionElement_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/PowerSupply.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/PowerSupply.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/PowerSupply.h 2008-08-07 23:57:03 UTC (rev 829) @@ -4812,4 +4812,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define PowerSupply_ClassName "Linux_PowerSupply" + #endif /* _konkrete_PowerSupply_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/RedundancySet.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/RedundancySet.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/RedundancySet.h 2008-08-07 23:57:03 UTC (rev 829) @@ -1040,4 +1040,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define RedundancySet_ClassName "Linux_PowerRedundancySet" + #endif /* _konkrete_RedundancySet_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ReferencedProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ReferencedProfile.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ReferencedProfile.h 2008-08-07 23:57:03 UTC (rev 829) @@ -383,4 +383,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define ReferencedProfile_ClassName "Linux_PowerReferencedProfile" + #endif /* _konkrete_ReferencedProfile_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ReferencedProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ReferencedProfileProvider.c 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ReferencedProfileProvider.c 2008-08-07 23:57:03 UTC (rev 829) @@ -195,7 +195,7 @@ ReferencedProfileInitialize()) KONKRET_REGISTRATION( - "root/cimv2", + "root/cimv2 root/cimv2", "Linux_PowerReferencedProfile", "Linux_PowerReferencedProfile", "instance association"); Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/RegisteredProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/RegisteredProfile.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/RegisteredProfile.h 2008-08-07 23:57:03 UTC (rev 829) @@ -882,4 +882,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define RegisteredProfile_ClassName "Linux_PowerRegisteredProfile" + #endif /* _konkrete_RegisteredProfile_h */ Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/RegisteredProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/RegisteredProfileProvider.c 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/RegisteredProfileProvider.c 2008-08-07 23:57:03 UTC (rev 829) @@ -132,7 +132,7 @@ RegisteredProfileInitialize()) KONKRET_REGISTRATION( - "root/interop", + "root/cimv2 root/interop", "Linux_PowerRegisteredProfile", "Linux_PowerRegisteredProfile", "instance method"); Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/SystemDevice.h =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/SystemDevice.h 2008-08-07 23:46:46 UTC (rev 828) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/SystemDevice.h 2008-08-07 23:57:03 UTC (rev 829) @@ -385,4 +385,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define SystemDevice_ClassName "Linux_PowerSystemDevice" + #endif /* _konkrete_SystemDevice_h */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-07 23:46:39
|
Revision: 828 http://omc.svn.sourceforge.net/omc/?rev=828&view=rev Author: mike-brasher Date: 2008-08-07 23:46:46 +0000 (Thu, 07 Aug 2008) Log Message: ----------- Regenerate from mof and register for 2 namespaces. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/linux-fan-profile.registration cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/register.sh cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Collection.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Component.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ComputerSystem.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ConcreteJob.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_CoolingDevice.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Dependency.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ElementConformsToProfile.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_EnabledLogicalElement.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Fan.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_HostedCollection.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_HostedDependency.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_IsSpare.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Job.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_LogicalDevice.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_LogicalElement.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ManagedElement.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ManagedSystemElement.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_MemberOfCollection.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_OwningCollectionElement.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_RedundancySet.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ReferencedProfile.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_RegisteredProfile.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_System.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_SystemComponent.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_SystemDevice.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_SystemSpecificCollection.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ComputerSystem.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ElementConformsToProfile.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ElementConformsToProfileProvider.c cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/Fan.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/HostedCollection.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/IsSpare.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/MemberOfCollection.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/OwningCollectionElement.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RedundancySet.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ReferencedProfile.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ReferencedProfileProvider.c cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RegisteredProfile.h cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RegisteredProfileProvider.c cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/SystemDevice.h Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/linux-fan-profile.registration =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/linux-fan-profile.registration 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/linux-fan-profile.registration 2008-08-07 23:46:46 UTC (rev 828) @@ -1,10 +1,10 @@ -Linux_FanElementConformsToProfile root/interop Linux_FanElementConformsToProfile linux_fanprovider instance association +Linux_FanElementConformsToProfile root/cimv2\ root/interop Linux_FanElementConformsToProfile linux_fanprovider instance association Linux_Fan root/cimv2 Linux_Fan linux_fanprovider instance method Linux_FanHostedCollection root/cimv2 Linux_FanHostedCollection linux_fanprovider instance association Linux_FanIsSpare root/cimv2 Linux_FanIsSpare linux_fanprovider instance association Linux_FanMemberOfCollection root/cimv2 Linux_FanMemberOfCollection linux_fanprovider instance association Linux_FanOwningCollectionElement root/cimv2 Linux_FanOwningCollectionElement linux_fanprovider instance association Linux_FanRedundancySet root/cimv2 Linux_FanRedundancySet linux_fanprovider instance method -Linux_FanReferencedProfile root/interop Linux_FanReferencedProfile linux_fanprovider instance association -Linux_FanRegisteredProfile root/interop Linux_FanRegisteredProfile linux_fanprovider instance method +Linux_FanReferencedProfile root/cimv2\ root/interop Linux_FanReferencedProfile linux_fanprovider instance association +Linux_FanRegisteredProfile root/cimv2\ root/interop Linux_FanRegisteredProfile linux_fanprovider instance method Linux_FanSystemDevice root/cimv2 Linux_FanSystemDevice linux_fanprovider instance association Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/register.sh =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/register.sh 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/register.sh 2008-08-07 23:46:46 UTC (rev 828) @@ -1,6 +1,9 @@ #!/bin/sh TARGET=../src/.libs/liblinux_fanprovider.so.1.0.0 +BASE=linux-fan-profile +MOFS=/usr/var/lib/sfcb/stage/mofs konkretreg $TARGET > linux-fan-profile.registration cp $TARGET /usr/lib64/liblinux_fanprovider.so +cp $BASE-interop.mof $MOFS/root/interop +cp $BASE-interop.mof $MOFS/root/cimv2 provider-register.sh -r linux-fan-profile.registration -m linux-fan-profile.mof -cp linux-fan-profile-interop.mof /usr/var/lib/sfcb/stage/mofs/root/interop Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Collection.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Collection.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Collection.h 2008-08-07 23:46:46 UTC (rev 828) @@ -326,4 +326,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_Collection_ClassName "CIM_Collection" + #endif /* _konkrete_CIM_Collection_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Component.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Component.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Component.h 2008-08-07 23:46:46 UTC (rev 828) @@ -378,4 +378,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_Component_ClassName "CIM_Component" + #endif /* _konkrete_CIM_Component_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ComputerSystem.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ComputerSystem.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ComputerSystem.h 2008-08-07 23:46:46 UTC (rev 828) @@ -3058,4 +3058,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ComputerSystem_ClassName "CIM_ComputerSystem" + #endif /* _konkrete_CIM_ComputerSystem_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ConcreteJob.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ConcreteJob.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ConcreteJob.h 2008-08-07 23:46:46 UTC (rev 828) @@ -2658,4 +2658,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ConcreteJob_ClassName "CIM_ConcreteJob" + #endif /* _konkrete_CIM_ConcreteJob_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_CoolingDevice.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_CoolingDevice.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_CoolingDevice.h 2008-08-07 23:46:46 UTC (rev 828) @@ -3916,4 +3916,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_CoolingDevice_ClassName "CIM_CoolingDevice" + #endif /* _konkrete_CIM_CoolingDevice_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Dependency.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Dependency.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Dependency.h 2008-08-07 23:46:46 UTC (rev 828) @@ -376,4 +376,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_Dependency_ClassName "CIM_Dependency" + #endif /* _konkrete_CIM_Dependency_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ElementConformsToProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ElementConformsToProfile.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ElementConformsToProfile.h 2008-08-07 23:46:46 UTC (rev 828) @@ -381,4 +381,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ElementConformsToProfile_ClassName "CIM_ElementConformsToProfile" + #endif /* _konkrete_CIM_ElementConformsToProfile_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_EnabledLogicalElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_EnabledLogicalElement.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_EnabledLogicalElement.h 2008-08-07 23:46:46 UTC (rev 828) @@ -1856,4 +1856,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_EnabledLogicalElement_ClassName "CIM_EnabledLogicalElement" + #endif /* _konkrete_CIM_EnabledLogicalElement_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Fan.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Fan.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Fan.h 2008-08-07 23:46:46 UTC (rev 828) @@ -4308,4 +4308,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_Fan_ClassName "CIM_Fan" + #endif /* _konkrete_CIM_Fan_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_HostedCollection.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_HostedCollection.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_HostedCollection.h 2008-08-07 23:46:46 UTC (rev 828) @@ -383,4 +383,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_HostedCollection_ClassName "CIM_HostedCollection" + #endif /* _konkrete_CIM_HostedCollection_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_HostedDependency.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_HostedDependency.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_HostedDependency.h 2008-08-07 23:46:46 UTC (rev 828) @@ -380,4 +380,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_HostedDependency_ClassName "CIM_HostedDependency" + #endif /* _konkrete_CIM_HostedDependency_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_IsSpare.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_IsSpare.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_IsSpare.h 2008-08-07 23:46:46 UTC (rev 828) @@ -490,4 +490,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_IsSpare_ClassName "CIM_IsSpare" + #endif /* _konkrete_CIM_IsSpare_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Job.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Job.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_Job.h 2008-08-07 23:46:46 UTC (rev 828) @@ -2197,4 +2197,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_Job_ClassName "CIM_Job" + #endif /* _konkrete_CIM_Job_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_LogicalDevice.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_LogicalDevice.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_LogicalDevice.h 2008-08-07 23:46:46 UTC (rev 828) @@ -3881,4 +3881,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_LogicalDevice_ClassName "CIM_LogicalDevice" + #endif /* _konkrete_CIM_LogicalDevice_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_LogicalElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_LogicalElement.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_LogicalElement.h 2008-08-07 23:46:46 UTC (rev 828) @@ -1157,4 +1157,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_LogicalElement_ClassName "CIM_LogicalElement" + #endif /* _konkrete_CIM_LogicalElement_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ManagedElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ManagedElement.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ManagedElement.h 2008-08-07 23:46:46 UTC (rev 828) @@ -324,4 +324,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ManagedElement_ClassName "CIM_ManagedElement" + #endif /* _konkrete_CIM_ManagedElement_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ManagedSystemElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ManagedSystemElement.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ManagedSystemElement.h 2008-08-07 23:46:46 UTC (rev 828) @@ -1155,4 +1155,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ManagedSystemElement_ClassName "CIM_ManagedSystemElement" + #endif /* _konkrete_CIM_ManagedSystemElement_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_MemberOfCollection.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_MemberOfCollection.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_MemberOfCollection.h 2008-08-07 23:46:46 UTC (rev 828) @@ -379,4 +379,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_MemberOfCollection_ClassName "CIM_MemberOfCollection" + #endif /* _konkrete_CIM_MemberOfCollection_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_OwningCollectionElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_OwningCollectionElement.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_OwningCollectionElement.h 2008-08-07 23:46:46 UTC (rev 828) @@ -381,4 +381,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_OwningCollectionElement_ClassName "CIM_OwningCollectionElement" + #endif /* _konkrete_CIM_OwningCollectionElement_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_RedundancySet.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_RedundancySet.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_RedundancySet.h 2008-08-07 23:46:46 UTC (rev 828) @@ -1038,4 +1038,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_RedundancySet_ClassName "CIM_RedundancySet" + #endif /* _konkrete_CIM_RedundancySet_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ReferencedProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ReferencedProfile.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_ReferencedProfile.h 2008-08-07 23:46:46 UTC (rev 828) @@ -380,4 +380,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ReferencedProfile_ClassName "CIM_ReferencedProfile" + #endif /* _konkrete_CIM_ReferencedProfile_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_RegisteredProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_RegisteredProfile.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_RegisteredProfile.h 2008-08-07 23:46:46 UTC (rev 828) @@ -880,4 +880,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_RegisteredProfile_ClassName "CIM_RegisteredProfile" + #endif /* _konkrete_CIM_RegisteredProfile_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_System.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_System.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_System.h 2008-08-07 23:46:46 UTC (rev 828) @@ -2410,4 +2410,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_System_ClassName "CIM_System" + #endif /* _konkrete_CIM_System_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_SystemComponent.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_SystemComponent.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_SystemComponent.h 2008-08-07 23:46:46 UTC (rev 828) @@ -381,4 +381,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_SystemComponent_ClassName "CIM_SystemComponent" + #endif /* _konkrete_CIM_SystemComponent_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_SystemDevice.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_SystemDevice.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_SystemDevice.h 2008-08-07 23:46:46 UTC (rev 828) @@ -383,4 +383,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_SystemDevice_ClassName "CIM_SystemDevice" + #endif /* _konkrete_CIM_SystemDevice_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_SystemSpecificCollection.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_SystemSpecificCollection.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/CIM_SystemSpecificCollection.h 2008-08-07 23:46:46 UTC (rev 828) @@ -417,4 +417,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_SystemSpecificCollection_ClassName "CIM_SystemSpecificCollection" + #endif /* _konkrete_CIM_SystemSpecificCollection_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ComputerSystem.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ComputerSystem.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ComputerSystem.h 2008-08-07 23:46:46 UTC (rev 828) @@ -3104,4 +3104,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define ComputerSystem_ClassName "Linux_ComputerSystem" + #endif /* _konkrete_ComputerSystem_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ElementConformsToProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ElementConformsToProfile.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ElementConformsToProfile.h 2008-08-07 23:46:46 UTC (rev 828) @@ -383,4 +383,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define ElementConformsToProfile_ClassName "Linux_FanElementConformsToProfile" + #endif /* _konkrete_ElementConformsToProfile_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ElementConformsToProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ElementConformsToProfileProvider.c 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ElementConformsToProfileProvider.c 2008-08-07 23:46:46 UTC (rev 828) @@ -191,7 +191,7 @@ ElementConformsToProfileInitialize()) KONKRET_REGISTRATION( - "root/interop", + "root/cimv2 root/interop", "Linux_FanElementConformsToProfile", "Linux_FanElementConformsToProfile", "instance association"); Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/Fan.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/Fan.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/Fan.h 2008-08-07 23:46:46 UTC (rev 828) @@ -4310,4 +4310,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define Fan_ClassName "Linux_Fan" + #endif /* _konkrete_Fan_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/HostedCollection.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/HostedCollection.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/HostedCollection.h 2008-08-07 23:46:46 UTC (rev 828) @@ -385,4 +385,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define HostedCollection_ClassName "Linux_FanHostedCollection" + #endif /* _konkrete_HostedCollection_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/IsSpare.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/IsSpare.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/IsSpare.h 2008-08-07 23:46:46 UTC (rev 828) @@ -493,4 +493,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define IsSpare_ClassName "Linux_FanIsSpare" + #endif /* _konkrete_IsSpare_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/MemberOfCollection.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/MemberOfCollection.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/MemberOfCollection.h 2008-08-07 23:46:46 UTC (rev 828) @@ -381,4 +381,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define MemberOfCollection_ClassName "Linux_FanMemberOfCollection" + #endif /* _konkrete_MemberOfCollection_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/OwningCollectionElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/OwningCollectionElement.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/OwningCollectionElement.h 2008-08-07 23:46:46 UTC (rev 828) @@ -383,4 +383,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define OwningCollectionElement_ClassName "Linux_FanOwningCollectionElement" + #endif /* _konkrete_OwningCollectionElement_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RedundancySet.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RedundancySet.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RedundancySet.h 2008-08-07 23:46:46 UTC (rev 828) @@ -1040,4 +1040,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define RedundancySet_ClassName "Linux_FanRedundancySet" + #endif /* _konkrete_RedundancySet_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ReferencedProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ReferencedProfile.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ReferencedProfile.h 2008-08-07 23:46:46 UTC (rev 828) @@ -383,4 +383,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define ReferencedProfile_ClassName "Linux_FanReferencedProfile" + #endif /* _konkrete_ReferencedProfile_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ReferencedProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ReferencedProfileProvider.c 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ReferencedProfileProvider.c 2008-08-07 23:46:46 UTC (rev 828) @@ -195,7 +195,7 @@ ReferencedProfileInitialize()) KONKRET_REGISTRATION( - "root/interop", + "root/cimv2 root/interop", "Linux_FanReferencedProfile", "Linux_FanReferencedProfile", "instance association"); Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RegisteredProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RegisteredProfile.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RegisteredProfile.h 2008-08-07 23:46:46 UTC (rev 828) @@ -882,4 +882,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define RegisteredProfile_ClassName "Linux_FanRegisteredProfile" + #endif /* _konkrete_RegisteredProfile_h */ Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RegisteredProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RegisteredProfileProvider.c 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RegisteredProfileProvider.c 2008-08-07 23:46:46 UTC (rev 828) @@ -132,7 +132,7 @@ RegisteredProfileInitialize()) KONKRET_REGISTRATION( - "root/interop", + "root/cimv2 root/interop", "Linux_FanRegisteredProfile", "Linux_FanRegisteredProfile", "instance method"); Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/SystemDevice.h =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/SystemDevice.h 2008-08-07 23:41:18 UTC (rev 827) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/SystemDevice.h 2008-08-07 23:46:46 UTC (rev 828) @@ -385,4 +385,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define SystemDevice_ClassName "Linux_FanSystemDevice" + #endif /* _konkrete_SystemDevice_h */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-07 23:41:09
|
Revision: 827 http://omc.svn.sourceforge.net/omc/?rev=827&view=rev Author: mike-brasher Date: 2008-08-07 23:41:18 +0000 (Thu, 07 Aug 2008) Log Message: ----------- Registration of profile classes in both namespaces. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/configure.ac cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/linux-boot-control-profile.registration cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/register.sh Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/configure.ac =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/configure.ac 2008-08-07 23:35:10 UTC (rev 826) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/configure.ac 2008-08-07 23:41:18 UTC (rev 827) @@ -12,6 +12,7 @@ AC_PROG_LN_S AC_PROG_MAKE_SET AC_CHECK_LIB(konkret,KPrintInstance,,[AC_MSG_ERROR(missing required library: konkret: please install KonkretCMPI)]) +CFLAGS="$CFLAGS -I/usr/include/cmpi" AC_CHECK_HEADERS(konkret/konkret.h,,[AC_MSG_ERROR(missing required header: konkret.h: please install KonkretCMPI)]) AC_CONFIG_FILES([Makefile src/Makefile mof/Makefile]) AC_OUTPUT Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/linux-boot-control-profile.registration =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/linux-boot-control-profile.registration 2008-08-07 23:35:10 UTC (rev 826) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/linux-boot-control-profile.registration 2008-08-07 23:41:18 UTC (rev 827) @@ -1,10 +1,10 @@ Linux_BootService root/cimv2 Linux_BootService linux_bootctrlprovider instance method Linux_BootConfigSetting root/cimv2 Linux_BootConfigSetting linux_bootctrlprovider instance method -Linux_BootElementConformsToProfile root/interop Linux_BootElementConformsToProfile linux_bootctrlprovider instance association +Linux_BootElementConformsToProfile root/cimv2\ root/interop Linux_BootElementConformsToProfile linux_bootctrlprovider instance association Linux_BootElementSettingData root/cimv2 Linux_BootElementSettingData linux_bootctrlprovider instance association Linux_BootHostedService root/cimv2 Linux_BootHostedService linux_bootctrlprovider instance association Linux_BootOrderedComponent root/cimv2 Linux_BootOrderedComponent linux_bootctrlprovider instance association -Linux_BootReferencedProfile root/interop Linux_BootReferencedProfile linux_bootctrlprovider instance association -Linux_BootRegisteredProfile root/interop Linux_BootRegisteredProfile linux_bootctrlprovider instance method +Linux_BootReferencedProfile root/cimv2\ root/interop Linux_BootReferencedProfile linux_bootctrlprovider instance association +Linux_BootRegisteredProfile root/cimv2\ root/interop Linux_BootRegisteredProfile linux_bootctrlprovider instance method Linux_BootServiceAffectsElement root/cimv2 Linux_BootServiceAffectsElement linux_bootctrlprovider instance association Linux_GrubBootSourceSetting root/cimv2 Linux_GrubBootSourceSetting linux_bootctrlprovider instance method Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/register.sh =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/register.sh 2008-08-07 23:35:10 UTC (rev 826) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/register.sh 2008-08-07 23:41:18 UTC (rev 827) @@ -1,7 +1,9 @@ #!/bin/sh BASE=linux-boot-control-profile TARGET=../src/.libs/liblinux_bootctrlprovider.so +MOFS=/usr/var/lib/sfcb/stage/mofs konkretreg $TARGET > $BASE.registration +cp $BASE-interop.mof $MOFS/root/interop +cp $BASE-interop.mof $MOFS/root/cimv2 provider-register.sh -r $BASE.registration -m $BASE.mof -cp $BASE-interop.mof /usr/var/lib/sfcb/stage/mofs/root/interop cp $TARGET /usr/lib64/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-07 23:35:03
|
Revision: 826 http://omc.svn.sourceforge.net/omc/?rev=826&view=rev Author: mike-brasher Date: 2008-08-07 23:35:10 +0000 (Thu, 07 Aug 2008) Log Message: ----------- Regenerate from mofs and register to 2 namespaces. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/BootService.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_BootConfigSetting.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_BootService.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_BootSourceSetting.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_Component.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ComputerSystem.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ConcreteJob.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_Dependency.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ElementConformsToProfile.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ElementSettingData.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_EnabledLogicalElement.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_HostedDependency.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_HostedService.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_Job.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_LogicalElement.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ManagedElement.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ManagedSystemElement.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_OrderedComponent.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ReferencedProfile.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_RegisteredProfile.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_Service.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ServiceAffectsElement.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_SettingData.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_System.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ComputerSystem.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ConfigSetting.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementConformsToProfile.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementConformsToProfileProvider.c cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementSettingData.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/HostedService.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/Linux_BootSourceSetting.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/OrderedComponent.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ReferencedProfile.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ReferencedProfileProvider.c cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/RegisteredProfile.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/RegisteredProfileProvider.c cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ServiceAffectsElement.h cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/SourceSetting.h Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/BootService.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/BootService.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/BootService.h 2008-08-07 23:35:10 UTC (rev 826) @@ -3088,4 +3088,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define BootService_ClassName "Linux_BootService" + #endif /* _konkrete_BootService_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_BootConfigSetting.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_BootConfigSetting.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_BootConfigSetting.h 2008-08-07 23:35:10 UTC (rev 826) @@ -718,4 +718,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_BootConfigSetting_ClassName "CIM_BootConfigSetting" + #endif /* _konkrete_CIM_BootConfigSetting_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_BootService.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_BootService.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_BootService.h 2008-08-07 23:35:10 UTC (rev 826) @@ -3085,4 +3085,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_BootService_ClassName "CIM_BootService" + #endif /* _konkrete_CIM_BootService_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_BootSourceSetting.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_BootSourceSetting.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_BootSourceSetting.h 2008-08-07 23:35:10 UTC (rev 826) @@ -705,4 +705,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_BootSourceSetting_ClassName "CIM_BootSourceSetting" + #endif /* _konkrete_CIM_BootSourceSetting_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_Component.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_Component.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_Component.h 2008-08-07 23:35:10 UTC (rev 826) @@ -378,4 +378,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_Component_ClassName "CIM_Component" + #endif /* _konkrete_CIM_Component_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ComputerSystem.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ComputerSystem.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ComputerSystem.h 2008-08-07 23:35:10 UTC (rev 826) @@ -3058,4 +3058,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ComputerSystem_ClassName "CIM_ComputerSystem" + #endif /* _konkrete_CIM_ComputerSystem_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ConcreteJob.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ConcreteJob.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ConcreteJob.h 2008-08-07 23:35:10 UTC (rev 826) @@ -2658,4 +2658,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ConcreteJob_ClassName "CIM_ConcreteJob" + #endif /* _konkrete_CIM_ConcreteJob_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_Dependency.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_Dependency.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_Dependency.h 2008-08-07 23:35:10 UTC (rev 826) @@ -376,4 +376,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_Dependency_ClassName "CIM_Dependency" + #endif /* _konkrete_CIM_Dependency_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ElementConformsToProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ElementConformsToProfile.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ElementConformsToProfile.h 2008-08-07 23:35:10 UTC (rev 826) @@ -381,4 +381,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ElementConformsToProfile_ClassName "CIM_ElementConformsToProfile" + #endif /* _konkrete_CIM_ElementConformsToProfile_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ElementSettingData.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ElementSettingData.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ElementSettingData.h 2008-08-07 23:35:10 UTC (rev 826) @@ -721,4 +721,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ElementSettingData_ClassName "CIM_ElementSettingData" + #endif /* _konkrete_CIM_ElementSettingData_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_EnabledLogicalElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_EnabledLogicalElement.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_EnabledLogicalElement.h 2008-08-07 23:35:10 UTC (rev 826) @@ -1856,4 +1856,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_EnabledLogicalElement_ClassName "CIM_EnabledLogicalElement" + #endif /* _konkrete_CIM_EnabledLogicalElement_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_HostedDependency.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_HostedDependency.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_HostedDependency.h 2008-08-07 23:35:10 UTC (rev 826) @@ -380,4 +380,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_HostedDependency_ClassName "CIM_HostedDependency" + #endif /* _konkrete_CIM_HostedDependency_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_HostedService.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_HostedService.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_HostedService.h 2008-08-07 23:35:10 UTC (rev 826) @@ -381,4 +381,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_HostedService_ClassName "CIM_HostedService" + #endif /* _konkrete_CIM_HostedService_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_Job.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_Job.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_Job.h 2008-08-07 23:35:10 UTC (rev 826) @@ -2197,4 +2197,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_Job_ClassName "CIM_Job" + #endif /* _konkrete_CIM_Job_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_LogicalElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_LogicalElement.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_LogicalElement.h 2008-08-07 23:35:10 UTC (rev 826) @@ -1157,4 +1157,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_LogicalElement_ClassName "CIM_LogicalElement" + #endif /* _konkrete_CIM_LogicalElement_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ManagedElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ManagedElement.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ManagedElement.h 2008-08-07 23:35:10 UTC (rev 826) @@ -324,4 +324,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ManagedElement_ClassName "CIM_ManagedElement" + #endif /* _konkrete_CIM_ManagedElement_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ManagedSystemElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ManagedSystemElement.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ManagedSystemElement.h 2008-08-07 23:35:10 UTC (rev 826) @@ -1155,4 +1155,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ManagedSystemElement_ClassName "CIM_ManagedSystemElement" + #endif /* _konkrete_CIM_ManagedSystemElement_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_OrderedComponent.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_OrderedComponent.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_OrderedComponent.h 2008-08-07 23:35:10 UTC (rev 826) @@ -413,4 +413,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_OrderedComponent_ClassName "CIM_OrderedComponent" + #endif /* _konkrete_CIM_OrderedComponent_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ReferencedProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ReferencedProfile.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ReferencedProfile.h 2008-08-07 23:35:10 UTC (rev 826) @@ -380,4 +380,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ReferencedProfile_ClassName "CIM_ReferencedProfile" + #endif /* _konkrete_CIM_ReferencedProfile_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_RegisteredProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_RegisteredProfile.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_RegisteredProfile.h 2008-08-07 23:35:10 UTC (rev 826) @@ -880,4 +880,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_RegisteredProfile_ClassName "CIM_RegisteredProfile" + #endif /* _konkrete_CIM_RegisteredProfile_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_Service.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_Service.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_Service.h 2008-08-07 23:35:10 UTC (rev 826) @@ -2627,4 +2627,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_Service_ClassName "CIM_Service" + #endif /* _konkrete_CIM_Service_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ServiceAffectsElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ServiceAffectsElement.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_ServiceAffectsElement.h 2008-08-07 23:35:10 UTC (rev 826) @@ -652,4 +652,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ServiceAffectsElement_ClassName "CIM_ServiceAffectsElement" + #endif /* _konkrete_CIM_ServiceAffectsElement_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_SettingData.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_SettingData.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_SettingData.h 2008-08-07 23:35:10 UTC (rev 826) @@ -517,4 +517,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_SettingData_ClassName "CIM_SettingData" + #endif /* _konkrete_CIM_SettingData_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_System.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_System.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/CIM_System.h 2008-08-07 23:35:10 UTC (rev 826) @@ -2410,4 +2410,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_System_ClassName "CIM_System" + #endif /* _konkrete_CIM_System_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ComputerSystem.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ComputerSystem.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ComputerSystem.h 2008-08-07 23:35:10 UTC (rev 826) @@ -3104,4 +3104,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define ComputerSystem_ClassName "Linux_ComputerSystem" + #endif /* _konkrete_ComputerSystem_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ConfigSetting.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ConfigSetting.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ConfigSetting.h 2008-08-07 23:35:10 UTC (rev 826) @@ -720,4 +720,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define ConfigSetting_ClassName "Linux_BootConfigSetting" + #endif /* _konkrete_ConfigSetting_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementConformsToProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementConformsToProfile.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementConformsToProfile.h 2008-08-07 23:35:10 UTC (rev 826) @@ -383,4 +383,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define ElementConformsToProfile_ClassName "Linux_BootElementConformsToProfile" + #endif /* _konkrete_ElementConformsToProfile_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementConformsToProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementConformsToProfileProvider.c 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementConformsToProfileProvider.c 2008-08-07 23:35:10 UTC (rev 826) @@ -191,7 +191,7 @@ ElementConformsToProfileInitialize()) KONKRET_REGISTRATION( - "root/interop", + "root/cimv2 root/interop", "Linux_BootElementConformsToProfile", "Linux_BootElementConformsToProfile", "instance association"); Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementSettingData.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementSettingData.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementSettingData.h 2008-08-07 23:35:10 UTC (rev 826) @@ -724,4 +724,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define ElementSettingData_ClassName "Linux_BootElementSettingData" + #endif /* _konkrete_ElementSettingData_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/HostedService.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/HostedService.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/HostedService.h 2008-08-07 23:35:10 UTC (rev 826) @@ -385,4 +385,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define HostedService_ClassName "Linux_BootHostedService" + #endif /* _konkrete_HostedService_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/Linux_BootSourceSetting.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/Linux_BootSourceSetting.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/Linux_BootSourceSetting.h 2008-08-07 23:35:10 UTC (rev 826) @@ -707,4 +707,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define Linux_BootSourceSetting_ClassName "Linux_BootSourceSetting" + #endif /* _konkrete_Linux_BootSourceSetting_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/OrderedComponent.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/OrderedComponent.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/OrderedComponent.h 2008-08-07 23:35:10 UTC (rev 826) @@ -418,4 +418,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define OrderedComponent_ClassName "Linux_BootOrderedComponent" + #endif /* _konkrete_OrderedComponent_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ReferencedProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ReferencedProfile.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ReferencedProfile.h 2008-08-07 23:35:10 UTC (rev 826) @@ -383,4 +383,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define ReferencedProfile_ClassName "Linux_BootReferencedProfile" + #endif /* _konkrete_ReferencedProfile_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ReferencedProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ReferencedProfileProvider.c 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ReferencedProfileProvider.c 2008-08-07 23:35:10 UTC (rev 826) @@ -195,7 +195,7 @@ ReferencedProfileInitialize()) KONKRET_REGISTRATION( - "root/interop", + "root/cimv2 root/interop", "Linux_BootReferencedProfile", "Linux_BootReferencedProfile", "instance association"); Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/RegisteredProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/RegisteredProfile.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/RegisteredProfile.h 2008-08-07 23:35:10 UTC (rev 826) @@ -882,4 +882,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define RegisteredProfile_ClassName "Linux_BootRegisteredProfile" + #endif /* _konkrete_RegisteredProfile_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/RegisteredProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/RegisteredProfileProvider.c 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/RegisteredProfileProvider.c 2008-08-07 23:35:10 UTC (rev 826) @@ -132,7 +132,7 @@ RegisteredProfileInitialize()) KONKRET_REGISTRATION( - "root/interop", + "root/cimv2 root/interop", "Linux_BootRegisteredProfile", "Linux_BootRegisteredProfile", "instance method"); Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ServiceAffectsElement.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ServiceAffectsElement.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ServiceAffectsElement.h 2008-08-07 23:35:10 UTC (rev 826) @@ -655,4 +655,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define ServiceAffectsElement_ClassName "Linux_BootServiceAffectsElement" + #endif /* _konkrete_ServiceAffectsElement_h */ Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/SourceSetting.h =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/SourceSetting.h 2008-08-07 23:31:20 UTC (rev 825) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/SourceSetting.h 2008-08-07 23:35:10 UTC (rev 826) @@ -841,4 +841,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define SourceSetting_ClassName "Linux_GrubBootSourceSetting" + #endif /* _konkrete_SourceSetting_h */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-07 23:31:10
|
Revision: 825 http://omc.svn.sourceforge.net/omc/?rev=825&view=rev Author: mike-brasher Date: 2008-08-07 23:31:20 +0000 (Thu, 07 Aug 2008) Log Message: ----------- Removed trace statement. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPortProvider.c Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPortProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPortProvider.c 2008-08-07 23:27:35 UTC (rev 824) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPortProvider.c 2008-08-07 23:31:20 UTC (rev 825) @@ -47,8 +47,6 @@ struct EthernetPortResource* p; EthernetPort x; -printf("EthernetPortEnumInstanceNames()\n"); - /* Get interface info list */ if ((info = GetEthernetPortResources()) == NULL) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-07 23:27:25
|
Revision: 824 http://omc.svn.sourceforge.net/omc/?rev=824&view=rev Author: mike-brasher Date: 2008-08-07 23:27:35 +0000 (Thu, 07 Aug 2008) Log Message: ----------- Added mof file to distribution list. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/Makefile.am cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/Makefile.am Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/Makefile.am =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/Makefile.am 2008-08-07 23:24:58 UTC (rev 823) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/Makefile.am 2008-08-07 23:27:35 UTC (rev 824) @@ -1,5 +1,6 @@ mof_DATA = \ linux-ethernet-port-profile.mof \ + linux-ethernet-port-profile-interop.mof \ linux-ethernet-port-profile.registration mofdir = $(datadir)/mof/$(PACKAGE_NAME) Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/Makefile.am =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/Makefile.am 2008-08-07 23:24:58 UTC (rev 823) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/Makefile.am 2008-08-07 23:27:35 UTC (rev 824) @@ -3,9 +3,33 @@ providerdir = $(libdir)/cmpi liblinux_ethportprovider_la_SOURCES = \ + CIM_Capabilities.h \ + CIM_Component.h \ + CIM_ComputerSystem.h \ CIM_ConcreteJob.h \ + CIM_Dependency.h \ + CIM_DeviceSAPImplementation.h \ + CIM_ElementCapabilities.h \ + CIM_ElementConformsToProfile.h \ + CIM_EnabledLogicalElementCapabilities.h \ + CIM_EnabledLogicalElement.h \ + CIM_EthernetPort.h \ + CIM_HostedAccessPoint.h \ + CIM_HostedDependency.h \ + CIM_Job.h \ + CIM_LANEndpoint.h \ + CIM_LogicalDevice.h \ + CIM_LogicalElement.h \ + CIM_LogicalPort.h \ + CIM_ManagedElement.h \ + CIM_ManagedSystemElement.h \ + CIM_NetworkPort.h \ + CIM_ProtocolEndpoint.h \ + CIM_ReferencedProfile.h \ CIM_RegisteredProfile.h \ CIM_ServiceAccessPoint.h \ + CIM_SystemComponent.h \ + CIM_SystemDevice.h \ CIM_System.h \ common.c \ common.h \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-07 23:24:48
|
Revision: 823 http://omc.svn.sourceforge.net/omc/?rev=823&view=rev Author: mike-brasher Date: 2008-08-07 23:24:58 +0000 (Thu, 07 Aug 2008) Log Message: ----------- Extra class dependencies. Added Paths: ----------- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_Capabilities.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_Component.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ComputerSystem.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_Dependency.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_DeviceSAPImplementation.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ElementCapabilities.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ElementConformsToProfile.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_EnabledLogicalElement.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_EnabledLogicalElementCapabilities.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_EthernetPort.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_HostedAccessPoint.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_HostedDependency.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_Job.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_LANEndpoint.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_LogicalDevice.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_LogicalElement.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_LogicalPort.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ManagedElement.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ManagedSystemElement.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_NetworkPort.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ProtocolEndpoint.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ReferencedProfile.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_SystemComponent.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_SystemDevice.h Added: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_Capabilities.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_Capabilities.h (rev 0) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_Capabilities.h 2008-08-07 23:24:58 UTC (rev 823) @@ -0,0 +1,523 @@ +/* +**============================================================================== +** +** CAUTION: This file generated by KonkretCMPI. Please do not edit. +** +**============================================================================== +*/ + +#ifndef _konkrete_CIM_Capabilities_h +#define _konkrete_CIM_Capabilities_h + +#include <konkret/konkret.h> + +/* +**============================================================================== +** +** struct CIM_CapabilitiesRef +** +**============================================================================== +*/ + +/* classname=CIM_Capabilities */ +typedef struct _CIM_CapabilitiesRef +{ + KBase __base; + /* CIM_ManagedElement features */ + /* CIM_Capabilities features */ + const KString InstanceID; +} +CIM_CapabilitiesRef; + +static const unsigned char __CIM_CapabilitiesRef_sig[] = +{ + 0x10,0x43,0x49,0x4d,0x5f,0x43,0x61,0x70,0x61,0x62,0x69,0x6c,0x69,0x74,0x69, + 0x65,0x73,0x00,0x01,0x4c,0x0a,0x49,0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x49, + 0x44,0x00, +}; + +KINLINE void CIM_CapabilitiesRef_Init( + CIM_CapabilitiesRef* self, + const CMPIBroker* cb, + const char* ns) +{ + const unsigned char* sig = __CIM_CapabilitiesRef_sig; + KBase_Init(&self->__base, cb, sizeof(*self), sig, ns); +} + +KINLINE CMPIStatus CIM_CapabilitiesRef_InitFromInstance( + CIM_CapabilitiesRef* self, + const CMPIBroker* cb, + const CMPIInstance* x) +{ + CIM_CapabilitiesRef_Init(self, cb, NULL); + return KBase_FromInstance(&self->__base, x); +} + +KINLINE CMPIStatus CIM_CapabilitiesRef_InitFromObjectPath( + CIM_CapabilitiesRef* self, + const CMPIBroker* cb, + const CMPIObjectPath* x) +{ + CIM_CapabilitiesRef_Init(self, cb, NULL); + return KBase_FromObjectPath(&self->__base, x); +} + +KINLINE void CIM_CapabilitiesRef_Print( + const CIM_CapabilitiesRef* self, + FILE* os) +{ + KBase_Print(os, &self->__base, 'r'); +} + +KINLINE CMPIInstance* CIM_CapabilitiesRef_ToInstance( + const CIM_CapabilitiesRef* self, + CMPIStatus* status) +{ + return KBase_ToInstance(&self->__base, status); +} + +KINLINE CMPIObjectPath* CIM_CapabilitiesRef_ToObjectPath( + const CIM_CapabilitiesRef* self, + CMPIStatus* status) +{ + return KBase_ToObjectPath(&self->__base, status); +} + +KINLINE const char* CIM_CapabilitiesRef_NameSpace( + CIM_CapabilitiesRef* self) +{ + if (self && self->__base.magic == KMAGIC) + return self->__base.ns ? KChars(self->__base.ns) : NULL; + return NULL; +} + +KINLINE void CIM_CapabilitiesRef_SetString_InstanceID( + CIM_CapabilitiesRef* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->InstanceID; + KString_SetString(field, x); + } +} + +KINLINE void CIM_CapabilitiesRef_Set_InstanceID( + CIM_CapabilitiesRef* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->InstanceID; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_CapabilitiesRef_Null_InstanceID( + CIM_CapabilitiesRef* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->InstanceID; + KString_Null(field); + } +} + +KINLINE void CIM_CapabilitiesRef_Clr_InstanceID( + CIM_CapabilitiesRef* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->InstanceID; + KString_Clr(field); + } +} + +/* +**============================================================================== +** +** struct CIM_Capabilities +** +**============================================================================== +*/ + +/* classname=CIM_Capabilities */ +typedef struct _CIM_Capabilities +{ + KBase __base; + /* CIM_ManagedElement features */ + const KString Caption; + const KString Description; + const KString ElementName; + /* CIM_Capabilities features */ + const KString InstanceID; +} +CIM_Capabilities; + +static const unsigned char __CIM_Capabilities_sig[] = +{ + 0x10,0x43,0x49,0x4d,0x5f,0x43,0x61,0x70,0x61,0x62,0x69,0x6c,0x69,0x74,0x69, + 0x65,0x73,0x00,0x04,0x0c,0x07,0x43,0x61,0x70,0x74,0x69,0x6f,0x6e,0x00,0x0c, + 0x0b,0x44,0x65,0x73,0x63,0x72,0x69,0x70,0x74,0x69,0x6f,0x6e,0x00,0x0c,0x0b, + 0x45,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x4e,0x61,0x6d,0x65,0x00,0x4c,0x0a,0x49, + 0x6e,0x73,0x74,0x61,0x6e,0x63,0x65,0x49,0x44,0x00, +}; + +KINLINE void CIM_Capabilities_Init( + CIM_Capabilities* self, + const CMPIBroker* cb, + const char* ns) +{ + const unsigned char* sig = __CIM_Capabilities_sig; + KBase_Init(&self->__base, cb, sizeof(*self), sig, ns); +} + +KINLINE CMPIStatus CIM_Capabilities_InitFromInstance( + CIM_Capabilities* self, + const CMPIBroker* cb, + const CMPIInstance* x) +{ + CIM_Capabilities_Init(self, cb, NULL); + return KBase_FromInstance(&self->__base, x); +} + +KINLINE CMPIStatus CIM_Capabilities_InitFromObjectPath( + CIM_Capabilities* self, + const CMPIBroker* cb, + const CMPIObjectPath* x) +{ + CIM_Capabilities_Init(self, cb, NULL); + return KBase_FromObjectPath(&self->__base, x); +} + +KINLINE void CIM_Capabilities_Print( + const CIM_Capabilities* self, + FILE* os) +{ + KBase_Print(os, &self->__base, 'i'); +} + +KINLINE CMPIInstance* CIM_Capabilities_ToInstance( + const CIM_Capabilities* self, + CMPIStatus* status) +{ + return KBase_ToInstance(&self->__base, status); +} + +KINLINE CMPIObjectPath* CIM_Capabilities_ToObjectPath( + const CIM_Capabilities* self, + CMPIStatus* status) +{ + return KBase_ToObjectPath(&self->__base, status); +} + +KINLINE const char* CIM_Capabilities_NameSpace( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + return self->__base.ns ? KChars(self->__base.ns) : NULL; + return NULL; +} + +KINLINE void CIM_Capabilities_SetString_Caption( + CIM_Capabilities* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Caption; + KString_SetString(field, x); + } +} + +KINLINE void CIM_Capabilities_Set_Caption( + CIM_Capabilities* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Caption; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_Capabilities_Null_Caption( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Caption; + KString_Null(field); + } +} + +KINLINE void CIM_Capabilities_Clr_Caption( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Caption; + KString_Clr(field); + } +} + +KINLINE void CIM_Capabilities_SetString_Description( + CIM_Capabilities* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Description; + KString_SetString(field, x); + } +} + +KINLINE void CIM_Capabilities_Set_Description( + CIM_Capabilities* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Description; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_Capabilities_Null_Description( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Description; + KString_Null(field); + } +} + +KINLINE void CIM_Capabilities_Clr_Description( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Description; + KString_Clr(field); + } +} + +KINLINE void CIM_Capabilities_SetString_ElementName( + CIM_Capabilities* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->ElementName; + KString_SetString(field, x); + } +} + +KINLINE void CIM_Capabilities_Set_ElementName( + CIM_Capabilities* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->ElementName; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_Capabilities_Null_ElementName( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->ElementName; + KString_Null(field); + } +} + +KINLINE void CIM_Capabilities_Clr_ElementName( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->ElementName; + KString_Clr(field); + } +} + +KINLINE void CIM_Capabilities_SetString_InstanceID( + CIM_Capabilities* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->InstanceID; + KString_SetString(field, x); + } +} + +KINLINE void CIM_Capabilities_Set_InstanceID( + CIM_Capabilities* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->InstanceID; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_Capabilities_Null_InstanceID( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->InstanceID; + KString_Null(field); + } +} + +KINLINE void CIM_Capabilities_Clr_InstanceID( + CIM_Capabilities* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->InstanceID; + KString_Clr(field); + } +} + +/* classname=CIM_Capabilities */ +typedef struct _CIM_Capabilities_CreateGoalSettings_Args +{ + KBase __base; + /* IN */ + KStringA TemplateGoalSettings; + /* IN OUT */ + KStringA SupportedGoalSettings; +} +CIM_Capabilities_CreateGoalSettings_Args; + +static const unsigned char __CIM_Capabilities_CreateGoalSettings_Args_sig[] = +{ + 0x12,0x43,0x72,0x65,0x61,0x74,0x65,0x47,0x6f,0x61,0x6c,0x53,0x65,0x74,0x74, + 0x69,0x6e,0x67,0x73,0x00,0x02,0xac,0x14,0x54,0x65,0x6d,0x70,0x6c,0x61,0x74, + 0x65,0x47,0x6f,0x61,0x6c,0x53,0x65,0x74,0x74,0x69,0x6e,0x67,0x73,0x00,0xbc, + 0x15,0x53,0x75,0x70,0x70,0x6f,0x72,0x74,0x65,0x64,0x47,0x6f,0x61,0x6c,0x53, + 0x65,0x74,0x74,0x69,0x6e,0x67,0x73,0x00, +}; + +KINLINE void CIM_Capabilities_CreateGoalSettings_Args_Init( + CIM_Capabilities_CreateGoalSettings_Args* self, + const CMPIBroker* cb) +{ + const unsigned char* sig = __CIM_Capabilities_CreateGoalSettings_Args_sig; + KBase_Init(&self->__base, cb, sizeof(*self), sig, NULL); +} + +KINLINE CMPIStatus CIM_Capabilities_CreateGoalSettings_Args_InitFromArgs( + CIM_Capabilities_CreateGoalSettings_Args* self, + const CMPIBroker* cb, + const CMPIArgs* x, + CMPIBoolean in, + CMPIBoolean out) +{ + CIM_Capabilities_CreateGoalSettings_Args_Init(self, cb); + return KBase_FromArgs(&self->__base, x, in, out); +} + +KINLINE CMPIArgs* CIM_Capabilities_CreateGoalSettings_Args_ToArgs( + const CIM_Capabilities_CreateGoalSettings_Args* self, + CMPIBoolean in, + CMPIBoolean out, + CMPIStatus* status) +{ + return KBase_ToArgs(&self->__base, in, out, status); +} + +KINLINE CMPIStatus CIM_Capabilities_CreateGoalSettings_Args_SetArgs( + const CIM_Capabilities_CreateGoalSettings_Args* self, + CMPIBoolean in, + CMPIBoolean out, + CMPIArgs* ca) +{ + return KBase_SetToArgs(&self->__base, in, out, ca); +} + +KINLINE void CIM_Capabilities_CreateGoalSettings_Args_Print( + const CIM_Capabilities_CreateGoalSettings_Args* self, + FILE* os) +{ + KBase_Print(os, &self->__base, 'a'); +} + +/* +**============================================================================== +** +** CIM_Capabilities methods +** +**============================================================================== +*/ + +KEXTERN KUint16 CIM_Capabilities_CreateGoalSettings( + const CMPIBroker* cb, + CMPIMethodMI* mi, + const CMPIContext* context, + const CIM_CapabilitiesRef* self, + const KStringA* TemplateGoalSettings, + KStringA* SupportedGoalSettings, + CMPIStatus* status); + +KINLINE CMPIStatus CIM_Capabilities_DispatchMethod( + const CMPIBroker* cb, + CMPIMethodMI* mi, + const CMPIContext* cc, + const CMPIResult* cr, + const CMPIObjectPath* cop, + const char* meth, + const CMPIArgs* in, + CMPIArgs* out) +{ + CIM_CapabilitiesRef self; + + KReturnIf(CIM_CapabilitiesRef_InitFromObjectPath(&self, cb, cop)); + + if (strcasecmp(meth, "CreateGoalSettings") == 0) + { + CMPIStatus st = KSTATUS_INIT; + CIM_Capabilities_CreateGoalSettings_Args args; + KUint16 r; + + KReturnIf(CIM_Capabilities_CreateGoalSettings_Args_InitFromArgs( + &args, cb, in, 1, 0)); + + r = CIM_Capabilities_CreateGoalSettings( + cb, + mi, + cc, + &self, + &args.TemplateGoalSettings, + &args.SupportedGoalSettings, + &st); + + if (!KOkay(st)) + return st; + + if (!r.exists) + KReturn(ERR_FAILED); + + KReturnIf(CIM_Capabilities_CreateGoalSettings_Args_SetArgs( + &args, 0, 1, out)); + KReturnUint16Data(cr, &r); + CMReturnDone(cr); + + KReturn(OK); + } + + KReturn(ERR_METHOD_NOT_FOUND); +} + +#define CIM_Capabilities_ClassName "CIM_Capabilities" + +#endif /* _konkrete_CIM_Capabilities_h */ Added: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_Component.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_Component.h (rev 0) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_Component.h 2008-08-07 23:24:58 UTC (rev 823) @@ -0,0 +1,383 @@ +/* +**============================================================================== +** +** CAUTION: This file generated by KonkretCMPI. Please do not edit. +** +**============================================================================== +*/ + +#ifndef _konkrete_CIM_Component_h +#define _konkrete_CIM_Component_h + +#include <konkret/konkret.h> +#include "CIM_ManagedElement.h" + +/* +**============================================================================== +** +** struct CIM_ComponentRef +** +**============================================================================== +*/ + +/* classname=CIM_Component */ +typedef struct _CIM_ComponentRef +{ + KBase __base; + /* CIM_Component features */ + const KRef GroupComponent; /* CIM_ManagedElement */ + const KRef PartComponent; /* CIM_ManagedElement */ +} +CIM_ComponentRef; + +static const unsigned char __CIM_ComponentRef_sig[] = +{ + 0x0d,0x43,0x49,0x4d,0x5f,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x00, + 0x02,0x4e,0x0e,0x47,0x72,0x6f,0x75,0x70,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65, + 0x6e,0x74,0x00,0x4e,0x0d,0x50,0x61,0x72,0x74,0x43,0x6f,0x6d,0x70,0x6f,0x6e, + 0x65,0x6e,0x74,0x00, +}; + +KINLINE void CIM_ComponentRef_Init( + CIM_ComponentRef* self, + const CMPIBroker* cb, + const char* ns) +{ + const unsigned char* sig = __CIM_ComponentRef_sig; + KBase_Init(&self->__base, cb, sizeof(*self), sig, ns); + ((KRef*)&self->GroupComponent)->__sig = __CIM_ManagedElement_sig; + ((KRef*)&self->PartComponent)->__sig = __CIM_ManagedElement_sig; +} + +KINLINE CMPIStatus CIM_ComponentRef_InitFromInstance( + CIM_ComponentRef* self, + const CMPIBroker* cb, + const CMPIInstance* x) +{ + CIM_ComponentRef_Init(self, cb, NULL); + return KBase_FromInstance(&self->__base, x); +} + +KINLINE CMPIStatus CIM_ComponentRef_InitFromObjectPath( + CIM_ComponentRef* self, + const CMPIBroker* cb, + const CMPIObjectPath* x) +{ + CIM_ComponentRef_Init(self, cb, NULL); + return KBase_FromObjectPath(&self->__base, x); +} + +KINLINE void CIM_ComponentRef_Print( + const CIM_ComponentRef* self, + FILE* os) +{ + KBase_Print(os, &self->__base, 'r'); +} + +KINLINE CMPIInstance* CIM_ComponentRef_ToInstance( + const CIM_ComponentRef* self, + CMPIStatus* status) +{ + return KBase_ToInstance(&self->__base, status); +} + +KINLINE CMPIObjectPath* CIM_ComponentRef_ToObjectPath( + const CIM_ComponentRef* self, + CMPIStatus* status) +{ + return KBase_ToObjectPath(&self->__base, status); +} + +KINLINE const char* CIM_ComponentRef_NameSpace( + CIM_ComponentRef* self) +{ + if (self && self->__base.magic == KMAGIC) + return self->__base.ns ? KChars(self->__base.ns) : NULL; + return NULL; +} + +KINLINE void CIM_ComponentRef_SetObjectPath_GroupComponent( + CIM_ComponentRef* self, + const CMPIObjectPath* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KRef* field = (KRef*)&self->GroupComponent; + KRef_SetObjectPath(field, x); + } +} + +KINLINE CMPIStatus CIM_ComponentRef_Set_GroupComponent( + CIM_ComponentRef* self, + const CIM_ManagedElementRef* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KRef* field = (KRef*)&self->GroupComponent; + return KRef_Set(field, &x->__base); + } + CMReturn(CMPI_RC_ERR_FAILED); +} + +KINLINE void CIM_ComponentRef_Null_GroupComponent( + CIM_ComponentRef* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KRef* field = (KRef*)&self->GroupComponent; + KRef_Null(field); + } +} + +KINLINE void CIM_ComponentRef_Clr_GroupComponent( + CIM_ComponentRef* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KRef* field = (KRef*)&self->GroupComponent; + KRef_Clr(field); + } +} + +KINLINE void CIM_ComponentRef_SetObjectPath_PartComponent( + CIM_ComponentRef* self, + const CMPIObjectPath* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KRef* field = (KRef*)&self->PartComponent; + KRef_SetObjectPath(field, x); + } +} + +KINLINE CMPIStatus CIM_ComponentRef_Set_PartComponent( + CIM_ComponentRef* self, + const CIM_ManagedElementRef* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KRef* field = (KRef*)&self->PartComponent; + return KRef_Set(field, &x->__base); + } + CMReturn(CMPI_RC_ERR_FAILED); +} + +KINLINE void CIM_ComponentRef_Null_PartComponent( + CIM_ComponentRef* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KRef* field = (KRef*)&self->PartComponent; + KRef_Null(field); + } +} + +KINLINE void CIM_ComponentRef_Clr_PartComponent( + CIM_ComponentRef* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KRef* field = (KRef*)&self->PartComponent; + KRef_Clr(field); + } +} + +/* +**============================================================================== +** +** struct CIM_Component +** +**============================================================================== +*/ + +/* classname=CIM_Component */ +typedef struct _CIM_Component +{ + KBase __base; + /* CIM_Component features */ + const KRef GroupComponent; /* CIM_ManagedElement */ + const KRef PartComponent; /* CIM_ManagedElement */ +} +CIM_Component; + +static const unsigned char __CIM_Component_sig[] = +{ + 0x0d,0x43,0x49,0x4d,0x5f,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x00, + 0x02,0x4e,0x0e,0x47,0x72,0x6f,0x75,0x70,0x43,0x6f,0x6d,0x70,0x6f,0x6e,0x65, + 0x6e,0x74,0x00,0x4e,0x0d,0x50,0x61,0x72,0x74,0x43,0x6f,0x6d,0x70,0x6f,0x6e, + 0x65,0x6e,0x74,0x00, +}; + +KINLINE void CIM_Component_Init( + CIM_Component* self, + const CMPIBroker* cb, + const char* ns) +{ + const unsigned char* sig = __CIM_Component_sig; + KBase_Init(&self->__base, cb, sizeof(*self), sig, ns); + ((KRef*)&self->GroupComponent)->__sig = __CIM_ManagedElement_sig; + ((KRef*)&self->PartComponent)->__sig = __CIM_ManagedElement_sig; +} + +KINLINE CMPIStatus CIM_Component_InitFromInstance( + CIM_Component* self, + const CMPIBroker* cb, + const CMPIInstance* x) +{ + CIM_Component_Init(self, cb, NULL); + return KBase_FromInstance(&self->__base, x); +} + +KINLINE CMPIStatus CIM_Component_InitFromObjectPath( + CIM_Component* self, + const CMPIBroker* cb, + const CMPIObjectPath* x) +{ + CIM_Component_Init(self, cb, NULL); + return KBase_FromObjectPath(&self->__base, x); +} + +KINLINE void CIM_Component_Print( + const CIM_Component* self, + FILE* os) +{ + KBase_Print(os, &self->__base, 'i'); +} + +KINLINE CMPIInstance* CIM_Component_ToInstance( + const CIM_Component* self, + CMPIStatus* status) +{ + return KBase_ToInstance(&self->__base, status); +} + +KINLINE CMPIObjectPath* CIM_Component_ToObjectPath( + const CIM_Component* self, + CMPIStatus* status) +{ + return KBase_ToObjectPath(&self->__base, status); +} + +KINLINE const char* CIM_Component_NameSpace( + CIM_Component* self) +{ + if (self && self->__base.magic == KMAGIC) + return self->__base.ns ? KChars(self->__base.ns) : NULL; + return NULL; +} + +KINLINE void CIM_Component_SetObjectPath_GroupComponent( + CIM_Component* self, + const CMPIObjectPath* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KRef* field = (KRef*)&self->GroupComponent; + KRef_SetObjectPath(field, x); + } +} + +KINLINE CMPIStatus CIM_Component_Set_GroupComponent( + CIM_Component* self, + const CIM_ManagedElementRef* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KRef* field = (KRef*)&self->GroupComponent; + return KRef_Set(field, &x->__base); + } + CMReturn(CMPI_RC_ERR_FAILED); +} + +KINLINE void CIM_Component_Null_GroupComponent( + CIM_Component* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KRef* field = (KRef*)&self->GroupComponent; + KRef_Null(field); + } +} + +KINLINE void CIM_Component_Clr_GroupComponent( + CIM_Component* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KRef* field = (KRef*)&self->GroupComponent; + KRef_Clr(field); + } +} + +KINLINE void CIM_Component_SetObjectPath_PartComponent( + CIM_Component* self, + const CMPIObjectPath* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KRef* field = (KRef*)&self->PartComponent; + KRef_SetObjectPath(field, x); + } +} + +KINLINE CMPIStatus CIM_Component_Set_PartComponent( + CIM_Component* self, + const CIM_ManagedElementRef* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KRef* field = (KRef*)&self->PartComponent; + return KRef_Set(field, &x->__base); + } + CMReturn(CMPI_RC_ERR_FAILED); +} + +KINLINE void CIM_Component_Null_PartComponent( + CIM_Component* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KRef* field = (KRef*)&self->PartComponent; + KRef_Null(field); + } +} + +KINLINE void CIM_Component_Clr_PartComponent( + CIM_Component* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KRef* field = (KRef*)&self->PartComponent; + KRef_Clr(field); + } +} + +/* +**============================================================================== +** +** CIM_Component methods +** +**============================================================================== +*/ + +KINLINE CMPIStatus CIM_Component_DispatchMethod( + const CMPIBroker* cb, + CMPIMethodMI* mi, + const CMPIContext* cc, + const CMPIResult* cr, + const CMPIObjectPath* cop, + const char* meth, + const CMPIArgs* in, + CMPIArgs* out) +{ + CIM_ComponentRef self; + + KReturnIf(CIM_ComponentRef_InitFromObjectPath(&self, cb, cop)); + + + KReturn(ERR_METHOD_NOT_FOUND); +} + +#define CIM_Component_ClassName "CIM_Component" + +#endif /* _konkrete_CIM_Component_h */ Added: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ComputerSystem.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ComputerSystem.h (rev 0) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ComputerSystem.h 2008-08-07 23:24:58 UTC (rev 823) @@ -0,0 +1,3063 @@ +/* +**============================================================================== +** +** CAUTION: This file generated by KonkretCMPI. Please do not edit. +** +**============================================================================== +*/ + +#ifndef _konkrete_CIM_ComputerSystem_h +#define _konkrete_CIM_ComputerSystem_h + +#include <konkret/konkret.h> +#include "CIM_ConcreteJob.h" + +/* +**============================================================================== +** +** struct CIM_ComputerSystemRef +** +**============================================================================== +*/ + +/* classname=CIM_ComputerSystem */ +typedef struct _CIM_ComputerSystemRef +{ + KBase __base; + /* CIM_ManagedElement features */ + /* CIM_ManagedSystemElement features */ + const KString Name; + /* CIM_LogicalElement features */ + /* CIM_EnabledLogicalElement features */ + /* CIM_System features */ + const KString CreationClassName; + /* CIM_ComputerSystem features */ +} +CIM_ComputerSystemRef; + +static const unsigned char __CIM_ComputerSystemRef_sig[] = +{ + 0x12,0x43,0x49,0x4d,0x5f,0x43,0x6f,0x6d,0x70,0x75,0x74,0x65,0x72,0x53,0x79, + 0x73,0x74,0x65,0x6d,0x00,0x02,0x4c,0x04,0x4e,0x61,0x6d,0x65,0x00,0x4c,0x11, + 0x43,0x72,0x65,0x61,0x74,0x69,0x6f,0x6e,0x43,0x6c,0x61,0x73,0x73,0x4e,0x61, + 0x6d,0x65,0x00, +}; + +KINLINE void CIM_ComputerSystemRef_Init( + CIM_ComputerSystemRef* self, + const CMPIBroker* cb, + const char* ns) +{ + const unsigned char* sig = __CIM_ComputerSystemRef_sig; + KBase_Init(&self->__base, cb, sizeof(*self), sig, ns); +} + +KINLINE CMPIStatus CIM_ComputerSystemRef_InitFromInstance( + CIM_ComputerSystemRef* self, + const CMPIBroker* cb, + const CMPIInstance* x) +{ + CIM_ComputerSystemRef_Init(self, cb, NULL); + return KBase_FromInstance(&self->__base, x); +} + +KINLINE CMPIStatus CIM_ComputerSystemRef_InitFromObjectPath( + CIM_ComputerSystemRef* self, + const CMPIBroker* cb, + const CMPIObjectPath* x) +{ + CIM_ComputerSystemRef_Init(self, cb, NULL); + return KBase_FromObjectPath(&self->__base, x); +} + +KINLINE void CIM_ComputerSystemRef_Print( + const CIM_ComputerSystemRef* self, + FILE* os) +{ + KBase_Print(os, &self->__base, 'r'); +} + +KINLINE CMPIInstance* CIM_ComputerSystemRef_ToInstance( + const CIM_ComputerSystemRef* self, + CMPIStatus* status) +{ + return KBase_ToInstance(&self->__base, status); +} + +KINLINE CMPIObjectPath* CIM_ComputerSystemRef_ToObjectPath( + const CIM_ComputerSystemRef* self, + CMPIStatus* status) +{ + return KBase_ToObjectPath(&self->__base, status); +} + +KINLINE const char* CIM_ComputerSystemRef_NameSpace( + CIM_ComputerSystemRef* self) +{ + if (self && self->__base.magic == KMAGIC) + return self->__base.ns ? KChars(self->__base.ns) : NULL; + return NULL; +} + +KINLINE void CIM_ComputerSystemRef_SetString_Name( + CIM_ComputerSystemRef* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Name; + KString_SetString(field, x); + } +} + +KINLINE void CIM_ComputerSystemRef_Set_Name( + CIM_ComputerSystemRef* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Name; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_ComputerSystemRef_Null_Name( + CIM_ComputerSystemRef* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Name; + KString_Null(field); + } +} + +KINLINE void CIM_ComputerSystemRef_Clr_Name( + CIM_ComputerSystemRef* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Name; + KString_Clr(field); + } +} + +KINLINE void CIM_ComputerSystemRef_SetString_CreationClassName( + CIM_ComputerSystemRef* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->CreationClassName; + KString_SetString(field, x); + } +} + +KINLINE void CIM_ComputerSystemRef_Set_CreationClassName( + CIM_ComputerSystemRef* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->CreationClassName; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_ComputerSystemRef_Null_CreationClassName( + CIM_ComputerSystemRef* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->CreationClassName; + KString_Null(field); + } +} + +KINLINE void CIM_ComputerSystemRef_Clr_CreationClassName( + CIM_ComputerSystemRef* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->CreationClassName; + KString_Clr(field); + } +} + +/* +**============================================================================== +** +** struct CIM_ComputerSystem +** +**============================================================================== +*/ + +/* classname=CIM_ComputerSystem */ +typedef struct _CIM_ComputerSystem +{ + KBase __base; + /* CIM_ManagedElement features */ + const KString Caption; + const KString Description; + const KString ElementName; + /* CIM_ManagedSystemElement features */ + const KDateTime InstallDate; + const KString Name; + const KUint16A OperationalStatus; + const KStringA StatusDescriptions; + const KString Status; + const KUint16 HealthState; + const KUint16 PrimaryStatus; + const KUint16 DetailedStatus; + const KUint16 OperatingStatus; + const KUint16 CommunicationStatus; + /* CIM_LogicalElement features */ + /* CIM_EnabledLogicalElement features */ + const KUint16 EnabledState; + const KString OtherEnabledState; + const KUint16 RequestedState; + const KUint16 EnabledDefault; + const KDateTime TimeOfLastStateChange; + const KUint16A AvailableRequestedStates; + const KUint16 TransitioningToState; + /* CIM_System features */ + const KString CreationClassName; + const KString NameFormat; + const KString PrimaryOwnerName; + const KString PrimaryOwnerContact; + const KStringA Roles; + const KStringA OtherIdentifyingInfo; + const KStringA IdentifyingDescriptions; + /* CIM_ComputerSystem features */ + const KUint16A Dedicated; + const KStringA OtherDedicatedDescriptions; + const KUint16 ResetCapability; + const KUint16A PowerManagementCapabilities; +} +CIM_ComputerSystem; + +static const unsigned char __CIM_ComputerSystem_sig[] = +{ + 0x12,0x43,0x49,0x4d,0x5f,0x43,0x6f,0x6d,0x70,0x75,0x74,0x65,0x72,0x53,0x79, + 0x73,0x74,0x65,0x6d,0x00,0x1f,0x0c,0x07,0x43,0x61,0x70,0x74,0x69,0x6f,0x6e, + 0x00,0x0c,0x0b,0x44,0x65,0x73,0x63,0x72,0x69,0x70,0x74,0x69,0x6f,0x6e,0x00, + 0x0c,0x0b,0x45,0x6c,0x65,0x6d,0x65,0x6e,0x74,0x4e,0x61,0x6d,0x65,0x00,0x0d, + 0x0b,0x49,0x6e,0x73,0x74,0x61,0x6c,0x6c,0x44,0x61,0x74,0x65,0x00,0x4c,0x04, + 0x4e,0x61,0x6d,0x65,0x00,0x83,0x11,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f, + 0x6e,0x61,0x6c,0x53,0x74,0x61,0x74,0x75,0x73,0x00,0x8c,0x12,0x53,0x74,0x61, + 0x74,0x75,0x73,0x44,0x65,0x73,0x63,0x72,0x69,0x70,0x74,0x69,0x6f,0x6e,0x73, + 0x00,0x0c,0x06,0x53,0x74,0x61,0x74,0x75,0x73,0x00,0x03,0x0b,0x48,0x65,0x61, + 0x6c,0x74,0x68,0x53,0x74,0x61,0x74,0x65,0x00,0x03,0x0d,0x50,0x72,0x69,0x6d, + 0x61,0x72,0x79,0x53,0x74,0x61,0x74,0x75,0x73,0x00,0x03,0x0e,0x44,0x65,0x74, + 0x61,0x69,0x6c,0x65,0x64,0x53,0x74,0x61,0x74,0x75,0x73,0x00,0x03,0x0f,0x4f, + 0x70,0x65,0x72,0x61,0x74,0x69,0x6e,0x67,0x53,0x74,0x61,0x74,0x75,0x73,0x00, + 0x03,0x13,0x43,0x6f,0x6d,0x6d,0x75,0x6e,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e, + 0x53,0x74,0x61,0x74,0x75,0x73,0x00,0x03,0x0c,0x45,0x6e,0x61,0x62,0x6c,0x65, + 0x64,0x53,0x74,0x61,0x74,0x65,0x00,0x0c,0x11,0x4f,0x74,0x68,0x65,0x72,0x45, + 0x6e,0x61,0x62,0x6c,0x65,0x64,0x53,0x74,0x61,0x74,0x65,0x00,0x03,0x0e,0x52, + 0x65,0x71,0x75,0x65,0x73,0x74,0x65,0x64,0x53,0x74,0x61,0x74,0x65,0x00,0x03, + 0x0e,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64,0x44,0x65,0x66,0x61,0x75,0x6c,0x74, + 0x00,0x0d,0x15,0x54,0x69,0x6d,0x65,0x4f,0x66,0x4c,0x61,0x73,0x74,0x53,0x74, + 0x61,0x74,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x00,0x83,0x18,0x41,0x76,0x61, + 0x69,0x6c,0x61,0x62,0x6c,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74,0x65,0x64, + 0x53,0x74,0x61,0x74,0x65,0x73,0x00,0x03,0x14,0x54,0x72,0x61,0x6e,0x73,0x69, + 0x74,0x69,0x6f,0x6e,0x69,0x6e,0x67,0x54,0x6f,0x53,0x74,0x61,0x74,0x65,0x00, + 0x4c,0x11,0x43,0x72,0x65,0x61,0x74,0x69,0x6f,0x6e,0x43,0x6c,0x61,0x73,0x73, + 0x4e,0x61,0x6d,0x65,0x00,0x0c,0x0a,0x4e,0x61,0x6d,0x65,0x46,0x6f,0x72,0x6d, + 0x61,0x74,0x00,0x0c,0x10,0x50,0x72,0x69,0x6d,0x61,0x72,0x79,0x4f,0x77,0x6e, + 0x65,0x72,0x4e,0x61,0x6d,0x65,0x00,0x0c,0x13,0x50,0x72,0x69,0x6d,0x61,0x72, + 0x79,0x4f,0x77,0x6e,0x65,0x72,0x43,0x6f,0x6e,0x74,0x61,0x63,0x74,0x00,0x8c, + 0x05,0x52,0x6f,0x6c,0x65,0x73,0x00,0x8c,0x14,0x4f,0x74,0x68,0x65,0x72,0x49, + 0x64,0x65,0x6e,0x74,0x69,0x66,0x79,0x69,0x6e,0x67,0x49,0x6e,0x66,0x6f,0x00, + 0x8c,0x17,0x49,0x64,0x65,0x6e,0x74,0x69,0x66,0x79,0x69,0x6e,0x67,0x44,0x65, + 0x73,0x63,0x72,0x69,0x70,0x74,0x69,0x6f,0x6e,0x73,0x00,0x83,0x09,0x44,0x65, + 0x64,0x69,0x63,0x61,0x74,0x65,0x64,0x00,0x8c,0x1a,0x4f,0x74,0x68,0x65,0x72, + 0x44,0x65,0x64,0x69,0x63,0x61,0x74,0x65,0x64,0x44,0x65,0x73,0x63,0x72,0x69, + 0x70,0x74,0x69,0x6f,0x6e,0x73,0x00,0x03,0x0f,0x52,0x65,0x73,0x65,0x74,0x43, + 0x61,0x70,0x61,0x62,0x69,0x6c,0x69,0x74,0x79,0x00,0x83,0x1b,0x50,0x6f,0x77, + 0x65,0x72,0x4d,0x61,0x6e,0x61,0x67,0x65,0x6d,0x65,0x6e,0x74,0x43,0x61,0x70, + 0x61,0x62,0x69,0x6c,0x69,0x74,0x69,0x65,0x73,0x00, +}; + +KINLINE void CIM_ComputerSystem_Init( + CIM_ComputerSystem* self, + const CMPIBroker* cb, + const char* ns) +{ + const unsigned char* sig = __CIM_ComputerSystem_sig; + KBase_Init(&self->__base, cb, sizeof(*self), sig, ns); +} + +KINLINE CMPIStatus CIM_ComputerSystem_InitFromInstance( + CIM_ComputerSystem* self, + const CMPIBroker* cb, + const CMPIInstance* x) +{ + CIM_ComputerSystem_Init(self, cb, NULL); + return KBase_FromInstance(&self->__base, x); +} + +KINLINE CMPIStatus CIM_ComputerSystem_InitFromObjectPath( + CIM_ComputerSystem* self, + const CMPIBroker* cb, + const CMPIObjectPath* x) +{ + CIM_ComputerSystem_Init(self, cb, NULL); + return KBase_FromObjectPath(&self->__base, x); +} + +KINLINE void CIM_ComputerSystem_Print( + const CIM_ComputerSystem* self, + FILE* os) +{ + KBase_Print(os, &self->__base, 'i'); +} + +KINLINE CMPIInstance* CIM_ComputerSystem_ToInstance( + const CIM_ComputerSystem* self, + CMPIStatus* status) +{ + return KBase_ToInstance(&self->__base, status); +} + +KINLINE CMPIObjectPath* CIM_ComputerSystem_ToObjectPath( + const CIM_ComputerSystem* self, + CMPIStatus* status) +{ + return KBase_ToObjectPath(&self->__base, status); +} + +KINLINE const char* CIM_ComputerSystem_NameSpace( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + return self->__base.ns ? KChars(self->__base.ns) : NULL; + return NULL; +} + +KINLINE void CIM_ComputerSystem_SetString_Caption( + CIM_ComputerSystem* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Caption; + KString_SetString(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Set_Caption( + CIM_ComputerSystem* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Caption; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_ComputerSystem_Null_Caption( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Caption; + KString_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_Caption( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Caption; + KString_Clr(field); + } +} + +KINLINE void CIM_ComputerSystem_SetString_Description( + CIM_ComputerSystem* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Description; + KString_SetString(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Set_Description( + CIM_ComputerSystem* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Description; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_ComputerSystem_Null_Description( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Description; + KString_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_Description( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Description; + KString_Clr(field); + } +} + +KINLINE void CIM_ComputerSystem_SetString_ElementName( + CIM_ComputerSystem* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->ElementName; + KString_SetString(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Set_ElementName( + CIM_ComputerSystem* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->ElementName; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_ComputerSystem_Null_ElementName( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->ElementName; + KString_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_ElementName( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->ElementName; + KString_Clr(field); + } +} + +KINLINE void CIM_ComputerSystem_Set_InstallDate( + CIM_ComputerSystem* self, + CMPIDateTime* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KDateTime* field = (KDateTime*)&self->InstallDate; + KDateTime_Set(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Null_InstallDate( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KDateTime* field = (KDateTime*)&self->InstallDate; + KDateTime_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_InstallDate( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KDateTime* field = (KDateTime*)&self->InstallDate; + KDateTime_Clr(field); + } +} + +KINLINE void CIM_ComputerSystem_SetString_Name( + CIM_ComputerSystem* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Name; + KString_SetString(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Set_Name( + CIM_ComputerSystem* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Name; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_ComputerSystem_Null_Name( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Name; + KString_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_Name( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Name; + KString_Clr(field); + } +} + +KINLINE CMPIBoolean CIM_ComputerSystem_Init_OperationalStatus( + CIM_ComputerSystem* self, + CMPICount count) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16A* field = (KUint16A*)&self->OperationalStatus; + return KUint16A_Init(field, self->__base.cb, count); + } + return 0; +} + +KINLINE void CIM_ComputerSystem_InitNull_OperationalStatus( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16A* field = (KUint16A*)&self->OperationalStatus; + KUint16A_InitNull(field); + } +} + +KINLINE CMPIBoolean CIM_ComputerSystem_Set_OperationalStatus( + CIM_ComputerSystem* self, + CMPICount i, + CMPIUint16 x) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16A* field = (KUint16A*)&self->OperationalStatus; + return KUint16A_Set(field, i, x); + } + return 0; +} + +KINLINE KUint16 CIM_ComputerSystem_Get_OperationalStatus( + CIM_ComputerSystem* self, + CMPICount i) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16A* field = (KUint16A*)&self->OperationalStatus; + return KUint16A_Get(field, i); + } + return KUint16A_Get(NULL, 0); +} + +KINLINE CMPIBoolean CIM_ComputerSystem_Null_OperationalStatus( + CIM_ComputerSystem* self, + CMPICount i) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16A* field = (KUint16A*)&self->OperationalStatus; + return KUint16A_Null(field, i); + } + return 0; +} + +KINLINE void CIM_ComputerSystem_Clr_OperationalStatus( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16A* field = (KUint16A*)&self->OperationalStatus; + KUint16A_Clr(field); + } +} + +typedef enum _CIM_ComputerSystem_OperationalStatus_Enum +{ + CIM_ComputerSystem_OperationalStatus_Unknown = 0, + CIM_ComputerSystem_OperationalStatus_Other = 1, + CIM_ComputerSystem_OperationalStatus_OK = 2, + CIM_ComputerSystem_OperationalStatus_Degraded = 3, + CIM_ComputerSystem_OperationalStatus_Stressed = 4, + CIM_ComputerSystem_OperationalStatus_Predictive_Failure = 5, + CIM_ComputerSystem_OperationalStatus_Error = 6, + CIM_ComputerSystem_OperationalStatus_Non_Recoverable_Error = 7, + CIM_ComputerSystem_OperationalStatus_Starting = 8, + CIM_ComputerSystem_OperationalStatus_Stopping = 9, + CIM_ComputerSystem_OperationalStatus_Stopped = 10, + CIM_ComputerSystem_OperationalStatus_In_Service = 11, + CIM_ComputerSystem_OperationalStatus_No_Contact = 12, + CIM_ComputerSystem_OperationalStatus_Lost_Communication = 13, + CIM_ComputerSystem_OperationalStatus_Aborted = 14, + CIM_ComputerSystem_OperationalStatus_Dormant = 15, + CIM_ComputerSystem_OperationalStatus_Supporting_Entity_in_Error = 16, + CIM_ComputerSystem_OperationalStatus_Completed = 17, + CIM_ComputerSystem_OperationalStatus_Power_Mode = 18, + CIM_ComputerSystem_OperationalStatus_DMTF_Reserved = 0, + CIM_ComputerSystem_OperationalStatus_Vendor_Reserved = 0, +} +CIM_ComputerSystem_OperationalStatus_Enum; + +/* "Unknown" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Unknown(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 0) + +/* "Other" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Other(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 1) + +/* "OK" */ +#define CIM_ComputerSystem_Set_OperationalStatus_OK(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 2) + +/* "Degraded" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Degraded(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 3) + +/* "Stressed" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Stressed(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 4) + +/* "Predictive Failure" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Predictive_Failure(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 5) + +/* "Error" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Error(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 6) + +/* "Non-Recoverable Error" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Non_Recoverable_Error(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 7) + +/* "Starting" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Starting(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 8) + +/* "Stopping" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Stopping(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 9) + +/* "Stopped" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Stopped(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 10) + +/* "In Service" */ +#define CIM_ComputerSystem_Set_OperationalStatus_In_Service(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 11) + +/* "No Contact" */ +#define CIM_ComputerSystem_Set_OperationalStatus_No_Contact(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 12) + +/* "Lost Communication" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Lost_Communication(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 13) + +/* "Aborted" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Aborted(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 14) + +/* "Dormant" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Dormant(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 15) + +/* "Supporting Entity in Error" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Supporting_Entity_in_Error(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 16) + +/* "Completed" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Completed(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 17) + +/* "Power Mode" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Power_Mode(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 18) + +/* "DMTF Reserved" */ +#define CIM_ComputerSystem_Set_OperationalStatus_DMTF_Reserved(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 0) + +/* "Vendor Reserved" */ +#define CIM_ComputerSystem_Set_OperationalStatus_Vendor_Reserved(SELF, INDEX)\ + CIM_ComputerSystem_Set_OperationalStatus(SELF, INDEX, 0) + +KINLINE CMPIBoolean CIM_ComputerSystem_Init_StatusDescriptions( + CIM_ComputerSystem* self, + CMPICount count) +{ + if (self && self->__base.magic == KMAGIC) + { + KStringA* field = (KStringA*)&self->StatusDescriptions; + return KStringA_Init(field, self->__base.cb, count); + } + return 0; +} + +KINLINE void CIM_ComputerSystem_InitNull_StatusDescriptions( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KStringA* field = (KStringA*)&self->StatusDescriptions; + KStringA_InitNull(field); + } +} + +KINLINE CMPIBoolean CIM_ComputerSystem_SetString_StatusDescriptions( + CIM_ComputerSystem* self, + CMPICount i, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KStringA* field = (KStringA*)&self->StatusDescriptions; + return KStringA_SetString(field, i, x); + } + return 0; +} + +KINLINE CMPIBoolean CIM_ComputerSystem_Set_StatusDescriptions( + CIM_ComputerSystem* self, + CMPICount i, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KStringA* field = (KStringA*)&self->StatusDescriptions; + return KStringA_Set(field, self->__base.cb, i, s); + } + return 0; +} + +KINLINE KString CIM_ComputerSystem_GetString_StatusDescriptions( + CIM_ComputerSystem* self, + CMPICount i) +{ + if (self && self->__base.magic == KMAGIC) + { + KStringA* field = (KStringA*)&self->StatusDescriptions; + return KStringA_GetString(field, i); + } + return KStringA_GetString(NULL, 0); +} + +KINLINE const char* CIM_ComputerSystem_Get_StatusDescriptions( + CIM_ComputerSystem* self, + CMPICount i) +{ + if (self && self->__base.magic == KMAGIC) + { + KStringA* field = (KStringA*)&self->StatusDescriptions; + return KStringA_Get(field, i); + } + return NULL; +} + +KINLINE CMPIBoolean CIM_ComputerSystem_Null_StatusDescriptions( + CIM_ComputerSystem* self, + CMPICount i) +{ + if (self && self->__base.magic == KMAGIC) + { + KStringA* field = (KStringA*)&self->StatusDescriptions; + return KStringA_Null(field, i); + } + return 0; +} + +KINLINE void CIM_ComputerSystem_Clr_StatusDescriptions( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KStringA* field = (KStringA*)&self->StatusDescriptions; + KStringA_Clr(field); + } +} + +KINLINE void CIM_ComputerSystem_SetString_Status( + CIM_ComputerSystem* self, + CMPIString* x) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Status; + KString_SetString(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Set_Status( + CIM_ComputerSystem* self, + const char* s) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Status; + KString_Set(field, self->__base.cb, s); + } +} + +KINLINE void CIM_ComputerSystem_Null_Status( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Status; + KString_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_Status( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KString* field = (KString*)&self->Status; + KString_Clr(field); + } +} + +KINLINE void CIM_ComputerSystem_Set_HealthState( + CIM_ComputerSystem* self, + CMPIUint16 x) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->HealthState; + KUint16_Set(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Null_HealthState( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->HealthState; + KUint16_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_HealthState( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->HealthState; + KUint16_Clr(field); + } +} + +typedef enum _CIM_ComputerSystem_HealthState_Enum +{ + CIM_ComputerSystem_HealthState_Unknown = 0, + CIM_ComputerSystem_HealthState_OK = 5, + CIM_ComputerSystem_HealthState_Degraded_Warning = 10, + CIM_ComputerSystem_HealthState_Minor_failure = 15, + CIM_ComputerSystem_HealthState_Major_failure = 20, + CIM_ComputerSystem_HealthState_Critical_failure = 25, + CIM_ComputerSystem_HealthState_Non_recoverable_error = 30, + CIM_ComputerSystem_HealthState_DMTF_Reserved = 0, +} +CIM_ComputerSystem_HealthState_Enum; + +/* "Unknown" */ +#define CIM_ComputerSystem_Set_HealthState_Unknown(SELF) \ + CIM_ComputerSystem_Set_HealthState(SELF, 0) + +/* "OK" */ +#define CIM_ComputerSystem_Set_HealthState_OK(SELF) \ + CIM_ComputerSystem_Set_HealthState(SELF, 5) + +/* "Degraded/Warning" */ +#define CIM_ComputerSystem_Set_HealthState_Degraded_Warning(SELF) \ + CIM_ComputerSystem_Set_HealthState(SELF, 10) + +/* "Minor failure" */ +#define CIM_ComputerSystem_Set_HealthState_Minor_failure(SELF) \ + CIM_ComputerSystem_Set_HealthState(SELF, 15) + +/* "Major failure" */ +#define CIM_ComputerSystem_Set_HealthState_Major_failure(SELF) \ + CIM_ComputerSystem_Set_HealthState(SELF, 20) + +/* "Critical failure" */ +#define CIM_ComputerSystem_Set_HealthState_Critical_failure(SELF) \ + CIM_ComputerSystem_Set_HealthState(SELF, 25) + +/* "Non-recoverable error" */ +#define CIM_ComputerSystem_Set_HealthState_Non_recoverable_error(SELF) \ + CIM_ComputerSystem_Set_HealthState(SELF, 30) + +/* "DMTF Reserved" */ +#define CIM_ComputerSystem_Set_HealthState_DMTF_Reserved(SELF) \ + CIM_ComputerSystem_Set_HealthState(SELF, 0) + +KINLINE void CIM_ComputerSystem_Set_PrimaryStatus( + CIM_ComputerSystem* self, + CMPIUint16 x) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->PrimaryStatus; + KUint16_Set(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Null_PrimaryStatus( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->PrimaryStatus; + KUint16_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_PrimaryStatus( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->PrimaryStatus; + KUint16_Clr(field); + } +} + +typedef enum _CIM_ComputerSystem_PrimaryStatus_Enum +{ + CIM_ComputerSystem_PrimaryStatus_Unknown = 0, + CIM_ComputerSystem_PrimaryStatus_OK = 1, + CIM_ComputerSystem_PrimaryStatus_Degraded = 2, + CIM_ComputerSystem_PrimaryStatus_Error = 3, + CIM_ComputerSystem_PrimaryStatus_DMTF_Reserved = 0, + CIM_ComputerSystem_PrimaryStatus_Vendor_Reserved = 0, +} +CIM_ComputerSystem_PrimaryStatus_Enum; + +/* "Unknown" */ +#define CIM_ComputerSystem_Set_PrimaryStatus_Unknown(SELF) \ + CIM_ComputerSystem_Set_PrimaryStatus(SELF, 0) + +/* "OK" */ +#define CIM_ComputerSystem_Set_PrimaryStatus_OK(SELF) \ + CIM_ComputerSystem_Set_PrimaryStatus(SELF, 1) + +/* "Degraded" */ +#define CIM_ComputerSystem_Set_PrimaryStatus_Degraded(SELF) \ + CIM_ComputerSystem_Set_PrimaryStatus(SELF, 2) + +/* "Error" */ +#define CIM_ComputerSystem_Set_PrimaryStatus_Error(SELF) \ + CIM_ComputerSystem_Set_PrimaryStatus(SELF, 3) + +/* "DMTF Reserved" */ +#define CIM_ComputerSystem_Set_PrimaryStatus_DMTF_Reserved(SELF) \ + CIM_ComputerSystem_Set_PrimaryStatus(SELF, 0) + +/* "Vendor Reserved" */ +#define CIM_ComputerSystem_Set_PrimaryStatus_Vendor_Reserved(SELF) \ + CIM_ComputerSystem_Set_PrimaryStatus(SELF, 0) + +KINLINE void CIM_ComputerSystem_Set_DetailedStatus( + CIM_ComputerSystem* self, + CMPIUint16 x) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->DetailedStatus; + KUint16_Set(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Null_DetailedStatus( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->DetailedStatus; + KUint16_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_DetailedStatus( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->DetailedStatus; + KUint16_Clr(field); + } +} + +typedef enum _CIM_ComputerSystem_DetailedStatus_Enum +{ + CIM_ComputerSystem_DetailedStatus_Not_Available = 0, + CIM_ComputerSystem_DetailedStatus_No_Additional_Information = 1, + CIM_ComputerSystem_DetailedStatus_Stressed = 2, + CIM_ComputerSystem_DetailedStatus_Predictive_Failure = 3, + CIM_ComputerSystem_DetailedStatus_Non_Recoverable_Error = 4, + CIM_ComputerSystem_DetailedStatus_Supporting_Entity_in_Error = 5, + CIM_ComputerSystem_DetailedStatus_DMTF_Reserved = 0, + CIM_ComputerSystem_DetailedStatus_Vendor_Reserved = 0, +} +CIM_ComputerSystem_DetailedStatus_Enum; + +/* "Not Available" */ +#define CIM_ComputerSystem_Set_DetailedStatus_Not_Available(SELF) \ + CIM_ComputerSystem_Set_DetailedStatus(SELF, 0) + +/* "No Additional Information" */ +#define CIM_ComputerSystem_Set_DetailedStatus_No_Additional_Information(SELF) \ + CIM_ComputerSystem_Set_DetailedStatus(SELF, 1) + +/* "Stressed" */ +#define CIM_ComputerSystem_Set_DetailedStatus_Stressed(SELF) \ + CIM_ComputerSystem_Set_DetailedStatus(SELF, 2) + +/* "Predictive Failure" */ +#define CIM_ComputerSystem_Set_DetailedStatus_Predictive_Failure(SELF) \ + CIM_ComputerSystem_Set_DetailedStatus(SELF, 3) + +/* "Non-Recoverable Error" */ +#define CIM_ComputerSystem_Set_DetailedStatus_Non_Recoverable_Error(SELF) \ + CIM_ComputerSystem_Set_DetailedStatus(SELF, 4) + +/* "Supporting Entity in Error" */ +#define CIM_ComputerSystem_Set_DetailedStatus_Supporting_Entity_in_Error(SELF) \ + CIM_ComputerSystem_Set_DetailedStatus(SELF, 5) + +/* "DMTF Reserved" */ +#define CIM_ComputerSystem_Set_DetailedStatus_DMTF_Reserved(SELF) \ + CIM_ComputerSystem_Set_DetailedStatus(SELF, 0) + +/* "Vendor Reserved" */ +#define CIM_ComputerSystem_Set_DetailedStatus_Vendor_Reserved(SELF) \ + CIM_ComputerSystem_Set_DetailedStatus(SELF, 0) + +KINLINE void CIM_ComputerSystem_Set_OperatingStatus( + CIM_ComputerSystem* self, + CMPIUint16 x) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->OperatingStatus; + KUint16_Set(field, x); + } +} + +KINLINE void CIM_ComputerSystem_Null_OperatingStatus( + CIM_ComputerSystem* self) +{ + if (self && self->__base.magic == KMAGIC) + { + KUint16* field = (KUint16*)&self->OperatingStatus; + KUint16_Null(field); + } +} + +KINLINE void CIM_ComputerSystem_Clr_OperatingStatus( + CIM_ComputerSystem* self) +{ + if (self && s... [truncated message content] |
From: <mik...@us...> - 2008-08-07 23:21:42
|
Revision: 822 http://omc.svn.sourceforge.net/omc/?rev=822&view=rev Author: mike-brasher Date: 2008-08-07 23:21:52 +0000 (Thu, 07 Aug 2008) Log Message: ----------- Update registration scheme. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/register.sh cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/konkret.sh Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/register.sh =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/register.sh 2008-08-07 23:16:04 UTC (rev 821) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/register.sh 2008-08-07 23:21:52 UTC (rev 822) @@ -1,7 +1,9 @@ #!/bin/sh BASE=linux-ethernet-port-profile TARGET=../src/.libs/liblinux_ethportprovider.so -cp linux-ethernet-port-profile.mof /usr/var/lib/sfcb/stage/mofs/root/interop +MOFS=/usr/var/lib/sfcb/stage/mofs +cp $BASE-interop.mof $MOFS/root/interop +cp $BASE-interop.mof $MOFS/root/cimv2 konkretreg $TARGET > $BASE.registration provider-register.sh -r $BASE.registration -m $BASE.mof cp $TARGET /usr/lib64/ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/konkret.sh =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/konkret.sh 2008-08-07 23:16:04 UTC (rev 821) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/konkret.sh 2008-08-07 23:21:52 UTC (rev 822) @@ -1,3 +1,3 @@ #!/bin/sh BASE=linux-ethernet-port-profile -konkret -m /usr/var/lib/sfcb/stage/mofs/root/cimv2/Linux_Base.mof -m../mof/$BASE.mof -f $BASE.kon +konkret -m /usr/var/lib/sfcb/stage/mofs/root/cimv2/Linux_Base.mof -m../mof/$BASE.mof -m../mof/$BASE-interop.mof -f $BASE.kon This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-07 23:15:55
|
Revision: 821 http://omc.svn.sourceforge.net/omc/?rev=821&view=rev Author: mike-brasher Date: 2008-08-07 23:16:04 +0000 (Thu, 07 Aug 2008) Log Message: ----------- UPdate mofs. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile-interop.mof cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.mof Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile-interop.mof =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile-interop.mof 2008-08-07 23:14:41 UTC (rev 820) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile-interop.mof 2008-08-07 23:16:04 UTC (rev 821) @@ -1,56 +1,17 @@ -//============================================================================== -// -// Ethernet port profile -// -//============================================================================== - -class Linux_EthernetPort : CIM_EthernetPort +class Linux_RegisteredProfileEthernetPort : CIM_RegisteredProfile { }; -class Linux_LANEndpoint : CIM_LANEndpoint -{ -}; - [Association] -class Linux_DeviceSAPImplementationEthernetPort : CIM_DeviceSAPImplementation +class Linux_ElementConformsToProfileEthernetPort : CIM_ElementConformsToProfile { - Linux_EthernetPort REF Antecedent; - Linux_LANEndpoint REF Dependent; -}; - -[Association] -class Linux_SystemDeviceEthernetPort : CIM_SystemDevice -{ - [Key] Linux_ComputerSystem REF GroupComponent; - [Key] Linux_EthernetPort REF PartComponent; -}; - -[Association] -class Linux_HostedAccessPointEthernetPort : CIM_HostedAccessPoint -{ -}; - -class Linux_EnabledLogicalElementCapabilitiesEthernetPort : - CIM_EnabledLogicalElementCapabilities -{ -}; - -[Association] -class Linux_ElementCapabilitiesEthernetPort : CIM_ElementCapabilities -{ + [Key] Linux_RegisteredProfileEthernetPort REF ConformantStandard; [Key] Linux_EthernetPort REF ManagedElement; - [Key] Linux_EnabledLogicalElementCapabilitiesEthernetPort REF Capabilities; }; -class Linux_EnabledLogicalElementCapabilitiesLANEndpoint : - CIM_EnabledLogicalElementCapabilities -{ -}; - [Association] -class Linux_ElementCapabilitiesLANEndpoint : CIM_ElementCapabilities +class Linux_ReferencedProfileEthernetPort : CIM_ReferencedProfile { - [Key] Linux_LANEndpoint REF ManagedElement; - [Key] Linux_EnabledLogicalElementCapabilitiesLANEndpoint REF Capabilities; + [Key] CIM_RegisteredProfile REF Antecedent; + [Key] Linux_RegisteredProfileEthernetPort REF Dependent; }; Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.mof =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.mof 2008-08-07 23:14:41 UTC (rev 820) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.mof 2008-08-07 23:16:04 UTC (rev 821) @@ -54,21 +54,3 @@ [Key] Linux_LANEndpoint REF ManagedElement; [Key] Linux_EnabledLogicalElementCapabilitiesLANEndpoint REF Capabilities; }; - -class Linux_RegisteredProfileEthernetPort : CIM_RegisteredProfile -{ -}; - -[Association] -class Linux_ElementConformsToProfileEthernetPort : CIM_ElementConformsToProfile -{ - [Key] Linux_RegisteredProfileEthernetPort REF ConformantStandard; - [Key] Linux_EthernetPort REF ManagedElement; -}; - -[Association] -class Linux_ReferencedProfileEthernetPort : CIM_ReferencedProfile -{ - [Key] CIM_RegisteredProfile REF Antecedent; - [Key] Linux_RegisteredProfileEthernetPort REF Dependent; -}; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-07 23:14:31
|
Revision: 820 http://omc.svn.sourceforge.net/omc/?rev=820&view=rev Author: mike-brasher Date: 2008-08-07 23:14:41 +0000 (Thu, 07 Aug 2008) Log Message: ----------- Added back file. Added Paths: ----------- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile-interop.mof Added: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile-interop.mof =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile-interop.mof (rev 0) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile-interop.mof 2008-08-07 23:14:41 UTC (rev 820) @@ -0,0 +1,56 @@ +//============================================================================== +// +// Ethernet port profile +// +//============================================================================== + +class Linux_EthernetPort : CIM_EthernetPort +{ +}; + +class Linux_LANEndpoint : CIM_LANEndpoint +{ +}; + +[Association] +class Linux_DeviceSAPImplementationEthernetPort : CIM_DeviceSAPImplementation +{ + Linux_EthernetPort REF Antecedent; + Linux_LANEndpoint REF Dependent; +}; + +[Association] +class Linux_SystemDeviceEthernetPort : CIM_SystemDevice +{ + [Key] Linux_ComputerSystem REF GroupComponent; + [Key] Linux_EthernetPort REF PartComponent; +}; + +[Association] +class Linux_HostedAccessPointEthernetPort : CIM_HostedAccessPoint +{ +}; + +class Linux_EnabledLogicalElementCapabilitiesEthernetPort : + CIM_EnabledLogicalElementCapabilities +{ +}; + +[Association] +class Linux_ElementCapabilitiesEthernetPort : CIM_ElementCapabilities +{ + [Key] Linux_EthernetPort REF ManagedElement; + [Key] Linux_EnabledLogicalElementCapabilitiesEthernetPort REF Capabilities; +}; + +class Linux_EnabledLogicalElementCapabilitiesLANEndpoint : + CIM_EnabledLogicalElementCapabilities +{ +}; + +[Association] +class Linux_ElementCapabilitiesLANEndpoint : CIM_ElementCapabilities +{ + [Key] Linux_LANEndpoint REF ManagedElement; + [Key] Linux_EnabledLogicalElementCapabilitiesLANEndpoint REF Capabilities; +}; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-07 23:12:42
|
Revision: 819 http://omc.svn.sourceforge.net/omc/?rev=819&view=rev Author: mike-brasher Date: 2008-08-07 23:12:50 +0000 (Thu, 07 Aug 2008) Log Message: ----------- Fixed provider to work in two namespaces. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/configure.ac cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/Makefile.am cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.mof cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/register.sh cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementationProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPortProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/konkret.sh Removed Paths: ------------- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile-interop.mof cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.reg Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/configure.ac =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/configure.ac 2008-08-07 00:22:31 UTC (rev 818) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/configure.ac 2008-08-07 23:12:50 UTC (rev 819) @@ -11,6 +11,7 @@ AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET +CFLAGS="$CFLAGS -I/usr/include/cmpi" AC_CHECK_LIB(konkret,KPrintInstance,,[AC_MSG_ERROR(missing required library: konkret: please install KonkretCMPI)]) AC_CHECK_HEADERS(konkret/konkret.h,,[AC_MSG_ERROR(missing required header: konkret.h: please install KonkretCMPI)]) AC_CONFIG_FILES([Makefile src/Makefile mof/Makefile]) Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/Makefile.am =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/Makefile.am 2008-08-07 00:22:31 UTC (rev 818) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/Makefile.am 2008-08-07 23:12:50 UTC (rev 819) @@ -1,7 +1,5 @@ mof_DATA = \ - linux-ethernet-port-profile-interop.mof \ linux-ethernet-port-profile.mof \ - linux-ethernet-port-profile.reg \ linux-ethernet-port-profile.registration mofdir = $(datadir)/mof/$(PACKAGE_NAME) Deleted: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile-interop.mof =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile-interop.mof 2008-08-07 00:22:31 UTC (rev 818) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile-interop.mof 2008-08-07 23:12:50 UTC (rev 819) @@ -1,17 +0,0 @@ -class Linux_RegisteredProfileEthernetPort : CIM_RegisteredProfile -{ -}; - -[Association] -class Linux_ElementConformsToProfileEthernetPort : CIM_ElementConformsToProfile -{ - [Key] Linux_RegisteredProfileEthernetPort REF ConformantStandard; - [Key] Linux_EthernetPort REF ManagedElement; -}; - -[Association] -class Linux_ReferencedProfileEthernetPort : CIM_ReferencedProfile -{ - [Key] CIM_RegisteredProfile REF Antecedent; - [Key] Linux_RegisteredProfileEthernetPort REF Dependent; -}; Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.mof =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.mof 2008-08-07 00:22:31 UTC (rev 818) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.mof 2008-08-07 23:12:50 UTC (rev 819) @@ -55,4 +55,20 @@ [Key] Linux_EnabledLogicalElementCapabilitiesLANEndpoint REF Capabilities; }; -#pragma include("linux-ethernet-port-profile-interop.mof") +class Linux_RegisteredProfileEthernetPort : CIM_RegisteredProfile +{ +}; + +[Association] +class Linux_ElementConformsToProfileEthernetPort : CIM_ElementConformsToProfile +{ + [Key] Linux_RegisteredProfileEthernetPort REF ConformantStandard; + [Key] Linux_EthernetPort REF ManagedElement; +}; + +[Association] +class Linux_ReferencedProfileEthernetPort : CIM_ReferencedProfile +{ + [Key] CIM_RegisteredProfile REF Antecedent; + [Key] Linux_RegisteredProfileEthernetPort REF Dependent; +}; Deleted: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.reg =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.reg 2008-08-07 00:22:31 UTC (rev 818) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.reg 2008-08-07 23:12:50 UTC (rev 819) @@ -1,84 +0,0 @@ -##============================================================================== -## -## root/cimv2 -## -##============================================================================== - -[Linux_EthernetPort] - provider: EthernetPort - location: linux_ethportprovider - type: instance - namespace: root/cimv2 - -[Linux_LANEndpoint] - provider: LANEndpoint - location: linux_ethportprovider - type: instance - namespace: root/cimv2 - -[Linux_DeviceSAPImplementationEthernetPort] - provider: DeviceSAPImplementation - location: linux_ethportprovider - type: instance association - namespace: root/cimv2 - -[Linux_HostedAccessPointEthernetPort] - provider: HostedAccessPoint - location: linux_ethportprovider - type: instance association - namespace: root/cimv2 - -[Linux_SystemDeviceEthernetPort] - provider: SystemDevice - location: linux_ethportprovider - type: instance association - namespace: root/cimv2 - -[Linux_ElementCapabilitiesEthernetPort] - provider: ElementCapabilities - location: linux_ethportprovider - type: instance association - namespace: root/cimv2 - -[Linux_EnabledLogicalElementCapabilitiesEthernetPort] - provider: EnabledLogicalElementCapabilities - location: linux_ethportprovider - type: instance - namespace: root/cimv2 - -[Linux_ElementCapabilitiesLANEndpoint] - provider: ElementCapabilitiesLANEndpoint - location: linux_ethportprovider - type: instance association - namespace: root/cimv2 - -[Linux_EnabledLogicalElementCapabilitiesLANEndpoint] - provider: EnabledLogicalElementCapabilitiesLANEndpoint - location: linux_ethportprovider - type: instance - namespace: root/cimv2 - -##============================================================================== -## -## root/interop -## -##============================================================================== - -[Linux_RegisteredProfileEthernetPort] - provider: RegisteredProfile - location: linux_ethportprovider - type: instance - namespace: root/interop - -[Linux_ReferencedProfileEthernetPort] - provider: ReferencedProfile - location: linux_ethportprovider - type: instance association - namespace: root/interop - -[Linux_ElementConformsToProfileEthernetPort] - provider: ElementConformsToProfile - location: linux_ethportprovider - type: instance association - namespace: root/interop - Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/register.sh =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/register.sh 2008-08-07 00:22:31 UTC (rev 818) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/register.sh 2008-08-07 23:12:50 UTC (rev 819) @@ -1,7 +1,7 @@ #!/bin/sh BASE=linux-ethernet-port-profile TARGET=../src/.libs/liblinux_ethportprovider.so +cp linux-ethernet-port-profile.mof /usr/var/lib/sfcb/stage/mofs/root/interop konkretreg $TARGET > $BASE.registration provider-register.sh -r $BASE.registration -m $BASE.mof -cp $BASE-interop.mof /usr/var/lib/sfcb/stage/mofs/root/interop cp $TARGET /usr/lib64/ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementationProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementationProvider.c 2008-08-07 00:22:31 UTC (rev 818) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementationProvider.c 2008-08-07 23:12:50 UTC (rev 819) @@ -40,6 +40,7 @@ struct EthernetPortResource* info; struct EthernetPortResource* p; + /* Get interface info list */ if ((info = GetEthernetPortResources()) == NULL) @@ -156,8 +157,10 @@ if (!assocClass) assocClass = "Linux_DeviceSAPImplementationEthernetPort"; - return KDefaultAssociators(_cb, mi, cc, cr, cop, assocClass, + CMPIStatus st = KDefaultAssociators(_cb, mi, cc, cr, cop, assocClass, resultClass, role, resultRole, properties); + + return st; } static CMPIStatus DeviceSAPImplementationAssociatorNames( Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPortProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPortProvider.c 2008-08-07 00:22:31 UTC (rev 818) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPortProvider.c 2008-08-07 23:12:50 UTC (rev 819) @@ -47,6 +47,8 @@ struct EthernetPortResource* p; EthernetPort x; +printf("EthernetPortEnumInstanceNames()\n"); + /* Get interface info list */ if ((info = GetEthernetPortResources()) == NULL) Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/konkret.sh =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/konkret.sh 2008-08-07 00:22:31 UTC (rev 818) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/konkret.sh 2008-08-07 23:12:50 UTC (rev 819) @@ -1,3 +1,3 @@ #!/bin/sh BASE=linux-ethernet-port-profile -konkret -m /usr/var/lib/sfcb/stage/mofs/root/cimv2/Linux_Base.mof -I../mof -m ../mof/$BASE.mof -f $BASE.kon +konkret -m /usr/var/lib/sfcb/stage/mofs/root/cimv2/Linux_Base.mof -m../mof/$BASE.mof -f $BASE.kon This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-07 00:22:21
|
Revision: 818 http://omc.svn.sourceforge.net/omc/?rev=818&view=rev Author: mike-brasher Date: 2008-08-07 00:22:31 +0000 (Thu, 07 Aug 2008) Log Message: ----------- Removed <backslash><space> from namespace in registration macro (no2 konkretreg inserts the namespace). Modified Paths: -------------- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementConformsToProfileProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ReferencedProfileProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/RegisteredProfileProvider.c Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementConformsToProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementConformsToProfileProvider.c 2008-08-07 00:07:20 UTC (rev 817) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementConformsToProfileProvider.c 2008-08-07 00:22:31 UTC (rev 818) @@ -192,7 +192,7 @@ ElementConformsToProfileInitialize()) KONKRET_REGISTRATION( - "root/cimv2\\ root/interop", + "root/cimv2 root/interop", "Linux_ElementConformsToProfileEthernetPort", "Linux_ElementConformsToProfileEthernetPort", "instance association") Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ReferencedProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ReferencedProfileProvider.c 2008-08-07 00:07:20 UTC (rev 817) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ReferencedProfileProvider.c 2008-08-07 00:22:31 UTC (rev 818) @@ -196,7 +196,7 @@ ReferencedProfileInitialize()) KONKRET_REGISTRATION( - "root/cimv2\\ root/interop", + "root/cimv2 root/interop", "Linux_ReferencedProfileEthernetPort", "Linux_ReferencedProfileEthernetPort", "instance association") Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/RegisteredProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/RegisteredProfileProvider.c 2008-08-07 00:07:20 UTC (rev 817) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/RegisteredProfileProvider.c 2008-08-07 00:22:31 UTC (rev 818) @@ -132,7 +132,7 @@ RegisteredProfileInitialize()) KONKRET_REGISTRATION( - "root/cimv2\\ root/interop", + "root/cimv2 root/interop", "Linux_RegisteredProfileEthernetPort", "Linux_RegisteredProfileEthernetPort", "instance method") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-07 00:07:11
|
Revision: 817 http://omc.svn.sourceforge.net/omc/?rev=817&view=rev Author: mike-brasher Date: 2008-08-07 00:07:20 +0000 (Thu, 07 Aug 2008) Log Message: ----------- Now registering profile-related providers in both namespaces. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.mof cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.registration cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementConformsToProfileProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ReferencedProfileProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/RegisteredProfileProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/konkret.sh Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.mof =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.mof 2008-08-06 22:54:39 UTC (rev 816) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.mof 2008-08-07 00:07:20 UTC (rev 817) @@ -55,3 +55,4 @@ [Key] Linux_EnabledLogicalElementCapabilitiesLANEndpoint REF Capabilities; }; +#pragma include("linux-ethernet-port-profile-interop.mof") Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.registration =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.registration 2008-08-06 22:54:39 UTC (rev 816) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.registration 2008-08-07 00:07:20 UTC (rev 817) @@ -1,12 +1,12 @@ Linux_DeviceSAPImplementationEthernetPort root/cimv2 Linux_DeviceSAPImplementationEthernetPort linux_ethportprovider instance association Linux_ElementCapabilitiesLANEndpoint root/cimv2 Linux_ElementCapabilitiesLANEndpoint linux_ethportprovider instance association Linux_ElementCapabilitiesEthernetPort root/cimv2 Linux_ElementCapabilitiesEthernetPort linux_ethportprovider instance association -Linux_ElementConformsToProfileEthernetPort root/interop Linux_ElementConformsToProfileEthernetPort linux_ethportprovider instance association +Linux_ElementConformsToProfileEthernetPort root/cimv2\ root/interop Linux_ElementConformsToProfileEthernetPort linux_ethportprovider instance association Linux_EnabledLogicalElementCapabilitiesLANEndpoint root/cimv2 Linux_EnabledLogicalElementCapabilitiesLANEndpoint linux_ethportprovider instance method Linux_EnabledLogicalElementCapabilitiesEthernetPort root/cimv2 Linux_EnabledLogicalElementCapabilitiesEthernetPort linux_ethportprovider instance method Linux_EthernetPort root/cimv2 Linux_EthernetPort linux_ethportprovider instance method Linux_HostedAccessPointEthernetPort root/cimv2 Linux_HostedAccessPointEthernetPort linux_ethportprovider instance association Linux_LANEndpoint root/cimv2 Linux_LANEndpoint linux_ethportprovider instance method -Linux_ReferencedProfileEthernetPort root/interop Linux_ReferencedProfileEthernetPort linux_ethportprovider instance association -Linux_RegisteredProfileEthernetPort root/interop Linux_RegisteredProfileEthernetPort linux_ethportprovider instance method +Linux_ReferencedProfileEthernetPort root/cimv2\ root/interop Linux_ReferencedProfileEthernetPort linux_ethportprovider instance association +Linux_RegisteredProfileEthernetPort root/cimv2\ root/interop Linux_RegisteredProfileEthernetPort linux_ethportprovider instance method Linux_SystemDeviceEthernetPort root/cimv2 Linux_SystemDeviceEthernetPort linux_ethportprovider instance association Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementConformsToProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementConformsToProfileProvider.c 2008-08-06 22:54:39 UTC (rev 816) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementConformsToProfileProvider.c 2008-08-07 00:07:20 UTC (rev 817) @@ -192,7 +192,7 @@ ElementConformsToProfileInitialize()) KONKRET_REGISTRATION( - "root/interop", + "root/cimv2\\ root/interop", "Linux_ElementConformsToProfileEthernetPort", "Linux_ElementConformsToProfileEthernetPort", "instance association") Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ReferencedProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ReferencedProfileProvider.c 2008-08-06 22:54:39 UTC (rev 816) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ReferencedProfileProvider.c 2008-08-07 00:07:20 UTC (rev 817) @@ -196,7 +196,7 @@ ReferencedProfileInitialize()) KONKRET_REGISTRATION( - "root/interop", + "root/cimv2\\ root/interop", "Linux_ReferencedProfileEthernetPort", "Linux_ReferencedProfileEthernetPort", "instance association") Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/RegisteredProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/RegisteredProfileProvider.c 2008-08-06 22:54:39 UTC (rev 816) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/RegisteredProfileProvider.c 2008-08-07 00:07:20 UTC (rev 817) @@ -132,7 +132,7 @@ RegisteredProfileInitialize()) KONKRET_REGISTRATION( - "root/interop", + "root/cimv2\\ root/interop", "Linux_RegisteredProfileEthernetPort", "Linux_RegisteredProfileEthernetPort", "instance method") Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/konkret.sh =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/konkret.sh 2008-08-06 22:54:39 UTC (rev 816) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/konkret.sh 2008-08-07 00:07:20 UTC (rev 817) @@ -1,3 +1,3 @@ #!/bin/sh BASE=linux-ethernet-port-profile -konkret -m /usr/var/lib/sfcb/stage/mofs/root/cimv2/Linux_Base.mof -m ../mof/$BASE.mof -m ../mof/$BASE-interop.mof -f $BASE.kon +konkret -m /usr/var/lib/sfcb/stage/mofs/root/cimv2/Linux_Base.mof -I../mof -m ../mof/$BASE.mof -f $BASE.kon This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-06 22:54:29
|
Revision: 816 http://omc.svn.sourceforge.net/omc/?rev=816&view=rev Author: mike-brasher Date: 2008-08-06 22:54:39 +0000 (Wed, 06 Aug 2008) Log Message: ----------- removed trace statements. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilitiesProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPortProvider.c Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilitiesProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilitiesProvider.c 2008-08-06 22:51:16 UTC (rev 815) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilitiesProvider.c 2008-08-06 22:54:39 UTC (rev 816) @@ -6,7 +6,6 @@ static void ElementCapabilitiesInitialize() { -KTRACE; } static CMPIStatus ElementCapabilitiesCleanup( @@ -14,7 +13,6 @@ const CMPIContext* cc, CMPIBoolean term) { -KTRACE; CMReturn(CMPI_RC_OK); } @@ -24,7 +22,6 @@ const CMPIResult* cr, const CMPIObjectPath* cop) { -KTRACE; return KDefaultEnumerateInstanceNames( _cb, mi, cc, cr, cop); } @@ -37,7 +34,6 @@ const char** properties) { EnabledLogicalElementCapabilitiesRef x; -KTRACE; EnabledLogicalElementCapabilitiesRef_Init(&x, _cb, KNameSpace(cop)); EnabledLogicalElementCapabilitiesRef_Set_InstanceID( @@ -61,7 +57,6 @@ const CMPIObjectPath* cop, const char** properties) { -KTRACE; return KDefaultGetInstance( _cb, mi, cc, cr, cop, properties); } @@ -73,7 +68,6 @@ const CMPIObjectPath* cop, const CMPIInstance* ci) { -KTRACE; CMReturn(CMPI_RC_ERR_NOT_SUPPORTED); } @@ -85,7 +79,6 @@ const CMPIInstance* ci, const char**properties) { -KTRACE; CMReturn(CMPI_RC_ERR_NOT_SUPPORTED); } @@ -95,7 +88,6 @@ const CMPIResult* cr, const CMPIObjectPath* cop) { -KTRACE; CMReturn(CMPI_RC_ERR_NOT_SUPPORTED); } @@ -107,7 +99,6 @@ const char* lang, const char* query) { -KTRACE; CMReturn(CMPI_RC_ERR_NOT_SUPPORTED); } @@ -116,7 +107,6 @@ const CMPIContext* cc, CMPIBoolean term) { -KTRACE; CMReturn(CMPI_RC_OK); } @@ -131,7 +121,6 @@ const char* resultRole, const char** properties) { -KTRACE; if (!assocClass) assocClass = "Linux_ElementCapabilitiesEthernetPort"; @@ -149,7 +138,6 @@ const char* role, const char* resultRole) { -KTRACE; if (!assocClass) assocClass = "Linux_ElementCapabilitiesEthernetPort"; @@ -166,7 +154,6 @@ const char* role, const char** properties) { -KTRACE; if (!assocClass) assocClass = "Linux_ElementCapabilitiesEthernetPort"; @@ -182,7 +169,6 @@ const char* assocClass, const char* role) { -KTRACE; if (!assocClass) assocClass = "Linux_ElementCapabilitiesEthernetPort"; Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPortProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPortProvider.c 2008-08-06 22:51:16 UTC (rev 815) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPortProvider.c 2008-08-06 22:54:39 UTC (rev 816) @@ -15,7 +15,6 @@ static void EthernetPortInitialize() { -KTRACE; } static CMPIStatus EthernetPortCleanup( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-06 22:51:13
|
Revision: 815 http://omc.svn.sourceforge.net/omc/?rev=815&view=rev Author: mike-brasher Date: 2008-08-06 22:51:16 +0000 (Wed, 06 Aug 2008) Log Message: ----------- Changed provider-name to use full classname rather than alias to avoid registration conflicts. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/linux-boot-control-profile.registration cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/BootServiceProvider.c cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ConfigSettingProvider.c cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementConformsToProfileProvider.c cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementSettingDataProvider.c cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/HostedServiceProvider.c cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/OrderedComponentProvider.c cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ReferencedProfileProvider.c cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/RegisteredProfileProvider.c cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ServiceAffectsElementProvider.c cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/SourceSettingProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.registration cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ConcreteJob.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_RegisteredProfile.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ServiceAccessPoint.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_System.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ComputerSystem.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementation.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementationProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilities.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilitiesLANEndpoint.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilitiesLANEndpointProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilitiesProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementConformsToProfile.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementConformsToProfileProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EnabledLogicalElementCapabilities.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EnabledLogicalElementCapabilitiesLANEndpoint.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EnabledLogicalElementCapabilitiesLANEndpointProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EnabledLogicalElementCapabilitiesProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPort.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPortProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/HostedAccessPoint.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/HostedAccessPointProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/LANEndpoint.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/LANEndpointProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ReferencedProfile.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ReferencedProfileProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/RegisteredProfile.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/RegisteredProfileProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/SystemDevice.h cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/SystemDeviceProvider.c cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/Makefile.am cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/linux-fan-profile.registration cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ElementConformsToProfileProvider.c cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/FanProvider.c cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/HostedCollectionProvider.c cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/IsSpareProvider.c cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/MemberOfCollectionProvider.c cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/OwningCollectionElementProvider.c cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RedundancySetProvider.c cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ReferencedProfileProvider.c cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RegisteredProfileProvider.c cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/SystemDeviceProvider.c cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/linux-power-supply-profile.registration cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ElementConformsToProfileProvider.c cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/HostedCollectionProvider.c cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/IsSpareProvider.c cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/MemberOfCollectionProvider.c cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/OwningCollectionElementProvider.c cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/PowerSupplyProvider.c cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/RedundancySetProvider.c cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ReferencedProfileProvider.c cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/RegisteredProfileProvider.c cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/SystemDeviceProvider.c cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/mof/linux-ssh-service-profile.registration cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/CapabilitiesProvider.c cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/ElementCapabilitiesProvider.c cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/ElementConformsToProfileProvider.c cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/HostedAccessPointProvider.c cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/HostedServiceProvider.c cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/ProtocolEndpointProvider.c cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/ProtocolServiceProvider.c cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/ProvidesEndpointProvider.c cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/ReferencedProfileProvider.c cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/RegisteredProfileProvider.c Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/linux-boot-control-profile.registration =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/linux-boot-control-profile.registration 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/mof/linux-boot-control-profile.registration 2008-08-06 22:51:16 UTC (rev 815) @@ -1,5 +1,10 @@ -Linux_BootConfigSetting root/cimv2 BootConfigSetting linux_bootctrlprovider instance method -Linux_BootService root/cimv2 BootService linux_bootctrlprovider instance method -Linux_GrubBootSourceSetting root/cimv2 BootSourceSetting linux_bootctrlprovider instance method -Linux_BootOrderedComponent root/cimv2 OrderedComponent linux_bootctrlprovider instance association -Linux_BootRegisteredProfile root/interop RegisteredProfile linux_bootctrlprovider instance method +Linux_BootService root/cimv2 Linux_BootService linux_bootctrlprovider instance method +Linux_BootConfigSetting root/cimv2 Linux_BootConfigSetting linux_bootctrlprovider instance method +Linux_BootElementConformsToProfile root/interop Linux_BootElementConformsToProfile linux_bootctrlprovider instance association +Linux_BootElementSettingData root/cimv2 Linux_BootElementSettingData linux_bootctrlprovider instance association +Linux_BootHostedService root/cimv2 Linux_BootHostedService linux_bootctrlprovider instance association +Linux_BootOrderedComponent root/cimv2 Linux_BootOrderedComponent linux_bootctrlprovider instance association +Linux_BootReferencedProfile root/interop Linux_BootReferencedProfile linux_bootctrlprovider instance association +Linux_BootRegisteredProfile root/interop Linux_BootRegisteredProfile linux_bootctrlprovider instance method +Linux_BootServiceAffectsElement root/cimv2 Linux_BootServiceAffectsElement linux_bootctrlprovider instance association +Linux_GrubBootSourceSetting root/cimv2 Linux_GrubBootSourceSetting linux_bootctrlprovider instance method Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/BootServiceProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/BootServiceProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/BootServiceProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -101,7 +101,7 @@ CMInstanceMIStub( BootService, - BootService, + Linux_BootService, _cb, BootServiceInitialize()) @@ -128,7 +128,7 @@ CMMethodMIStub( BootService, - BootService, + Linux_BootService, _cb, BootServiceInitialize()) @@ -259,5 +259,5 @@ KONKRET_REGISTRATION( "root/cimv2", "Linux_BootService", - "BootService", + "Linux_BootService", "instance method"); Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ConfigSettingProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ConfigSettingProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ConfigSettingProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -94,7 +94,7 @@ CMInstanceMIStub( ConfigSetting, - ConfigSetting, + Linux_BootConfigSetting, _cb, ConfigSettingInitialize()) @@ -121,7 +121,7 @@ CMMethodMIStub( ConfigSetting, - ConfigSetting, + Linux_BootConfigSetting, _cb, ConfigSettingInitialize()) @@ -156,5 +156,5 @@ KONKRET_REGISTRATION( "root/cimv2", "Linux_BootConfigSetting", - "ConfigSetting", + "Linux_BootConfigSetting", "instance method"); Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementConformsToProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementConformsToProfileProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementConformsToProfileProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -180,18 +180,18 @@ CMInstanceMIStub( ElementConformsToProfile, - ElementConformsToProfile, + Linux_BootElementConformsToProfile, _cb, ElementConformsToProfileInitialize()) CMAssociationMIStub( ElementConformsToProfile, - ElementConformsToProfile, + Linux_BootElementConformsToProfile, _cb, ElementConformsToProfileInitialize()) KONKRET_REGISTRATION( "root/interop", "Linux_BootElementConformsToProfile", - "ElementConformsToProfile", + "Linux_BootElementConformsToProfile", "instance association"); Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementSettingDataProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementSettingDataProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ElementSettingDataProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -184,18 +184,18 @@ CMInstanceMIStub( ElementSettingData, - ElementSettingData, + Linux_BootElementSettingData, _cb, ElementSettingDataInitialize()) CMAssociationMIStub( ElementSettingData, - ElementSettingData, + Linux_BootElementSettingData, _cb, ElementSettingDataInitialize()) KONKRET_REGISTRATION( "root/cimv2", "Linux_BootElementSettingData", - "ElementSettingData", + "Linux_BootElementSettingData", "instance association"); Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/HostedServiceProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/HostedServiceProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/HostedServiceProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -187,18 +187,18 @@ CMInstanceMIStub( HostedService, - HostedService, + Linux_BootHostedService, _cb, HostedServiceInitialize()) CMAssociationMIStub( HostedService, - HostedService, + Linux_BootHostedService, _cb, HostedServiceInitialize()) KONKRET_REGISTRATION( "root/cimv2", "Linux_BootHostedService", - "HostedService", + "Linux_BootHostedService", "instance association"); Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/OrderedComponentProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/OrderedComponentProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/OrderedComponentProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -197,18 +197,18 @@ CMInstanceMIStub( OrderedComponent, - OrderedComponent, + Linux_BootOrderedComponent, _cb, OrderedComponentInitialize()) CMAssociationMIStub( OrderedComponent, - OrderedComponent, + Linux_BootOrderedComponent, _cb, OrderedComponentInitialize()) KONKRET_REGISTRATION( "root/cimv2", "Linux_BootOrderedComponent", - "OrderedComponent", + "Linux_BootOrderedComponent", "instance association"); Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ReferencedProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ReferencedProfileProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ReferencedProfileProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -184,18 +184,18 @@ CMInstanceMIStub( ReferencedProfile, - ReferencedProfile, + Linux_BootReferencedProfile, _cb, ReferencedProfileInitialize()) CMAssociationMIStub( ReferencedProfile, - ReferencedProfile, + Linux_BootReferencedProfile, _cb, ReferencedProfileInitialize()) KONKRET_REGISTRATION( "root/interop", "Linux_BootReferencedProfile", - "ReferencedProfile", + "Linux_BootReferencedProfile", "instance association"); Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/RegisteredProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/RegisteredProfileProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/RegisteredProfileProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -100,7 +100,7 @@ CMInstanceMIStub( RegisteredProfile, - RegisteredProfile, + Linux_BootRegisteredProfile, _cb, RegisteredProfileInitialize()) @@ -127,12 +127,12 @@ CMMethodMIStub( RegisteredProfile, - RegisteredProfile, + Linux_BootRegisteredProfile, _cb, RegisteredProfileInitialize()) KONKRET_REGISTRATION( "root/interop", "Linux_BootRegisteredProfile", - "RegisteredProfile", + "Linux_BootRegisteredProfile", "instance method"); Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ServiceAffectsElementProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ServiceAffectsElementProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/ServiceAffectsElementProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -187,18 +187,18 @@ CMInstanceMIStub( ServiceAffectsElement, - ServiceAffectsElement, + Linux_BootServiceAffectsElement, _cb, ServiceAffectsElementInitialize()) CMAssociationMIStub( ServiceAffectsElement, - ServiceAffectsElement, + Linux_BootServiceAffectsElement, _cb, ServiceAffectsElementInitialize()) KONKRET_REGISTRATION( "root/cimv2", "Linux_BootServiceAffectsElement", - "ServiceAffectsElement", + "Linux_BootServiceAffectsElement", "instance association"); Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/SourceSettingProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/SourceSettingProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/src/SourceSettingProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -134,7 +134,7 @@ CMInstanceMIStub( SourceSetting, - SourceSetting, + Linux_GrubBootSourceSetting, _cb, SourceSettingInitialize()) @@ -161,12 +161,12 @@ CMMethodMIStub( SourceSetting, - SourceSetting, + Linux_GrubBootSourceSetting, _cb, SourceSettingInitialize()) KONKRET_REGISTRATION( "root/cimv2", "Linux_GrubBootSourceSetting", - "SourceSetting", + "Linux_GrubBootSourceSetting", "instance method"); Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.registration =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.registration 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/mof/linux-ethernet-port-profile.registration 2008-08-06 22:51:16 UTC (rev 815) @@ -1,12 +1,12 @@ -Linux_DeviceSAPImplementationEthernetPort root/cimv2 DeviceSAPImplementation linux_ethportprovider instance association -Linux_ElementCapabilitiesLANEndpoint root/cimv2 ElementCapabilitiesLANEndpoint linux_ethportprovider instance association -Linux_ElementCapabilitiesEthernetPort root/cimv2 ElementCapabilities linux_ethportprovider instance association -Linux_ElementConformsToProfileEthernetPort root/interop ElementConformsToProfile linux_ethportprovider instance association -Linux_EnabledLogicalElementCapabilitiesLANEndpoint root/cimv2 EnabledLogicalElementCapabilitiesLANEndpoint linux_ethportprovider instance method -Linux_EnabledLogicalElementCapabilitiesEthernetPort root/cimv2 EnabledLogicalElementCapabilities linux_ethportprovider instance method -Linux_EthernetPort root/cimv2 EthernetPort linux_ethportprovider instance method -Linux_HostedAccessPointEthernetPort root/cimv2 HostedAccessPoint linux_ethportprovider instance association -Linux_LANEndpoint root/cimv2 LANEndpoint linux_ethportprovider instance method -Linux_ReferencedProfileEthernetPort root/interop ReferencedProfile linux_ethportprovider instance association -Linux_RegisteredProfileEthernetPort root/interop RegisteredProfile linux_ethportprovider instance method -Linux_SystemDeviceEthernetPort root/cimv2 SystemDevice linux_ethportprovider instance association +Linux_DeviceSAPImplementationEthernetPort root/cimv2 Linux_DeviceSAPImplementationEthernetPort linux_ethportprovider instance association +Linux_ElementCapabilitiesLANEndpoint root/cimv2 Linux_ElementCapabilitiesLANEndpoint linux_ethportprovider instance association +Linux_ElementCapabilitiesEthernetPort root/cimv2 Linux_ElementCapabilitiesEthernetPort linux_ethportprovider instance association +Linux_ElementConformsToProfileEthernetPort root/interop Linux_ElementConformsToProfileEthernetPort linux_ethportprovider instance association +Linux_EnabledLogicalElementCapabilitiesLANEndpoint root/cimv2 Linux_EnabledLogicalElementCapabilitiesLANEndpoint linux_ethportprovider instance method +Linux_EnabledLogicalElementCapabilitiesEthernetPort root/cimv2 Linux_EnabledLogicalElementCapabilitiesEthernetPort linux_ethportprovider instance method +Linux_EthernetPort root/cimv2 Linux_EthernetPort linux_ethportprovider instance method +Linux_HostedAccessPointEthernetPort root/cimv2 Linux_HostedAccessPointEthernetPort linux_ethportprovider instance association +Linux_LANEndpoint root/cimv2 Linux_LANEndpoint linux_ethportprovider instance method +Linux_ReferencedProfileEthernetPort root/interop Linux_ReferencedProfileEthernetPort linux_ethportprovider instance association +Linux_RegisteredProfileEthernetPort root/interop Linux_RegisteredProfileEthernetPort linux_ethportprovider instance method +Linux_SystemDeviceEthernetPort root/cimv2 Linux_SystemDeviceEthernetPort linux_ethportprovider instance association Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ConcreteJob.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ConcreteJob.h 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ConcreteJob.h 2008-08-06 22:51:16 UTC (rev 815) @@ -2658,4 +2658,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ConcreteJob_ClassName "CIM_ConcreteJob" + #endif /* _konkrete_CIM_ConcreteJob_h */ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_RegisteredProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_RegisteredProfile.h 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_RegisteredProfile.h 2008-08-06 22:51:16 UTC (rev 815) @@ -880,4 +880,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_RegisteredProfile_ClassName "CIM_RegisteredProfile" + #endif /* _konkrete_CIM_RegisteredProfile_h */ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ServiceAccessPoint.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ServiceAccessPoint.h 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_ServiceAccessPoint.h 2008-08-06 22:51:16 UTC (rev 815) @@ -2168,4 +2168,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_ServiceAccessPoint_ClassName "CIM_ServiceAccessPoint" + #endif /* _konkrete_CIM_ServiceAccessPoint_h */ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_System.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_System.h 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/CIM_System.h 2008-08-06 22:51:16 UTC (rev 815) @@ -2410,4 +2410,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define CIM_System_ClassName "CIM_System" + #endif /* _konkrete_CIM_System_h */ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ComputerSystem.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ComputerSystem.h 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ComputerSystem.h 2008-08-06 22:51:16 UTC (rev 815) @@ -3104,4 +3104,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define ComputerSystem_ClassName "Linux_ComputerSystem" + #endif /* _konkrete_ComputerSystem_h */ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementation.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementation.h 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementation.h 2008-08-06 22:51:16 UTC (rev 815) @@ -385,4 +385,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define DeviceSAPImplementation_ClassName "Linux_DeviceSAPImplementationEthernetPort" + #endif /* _konkrete_DeviceSAPImplementation_h */ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementationProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementationProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementationProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -210,18 +210,18 @@ CMInstanceMIStub( DeviceSAPImplementation, - DeviceSAPImplementation, + Linux_DeviceSAPImplementationEthernetPort, _cb, DeviceSAPImplementationInitialize()) CMAssociationMIStub( DeviceSAPImplementation, - DeviceSAPImplementation, + Linux_DeviceSAPImplementationEthernetPort, _cb, DeviceSAPImplementationInitialize()) KONKRET_REGISTRATION( "root/cimv2", "Linux_DeviceSAPImplementationEthernetPort", - "DeviceSAPImplementation", + "Linux_DeviceSAPImplementationEthernetPort", "instance association") Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilities.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilities.h 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilities.h 2008-08-06 22:51:16 UTC (rev 815) @@ -479,4 +479,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define ElementCapabilities_ClassName "Linux_ElementCapabilitiesEthernetPort" + #endif /* _konkrete_ElementCapabilities_h */ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilitiesLANEndpoint.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilitiesLANEndpoint.h 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilitiesLANEndpoint.h 2008-08-06 22:51:16 UTC (rev 815) @@ -479,4 +479,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define ElementCapabilitiesLANEndpoint_ClassName "Linux_ElementCapabilitiesLANEndpoint" + #endif /* _konkrete_ElementCapabilitiesLANEndpoint_h */ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilitiesLANEndpointProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilitiesLANEndpointProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilitiesLANEndpointProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -179,18 +179,18 @@ CMInstanceMIStub( ElementCapabilitiesLANEndpoint, - ElementCapabilitiesLANEndpoint, + Linux_ElementCapabilitiesLANEndpoint, _cb, ElementCapabilitiesLANEndpointInitialize()) CMAssociationMIStub( ElementCapabilitiesLANEndpoint, - ElementCapabilitiesLANEndpoint, + Linux_ElementCapabilitiesLANEndpoint, _cb, ElementCapabilitiesLANEndpointInitialize()) KONKRET_REGISTRATION( "root/cimv2", "Linux_ElementCapabilitiesLANEndpoint", - "ElementCapabilitiesLANEndpoint", + "Linux_ElementCapabilitiesLANEndpoint", "instance association") Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilitiesProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilitiesProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementCapabilitiesProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -6,6 +6,7 @@ static void ElementCapabilitiesInitialize() { +KTRACE; } static CMPIStatus ElementCapabilitiesCleanup( @@ -13,6 +14,7 @@ const CMPIContext* cc, CMPIBoolean term) { +KTRACE; CMReturn(CMPI_RC_OK); } @@ -22,6 +24,7 @@ const CMPIResult* cr, const CMPIObjectPath* cop) { +KTRACE; return KDefaultEnumerateInstanceNames( _cb, mi, cc, cr, cop); } @@ -34,9 +37,9 @@ const char** properties) { EnabledLogicalElementCapabilitiesRef x; +KTRACE; - EnabledLogicalElementCapabilitiesRef_Init( - &x, _cb, KNameSpace(cop)); + EnabledLogicalElementCapabilitiesRef_Init(&x, _cb, KNameSpace(cop)); EnabledLogicalElementCapabilitiesRef_Set_InstanceID( &x, "SBLIM:EthernetPort"); @@ -58,6 +61,7 @@ const CMPIObjectPath* cop, const char** properties) { +KTRACE; return KDefaultGetInstance( _cb, mi, cc, cr, cop, properties); } @@ -69,6 +73,7 @@ const CMPIObjectPath* cop, const CMPIInstance* ci) { +KTRACE; CMReturn(CMPI_RC_ERR_NOT_SUPPORTED); } @@ -80,6 +85,7 @@ const CMPIInstance* ci, const char**properties) { +KTRACE; CMReturn(CMPI_RC_ERR_NOT_SUPPORTED); } @@ -89,6 +95,7 @@ const CMPIResult* cr, const CMPIObjectPath* cop) { +KTRACE; CMReturn(CMPI_RC_ERR_NOT_SUPPORTED); } @@ -100,6 +107,7 @@ const char* lang, const char* query) { +KTRACE; CMReturn(CMPI_RC_ERR_NOT_SUPPORTED); } @@ -108,6 +116,7 @@ const CMPIContext* cc, CMPIBoolean term) { +KTRACE; CMReturn(CMPI_RC_OK); } @@ -122,6 +131,7 @@ const char* resultRole, const char** properties) { +KTRACE; if (!assocClass) assocClass = "Linux_ElementCapabilitiesEthernetPort"; @@ -139,6 +149,7 @@ const char* role, const char* resultRole) { +KTRACE; if (!assocClass) assocClass = "Linux_ElementCapabilitiesEthernetPort"; @@ -155,6 +166,7 @@ const char* role, const char** properties) { +KTRACE; if (!assocClass) assocClass = "Linux_ElementCapabilitiesEthernetPort"; @@ -170,6 +182,7 @@ const char* assocClass, const char* role) { +KTRACE; if (!assocClass) assocClass = "Linux_ElementCapabilitiesEthernetPort"; @@ -179,18 +192,18 @@ CMInstanceMIStub( ElementCapabilities, - ElementCapabilities, + Linux_ElementCapabilitiesEthernetPort, _cb, ElementCapabilitiesInitialize()) CMAssociationMIStub( ElementCapabilities, - ElementCapabilities, + Linux_ElementCapabilitiesEthernetPort, _cb, ElementCapabilitiesInitialize()) KONKRET_REGISTRATION( "root/cimv2", "Linux_ElementCapabilitiesEthernetPort", - "ElementCapabilities", + "Linux_ElementCapabilitiesEthernetPort", "instance association") Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementConformsToProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementConformsToProfile.h 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementConformsToProfile.h 2008-08-06 22:51:16 UTC (rev 815) @@ -385,4 +385,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define ElementConformsToProfile_ClassName "Linux_ElementConformsToProfileEthernetPort" + #endif /* _konkrete_ElementConformsToProfile_h */ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementConformsToProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementConformsToProfileProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ElementConformsToProfileProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -181,18 +181,18 @@ CMInstanceMIStub( ElementConformsToProfile, - ElementConformsToProfile, + Linux_ElementConformsToProfileEthernetPort, _cb, ElementConformsToProfileInitialize()) CMAssociationMIStub( ElementConformsToProfile, - ElementConformsToProfile, + Linux_ElementConformsToProfileEthernetPort, _cb, ElementConformsToProfileInitialize()) KONKRET_REGISTRATION( "root/interop", "Linux_ElementConformsToProfileEthernetPort", - "ElementConformsToProfile", + "Linux_ElementConformsToProfileEthernetPort", "instance association") Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EnabledLogicalElementCapabilities.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EnabledLogicalElementCapabilities.h 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EnabledLogicalElementCapabilities.h 2008-08-06 22:51:16 UTC (rev 815) @@ -846,4 +846,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define EnabledLogicalElementCapabilities_ClassName "Linux_EnabledLogicalElementCapabilitiesEthernetPort" + #endif /* _konkrete_EnabledLogicalElementCapabilities_h */ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EnabledLogicalElementCapabilitiesLANEndpoint.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EnabledLogicalElementCapabilitiesLANEndpoint.h 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EnabledLogicalElementCapabilitiesLANEndpoint.h 2008-08-06 22:51:16 UTC (rev 815) @@ -846,4 +846,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define EnabledLogicalElementCapabilitiesLANEndpoint_ClassName "Linux_EnabledLogicalElementCapabilitiesLANEndpoint" + #endif /* _konkrete_EnabledLogicalElementCapabilitiesLANEndpoint_h */ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EnabledLogicalElementCapabilitiesLANEndpointProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EnabledLogicalElementCapabilitiesLANEndpointProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EnabledLogicalElementCapabilitiesLANEndpointProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -104,7 +104,7 @@ CMInstanceMIStub( EnabledLogicalElementCapabilitiesLANEndpoint, - EnabledLogicalElementCapabilitiesLANEndpoint, + Linux_EnabledLogicalElementCapabilitiesLANEndpoint, _cb, EnabledLogicalElementCapabilitiesLANEndpointInitialize()) @@ -131,7 +131,7 @@ CMMethodMIStub( EnabledLogicalElementCapabilitiesLANEndpoint, - EnabledLogicalElementCapabilitiesLANEndpoint, + Linux_EnabledLogicalElementCapabilitiesLANEndpoint, _cb, EnabledLogicalElementCapabilitiesLANEndpointInitialize()) @@ -149,8 +149,9 @@ KSetStatus(status, ERR_NOT_SUPPORTED); return result; } + KONKRET_REGISTRATION( "root/cimv2", "Linux_EnabledLogicalElementCapabilitiesLANEndpoint", - "EnabledLogicalElementCapabilitiesLANEndpoint", + "Linux_EnabledLogicalElementCapabilitiesLANEndpoint", "instance method") Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EnabledLogicalElementCapabilitiesProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EnabledLogicalElementCapabilitiesProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EnabledLogicalElementCapabilitiesProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -99,7 +99,7 @@ CMInstanceMIStub( EnabledLogicalElementCapabilities, - EnabledLogicalElementCapabilities, + Linux_EnabledLogicalElementCapabilitiesEthernetPort, _cb, EnabledLogicalElementCapabilitiesInitialize()) @@ -126,7 +126,7 @@ CMMethodMIStub( EnabledLogicalElementCapabilities, - EnabledLogicalElementCapabilities, + Linux_EnabledLogicalElementCapabilitiesEthernetPort, _cb, EnabledLogicalElementCapabilitiesInitialize()) @@ -148,5 +148,5 @@ KONKRET_REGISTRATION( "root/cimv2", "Linux_EnabledLogicalElementCapabilitiesEthernetPort", - "EnabledLogicalElementCapabilities", + "Linux_EnabledLogicalElementCapabilitiesEthernetPort", "instance method") Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPort.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPort.h 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPort.h 2008-08-06 22:51:16 UTC (rev 815) @@ -5172,4 +5172,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define EthernetPort_ClassName "Linux_EthernetPort" + #endif /* _konkrete_EthernetPort_h */ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPortProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPortProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/EthernetPortProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -15,6 +15,7 @@ static void EthernetPortInitialize() { +KTRACE; } static CMPIStatus EthernetPortCleanup( @@ -170,7 +171,7 @@ CMInstanceMIStub( EthernetPort, - EthernetPort, + Linux_EthernetPort, _cb, EthernetPortInitialize()) @@ -197,7 +198,7 @@ CMMethodMIStub( EthernetPort, - EthernetPort, + Linux_EthernetPort, _cb, EthernetPortInitialize()) @@ -316,5 +317,5 @@ KONKRET_REGISTRATION( "root/cimv2", "Linux_EthernetPort", - "EthernetPort", + "Linux_EthernetPort", "instance method") Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/HostedAccessPoint.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/HostedAccessPoint.h 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/HostedAccessPoint.h 2008-08-06 22:51:16 UTC (rev 815) @@ -387,4 +387,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define HostedAccessPoint_ClassName "Linux_HostedAccessPointEthernetPort" + #endif /* _konkrete_HostedAccessPoint_h */ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/HostedAccessPointProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/HostedAccessPointProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/HostedAccessPointProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -175,18 +175,18 @@ CMInstanceMIStub( HostedAccessPoint, - HostedAccessPoint, + Linux_HostedAccessPointEthernetPort, _cb, HostedAccessPointInitialize()) CMAssociationMIStub( HostedAccessPoint, - HostedAccessPoint, + Linux_HostedAccessPointEthernetPort, _cb, HostedAccessPointInitialize()) KONKRET_REGISTRATION( "root/cimv2", "Linux_HostedAccessPointEthernetPort", - "HostedAccessPoint", + "Linux_HostedAccessPointEthernetPort", "instance association") Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/LANEndpoint.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/LANEndpoint.h 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/LANEndpoint.h 2008-08-06 22:51:16 UTC (rev 815) @@ -3058,4 +3058,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define LANEndpoint_ClassName "Linux_LANEndpoint" + #endif /* _konkrete_LANEndpoint_h */ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/LANEndpointProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/LANEndpointProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/LANEndpointProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -146,7 +146,11 @@ CMReturn(CMPI_RC_ERR_NOT_SUPPORTED); } -CMInstanceMIStub(LANEndpoint, LANEndpoint, _cb, LANEndpointInitialize()) +CMInstanceMIStub( + LANEndpoint, + Linux_LANEndpoint, + _cb, + LANEndpointInitialize()) static CMPIStatus LANEndpointMethodCleanup( CMPIMethodMI* mi, @@ -171,7 +175,7 @@ CMMethodMIStub( LANEndpoint, - LANEndpoint, + Linux_LANEndpoint, _cb, LANEndpointInitialize()) @@ -207,5 +211,5 @@ KONKRET_REGISTRATION( "root/cimv2", "Linux_LANEndpoint", - "LANEndpoint", + "Linux_LANEndpoint", "instance method") Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ReferencedProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ReferencedProfile.h 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ReferencedProfile.h 2008-08-06 22:51:16 UTC (rev 815) @@ -385,4 +385,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define ReferencedProfile_ClassName "Linux_ReferencedProfileEthernetPort" + #endif /* _konkrete_ReferencedProfile_h */ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ReferencedProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ReferencedProfileProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/ReferencedProfileProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -129,7 +129,7 @@ const char** properties) { if (!assocClass) - assocClass = "Linux_ReferencedProfileEthernetPort"; + assocClass = ReferencedProfile_ClassName; return KDefaultAssociators(_cb, mi, cc, cr, cop, assocClass, resultClass, role, resultRole, properties); @@ -146,7 +146,7 @@ const char* resultRole) { if (!assocClass) - assocClass = "Linux_ReferencedProfileEthernetPort"; + assocClass = ReferencedProfile_ClassName; return KDefaultAssociatorNames(_cb, mi, cc, cr, cop, assocClass, resultClass, role, resultRole); @@ -162,7 +162,7 @@ const char** properties) { if (!assocClass) - assocClass = "Linux_ReferencedProfileEthernetPort"; + assocClass = ReferencedProfile_ClassName; return KDefaultReferences(_cb, mi, cc, cr, cop, assocClass, role, properties); @@ -177,7 +177,7 @@ const char* role) { if (!assocClass) - assocClass = "Linux_ReferencedProfileEthernetPort"; + assocClass = ReferencedProfile_ClassName; return KDefaultReferenceNames( _cb, mi, cc, cr, cop, assocClass, role); @@ -185,18 +185,18 @@ CMInstanceMIStub( ReferencedProfile, - ReferencedProfile, + Linux_ReferencedProfileEthernetPort, _cb, ReferencedProfileInitialize()) CMAssociationMIStub( ReferencedProfile, - ReferencedProfile, + Linux_ReferencedProfileEthernetPort, _cb, ReferencedProfileInitialize()) KONKRET_REGISTRATION( "root/interop", "Linux_ReferencedProfileEthernetPort", - "ReferencedProfile", + "Linux_ReferencedProfileEthernetPort", "instance association") Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/RegisteredProfile.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/RegisteredProfile.h 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/RegisteredProfile.h 2008-08-06 22:51:16 UTC (rev 815) @@ -884,4 +884,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define RegisteredProfile_ClassName "Linux_RegisteredProfileEthernetPort" + #endif /* _konkrete_RegisteredProfile_h */ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/RegisteredProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/RegisteredProfileProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/RegisteredProfileProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -100,7 +100,7 @@ CMInstanceMIStub( RegisteredProfile, - RegisteredProfile, + Linux_RegisteredProfileEthernetPort, _cb, RegisteredProfileInitialize()) @@ -127,12 +127,12 @@ CMMethodMIStub( RegisteredProfile, - RegisteredProfile, + Linux_RegisteredProfileEthernetPort, _cb, RegisteredProfileInitialize()) KONKRET_REGISTRATION( "root/interop", "Linux_RegisteredProfileEthernetPort", - "RegisteredProfile", + "Linux_RegisteredProfileEthernetPort", "instance method") Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/SystemDevice.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/SystemDevice.h 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/SystemDevice.h 2008-08-06 22:51:16 UTC (rev 815) @@ -387,4 +387,6 @@ KReturn(ERR_METHOD_NOT_FOUND); } +#define SystemDevice_ClassName "Linux_SystemDeviceEthernetPort" + #endif /* _konkrete_SystemDevice_h */ Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/SystemDeviceProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/SystemDeviceProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/SystemDeviceProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -176,18 +176,18 @@ CMInstanceMIStub( SystemDevice, - SystemDevice, + Linux_SystemDeviceEthernetPort, _cb, SystemDeviceInitialize()) CMAssociationMIStub( SystemDevice, - SystemDevice, + Linux_SystemDeviceEthernetPort, _cb, SystemDeviceInitialize()) KONKRET_REGISTRATION( "root/cimv2", "Linux_SystemDeviceEthernetPort", - "SystemDevice", + "Linux_SystemDeviceEthernetPort", "instance association") Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/Makefile.am =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/Makefile.am 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/Makefile.am 2008-08-06 22:51:16 UTC (rev 815) @@ -1,6 +1,6 @@ -mof_DATA = \ - linux-fan-profile.mof \ - linux-fan-profile-interop.mof \ +mof_DATA = \ + linux-fan-profile.mof \ + linux-fan-profile-interop.mof \ linux-fan-profile.registration mofdir = $(datadir)/mof/$(PACKAGE_NAME) Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/linux-fan-profile.registration =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/linux-fan-profile.registration 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/mof/linux-fan-profile.registration 2008-08-06 22:51:16 UTC (rev 815) @@ -1,8 +1,10 @@ -Linux_FanElementConformsToProfile root/interop ElementConformsToProfile linux_fanprovider instance association -Linux_Fan root/cimv2 Fan linux_fanprovider instance method -Linux_FanIsSpare root/cimv2 IsSpare linux_fanprovider instance association -Linux_FanMemberOfCollection root/cimv2 MemberOfCollection linux_fanprovider instance association -Linux_FanRedundancySet root/cimv2 RedundancySet linux_fanprovider instance method -Linux_FanReferencedProfile root/interop ReferencedProfile linux_fanprovider instance association -Linux_FanRegisteredProfile root/interop RegisteredProfile linux_fanprovider instance method -Linux_FanSystemDevice root/cimv2 SystemDevice linux_fanprovider instance association +Linux_FanElementConformsToProfile root/interop Linux_FanElementConformsToProfile linux_fanprovider instance association +Linux_Fan root/cimv2 Linux_Fan linux_fanprovider instance method +Linux_FanHostedCollection root/cimv2 Linux_FanHostedCollection linux_fanprovider instance association +Linux_FanIsSpare root/cimv2 Linux_FanIsSpare linux_fanprovider instance association +Linux_FanMemberOfCollection root/cimv2 Linux_FanMemberOfCollection linux_fanprovider instance association +Linux_FanOwningCollectionElement root/cimv2 Linux_FanOwningCollectionElement linux_fanprovider instance association +Linux_FanRedundancySet root/cimv2 Linux_FanRedundancySet linux_fanprovider instance method +Linux_FanReferencedProfile root/interop Linux_FanReferencedProfile linux_fanprovider instance association +Linux_FanRegisteredProfile root/interop Linux_FanRegisteredProfile linux_fanprovider instance method +Linux_FanSystemDevice root/cimv2 Linux_FanSystemDevice linux_fanprovider instance association Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ElementConformsToProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ElementConformsToProfileProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ElementConformsToProfileProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -180,18 +180,18 @@ CMInstanceMIStub( ElementConformsToProfile, - ElementConformsToProfile, + Linux_FanElementConformsToProfile, _cb, ElementConformsToProfileInitialize()) CMAssociationMIStub( ElementConformsToProfile, - ElementConformsToProfile, + Linux_FanElementConformsToProfile, _cb, ElementConformsToProfileInitialize()) KONKRET_REGISTRATION( "root/interop", "Linux_FanElementConformsToProfile", - "ElementConformsToProfile", + "Linux_FanElementConformsToProfile", "instance association"); Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/FanProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/FanProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/FanProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -159,7 +159,7 @@ CMInstanceMIStub( Fan, - Fan, + Linux_Fan, _cb, FanInitialize()) @@ -186,7 +186,7 @@ CMMethodMIStub( Fan, - Fan, + Linux_Fan, _cb, FanInitialize()) @@ -319,6 +319,6 @@ KONKRET_REGISTRATION( "root/cimv2", "Linux_Fan", - "Fan", + "Linux_Fan", "instance method"); Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/HostedCollectionProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/HostedCollectionProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/HostedCollectionProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -205,18 +205,18 @@ CMInstanceMIStub( HostedCollection, - HostedCollection, + Linux_FanHostedCollection, _cb, HostedCollectionInitialize()) CMAssociationMIStub( HostedCollection, - HostedCollection, + Linux_FanHostedCollection, _cb, HostedCollectionInitialize()) KONKRET_REGISTRATION( "root/cimv2", "Linux_FanHostedCollection", - "HostedCollection", + "Linux_FanHostedCollection", "instance association"); Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/IsSpareProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/IsSpareProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/IsSpareProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -206,18 +206,18 @@ CMInstanceMIStub( IsSpare, - IsSpare, + Linux_FanIsSpare, _cb, IsSpareInitialize()) CMAssociationMIStub( IsSpare, - IsSpare, + Linux_FanIsSpare, _cb, IsSpareInitialize()) KONKRET_REGISTRATION( "root/cimv2", "Linux_FanIsSpare", - "IsSpare", + "Linux_FanIsSpare", "instance association"); Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/MemberOfCollectionProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/MemberOfCollectionProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/MemberOfCollectionProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -203,18 +203,18 @@ CMInstanceMIStub( MemberOfCollection, - MemberOfCollection, + Linux_FanMemberOfCollection, _cb, MemberOfCollectionInitialize()) CMAssociationMIStub( MemberOfCollection, - MemberOfCollection, + Linux_FanMemberOfCollection, _cb, MemberOfCollectionInitialize()) KONKRET_REGISTRATION( "root/cimv2", "Linux_FanMemberOfCollection", - "MemberOfCollection", + "Linux_FanMemberOfCollection", "instance association"); Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/OwningCollectionElementProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/OwningCollectionElementProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/OwningCollectionElementProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -205,18 +205,18 @@ CMInstanceMIStub( OwningCollectionElement, - OwningCollectionElement, + Linux_FanOwningCollectionElement, _cb, OwningCollectionElementInitialize()) CMAssociationMIStub( OwningCollectionElement, - OwningCollectionElement, + Linux_FanOwningCollectionElement, _cb, OwningCollectionElementInitialize()) KONKRET_REGISTRATION( "root/cimv2", "Linux_FanOwningCollectionElement", - "OwningCollectionElement", + "Linux_FanOwningCollectionElement", "instance association"); Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RedundancySetProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RedundancySetProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RedundancySetProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -137,7 +137,7 @@ CMInstanceMIStub( RedundancySet, - RedundancySet, + Linux_FanRedundancySet, _cb, RedundancySetInitialize()) @@ -164,7 +164,7 @@ CMMethodMIStub( RedundancySet, - RedundancySet, + Linux_FanRedundancySet, _cb, RedundancySetInitialize()) @@ -186,5 +186,5 @@ KONKRET_REGISTRATION( "root/cimv2", "Linux_FanRedundancySet", - "RedundancySet", + "Linux_FanRedundancySet", "instance method"); Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ReferencedProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ReferencedProfileProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/ReferencedProfileProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -184,18 +184,18 @@ CMInstanceMIStub( ReferencedProfile, - ReferencedProfile, + Linux_FanReferencedProfile, _cb, ReferencedProfileInitialize()) CMAssociationMIStub( ReferencedProfile, - ReferencedProfile, + Linux_FanReferencedProfile, _cb, ReferencedProfileInitialize()) KONKRET_REGISTRATION( "root/interop", "Linux_FanReferencedProfile", - "ReferencedProfile", + "Linux_FanReferencedProfile", "instance association"); Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RegisteredProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RegisteredProfileProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/RegisteredProfileProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -100,7 +100,7 @@ CMInstanceMIStub( RegisteredProfile, - RegisteredProfile, + Linux_FanRegisteredProfile, _cb, RegisteredProfileInitialize()) @@ -127,12 +127,12 @@ CMMethodMIStub( RegisteredProfile, - RegisteredProfile, + Linux_FanRegisteredProfile, _cb, RegisteredProfileInitialize()) KONKRET_REGISTRATION( "root/interop", "Linux_FanRegisteredProfile", - "RegisteredProfile", + "Linux_FanRegisteredProfile", "instance method"); Modified: cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/SystemDeviceProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/SystemDeviceProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-fan_profile/trunk/src/SystemDeviceProvider.c 2008-08-06 22:51:16 UTC (rev 815) @@ -182,18 +182,18 @@ CMInstanceMIStub( SystemDevice, - SystemDevice, + Linux_FanSystemDevice, _cb, SystemDeviceInitialize()) CMAssociationMIStub( SystemDevice, - SystemDevice, + Linux_FanSystemDevice, _cb, SystemDeviceInitialize()) KONKRET_REGISTRATION( "root/cimv2", "Linux_FanSystemDevice", - "SystemDevice", + "Linux_FanSystemDevice", "instance association"); Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/linux-power-supply-profile.registration =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/linux-power-supply-profile.registration 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/mof/linux-power-supply-profile.registration 2008-08-06 22:51:16 UTC (rev 815) @@ -1,10 +1,10 @@ -Linux_PowerElementConformsToProfile root/interop ElementConformsToProfile linux_powersupplyprovider instance association -Linux_PowerHostedCollection root/cimv2 HostedCollection linux_powersupplyprovider instance association -Linux_PowerIsSpare root/cimv2 IsSpare linux_powersupplyprovider instance association -Linux_PowerMemberOfCollection root/cimv2 MemberOfCollection linux_powersupplyprovider instance association -Linux_PowerOwningCollectionElement root/cimv2 OwningCollectionElement linux_powersupplyprovider instance association -Linux_PowerSupply root/cimv2 PowerSupply linux_powersupplyprovider instance method -Linux_PowerRedundancySet root/cimv2 RedundancySet linux_powersupplyprovider instance method -Linux_PowerReferencedProfile root/cimv2 ReferencedProfile linux_powersupplyprovider instance association -Linux_PowerRegisteredProfile root/interop RegisteredProfile linux_powersupplyprovider instance method -Linux_PowerSystemDevice root/cimv2 SystemDevice linux_powersupplyprovider instance association +Linux_PowerElementConformsToProfile root/interop Linux_PowerElementConformsToProfile linux_powersupplyprovider instance association +Linux_PowerHostedCollection root/cimv2 Linux_PowerHostedCollection linux_powersupplyprovider instance association +Linux_PowerIsSpare root/cimv2 Linux_PowerIsSpare linux_powersupplyprovider instance association +Linux_PowerMemberOfCollection root/cimv2 Linux_PowerMemberOfCollection linux_powersupplyprovider instance association +Linux_PowerOwningCollectionElement root/cimv2 Linux_PowerOwningCollectionElement linux_powersupplyprovider instance association +Linux_PowerSupply root/cimv2 Linux_PowerSupply linux_powersupplyprovider instance method +Linux_PowerRedundancySet root/cimv2 Linux_PowerRedundancySet linux_powersupplyprovider instance method +Linux_PowerReferencedProfile root/cimv2 Linux_PowerReferencedProfile linux_powersupplyprovider instance association +Linux_PowerRegisteredProfile root/interop Linux_PowerRegisteredProfile linux_powersupplyprovider instance method +Linux_PowerSystemDevice root/cimv2 Linux_PowerSystemDevice linux_powersupplyprovider instance association Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ElementConformsToProfileProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/src/ElementConformsToProfileProvider.c 2008-08-06 22:10:06 UTC (rev 814) +++ cmpiprofiles/sblim-cmpi-power_su... [truncated message content] |
From: <np...@us...> - 2008-08-06 22:09:58
|
Revision: 814 http://omc.svn.sourceforge.net/omc/?rev=814&view=rev Author: npaxton Date: 2008-08-06 22:10:06 +0000 (Wed, 06 Aug 2008) Log Message: ----------- initial test dir for cmpiProfiles Added Paths: ----------- cmpiprofiles/test/ cmpiprofiles/test/trunk/ cmpiprofiles/test/trunk/AllSanityTest.py cmpiprofiles/test/trunk/ProviderList.txt cmpiprofiles/test/trunk/lib/ cmpiprofiles/test/trunk/lib/EnhancedTestCase.py cmpiprofiles/test/trunk/lib/ProviderSanityTest.py cmpiprofiles/test/trunk/lib/wbem_connection.py cmpiprofiles/test/trunk/template.py Added: cmpiprofiles/test/trunk/AllSanityTest.py =================================================================== --- cmpiprofiles/test/trunk/AllSanityTest.py (rev 0) +++ cmpiprofiles/test/trunk/AllSanityTest.py 2008-08-06 22:10:06 UTC (rev 814) @@ -0,0 +1,149 @@ +#!/usr/bin/env python +# Author: Norm Paxton +# Date: Wed Jan 23 2008 +'''Testing AllProviderSanityTest ''' +################################################################################ + +import pywbem +import unittest +import sys +import traceback + +sys.path.append("./lib") + +import wbem_connection +from optparse import OptionParser +import ProviderSanityTest + + +globalVerbose = False +globalClass = None +globalParser = None +globalListFile = 'ProviderList.txt' + +class AllProviderSanityTest(unittest.TestCase): + + def setUp(self): + self.instance = None + wconn = wbem_connection.wbem_connection() + self.conn = wconn._WBEMConnFromOptions(p) + unittest.TestCase.setUp(self) + + def tearDown(self): + unittest.TestCase.tearDown(self) + + def _test_provider(self, className): + type = 'I' + isAssoc=False + cls=None + print ">>>> Now Testing Class: [%s] " %(className) + try: + cls=self.conn.GetClass(className,LocalOnly=False) + except pywbem.CIMError, (num, msg): + if num==6: + print " !!!! Class not found in schema" + else: + self.fail("Got unexected error trying to 'GetClass' on " + "classname=%s: %d:%s" %(className,num,msg)) + + if cls != None: + if 'Association' in cls.qualifiers: + isAssoc=cls.qualifiers['Association'].value + type='A' + elif 'ASSOCIATION' in cls.qualifiers: + isAssoc=cls.qualifiers['ASSOCIATION'].value + type='A' + if isAssoc: + ProviderSanityTest.association_sanity_check(self, + self.conn, + className, + globalVerbose) + else: + ProviderSanityTest.instance_sanity_check(self, + self.conn, + className, + globalVerbose) + + ########################################################################### + def test_all_provider_sanity_test(self): + + errCount = 0 + print + if globalClass != None and globalClass != '': + try: + self._test_provider(globalClass) + except: + print '-'*60 + traceback.print_exc(file=sys.stdout) + print '-'*60 + errCount+=1 + pass + else: + dicts = [] + + inFile = open(globalListFile, "r") + lines = inFile.readlines() + for line in lines: + line.strip() + if line != '' and line[0] != '#': + columns = line.split() + if len(columns) > 0: + className=columns[0] + className.split() + try: + self._test_provider(className) + except: + print '-'*60 + traceback.print_exc(file=sys.stdout) + print '-'*60 + errCount+=1 + pass + inFile.close() + if errCount > 0: + self.fail("Failed... errCount=%d"%(errCount)) + +def get_unit_test(): + return AllProviderSanityTest + + +################################################################################ +if __name__ == "__main__": + p = OptionParser() + wbem_connection.getWBEMConnParserOptions(p) + + p.add_option('--verbose', + '-v', + action='store_true', + help='verbose output', + default=0) + p.add_option('--cimclass', + '-c', + help='Name of class to test', + default='') + p.add_option('--file', + '-f', + help='Name of file that contains list of classes to test', + default=globalListFile) + options, arguments = p.parse_args() + if options.verbose: + globalVerbose = options.verbose + if options.cimclass!=None: + globalClass = options.cimclass + if options.file!=None: + globalListFile = options.file + ''' + if '-v' in sys.argv: + sys.argv.remove('-v') + if '--verbose' in sys.argv: + sys.argv.remove('--verbose') + if '-c' in sys.argv: + sys.argv.remove('-c') + if '--cimclass=%s'%globalClass in sys.argv: + sys.argv.remove('--cimclass=%s'%globalClass) + ''' + + globalParser=p + + suite = unittest.makeSuite(AllProviderSanityTest) + unittest.TextTestRunner(verbosity=2).run(suite) + Property changes on: cmpiprofiles/test/trunk/AllSanityTest.py ___________________________________________________________________ Added: svn:executable + * Added: cmpiprofiles/test/trunk/ProviderList.txt =================================================================== --- cmpiprofiles/test/trunk/ProviderList.txt (rev 0) +++ cmpiprofiles/test/trunk/ProviderList.txt 2008-08-06 22:10:06 UTC (rev 814) @@ -0,0 +1,58 @@ +Linux_ComputerSystem + +Linux_Fan +Linux_FanSystemDevice +Linux_FanRegisteredProfile +Linux_FanElementConformsToProfile +Linux_FanReferencedProfile +Linux_FanRedundancySet +Linux_FanIsSpare +Linux_FanMemberOfCollection +Linux_FanHostedCollection +Linux_FanOwningCollectionElement + +Linux_EthernetPort +Linux_LANEndpoint +Linux_DeviceSAPImplementationEthernetPort +Linux_HostedAccessPointEthernetPort +Linux_SystemDeviceEthernetPort +Linux_EnabledLogicalElementCapabilitiesEthernetPort +Linux_ElementCapabilitiesEthernetPort +Linux_EnabledLogicalElementCapabilitiesLANEndpoint +Linux_ElementCapabilitiesLANEndpoint +Linux_ReferencedProfileEthernetPort +Linux_ElementConformsToProfileEthernetPort +Linux_RegisteredProfileEthernetPort + +Linux_SSHProtocolService +Linux_SSHCapabilities +Linux_SSHElementCapabilities +Linux_SSHProtocolEndpoint +Linux_SSHProvidesEndpoint +Linux_SSHHostedService +Linux_SSHHostedAccessPoint +Linux_SSHRegisteredProfile +Linux_SSHElementConformsToProfile +Linux_SSHReferencedProfile + +Linux_PowerSupply +Linux_PowerSystemDevice +Linux_PowerRegisteredProfile +Linux_PowerRedundancySet +Linux_PowerHostedCollection +Linux_PowerIsSpare +Linux_PowerMemberOfCollection +Linux_PowerOwningCollectionElement +Linux_PowerElementConformsToProfile +Linux_PowerReferencedProfile + +Linux_BootService +Linux_BootConfigSetting +Linux_GrubBootSourceSetting +Linux_BootOrderedComponent +Linux_BootHostedService +Linux_BootServiceAffectsElement +Linux_BootElementSettingData +Linux_BootRegisteredProfile +Linux_BootElementConformsToProfile +Linux_BootReferencedProfile Added: cmpiprofiles/test/trunk/lib/EnhancedTestCase.py =================================================================== --- cmpiprofiles/test/trunk/lib/EnhancedTestCase.py (rev 0) +++ cmpiprofiles/test/trunk/lib/EnhancedTestCase.py 2008-08-06 22:10:06 UTC (rev 814) @@ -0,0 +1,36 @@ +#!/usr/bin/env python + +from unittest import TestCase +import sys + +class EnhTestCase(TestCase): + + _error_list = [] + _num_of_tests = 0 + + def _inc_test_num(self): + self._num_of_tests += 1 + + def add_Error(self, error_msg): + ''' Add errors to to _error_list''' + self._inc_test_num() + self._error_list.append(error_msg) + + def get_Errors(self): + '''Return a list of errors''' + return self._error_list + + def print_Errors(self): + '''Print all errors in the error list''' + for error in self._error_list: + sys.stderr.writelines(error) + + def finalize(self): + if len(self._error_list) > 0: + self.fail([error for error in self._error_list]) + + def clear_errors(self): + del self._error_list[:] + + + Added: cmpiprofiles/test/trunk/lib/ProviderSanityTest.py =================================================================== --- cmpiprofiles/test/trunk/lib/ProviderSanityTest.py (rev 0) +++ cmpiprofiles/test/trunk/lib/ProviderSanityTest.py 2008-08-06 22:10:06 UTC (rev 814) @@ -0,0 +1,348 @@ +#!/usr/bin/env python +import sys +import pywbem + +_verbose = False + +def _print (msg, indent=0): + if _verbose is True: + for x in xrange(indent): + sys.__stdout__.write('\t') + print "\t%s" %msg + +########################################################################### +def association_sanity_check(pyunit, + conn, + assocClassName, + verbose = False): + instance_sanity_check(pyunit, conn, assocClassName, verbose) + # this does most of the association tests: + # enumerateInstances + # enumerateInstanceNames + # count of each is = + # elements of each is = + # getInstance from association instance name + # getInstance from 'antecedent' and 'dependent' of association + # Associators/AssociatorNames/References/ReferenceNames + + #print #get some blank lines before we start outputing from here + global _verbose + _verbose = verbose + refClasses={} + + _print("") + _print("") + + klass=conn.GetClass(assocClassName, LocalOnly=False) + for propName,prop in klass.properties.items(): + if prop.reference_class is not None: + refClasses[propName]=prop.reference_class + + tmpStr = "" + for k,v in refClasses.items(): + tmpStr += '\n\t\t\t%s: %s' %(k,v) + _print("Entering AssociationSanityCheck.\n\t\tAssocClassName: %s\n\t\t" + "RefClasses: %s " %(assocClassName, tmpStr),0) + + _print("Enumerating InstanceNames of Association %s" %assocClassName, 0) + #get assoc name for reference object check + instNames = conn.EnumerateInstanceNames(assocClassName) + _print("-->Returned %d objects" %len(instNames),0) + + _print("Reference Properties (instanceNames on either side of returned associations) Legit?",0) + #make sure reference objects are legit, etc + for instName in instNames: + _print("legit for %s" %instName,2) + # try get instance + try: + _print("Checking 'GetInstance' on the association",1) + testInst = conn.GetInstance(instName) + if testInst.path != instName: + pyunit.fail("In GetInstance, got an instance, but not the " + "one I was expecting") + except pywbem.CIMError, arg: + pyunit.fail("Got unexected error trying to 'GetInstance' on the " + "association: %s" %arg) + # try get 'reference objects' + try: + for rolename in refClasses.keys(): + _print("Checking 'GetInstance' on the association's %s" %rolename,1) + testInst = conn.GetInstance(instName[rolename]) + if testInst.path != instName[rolename]: + pyunit.fail("In GetInstance, got an instance, but not the " + "one I was expecting") + except pywbem.CIMError, arg: + pyunit.fail("Got unexected error trying to 'GetInstance' on the " + "association's %s: %s" %(rolename,arg)) + + # Associators/AssociatorNames/References/ReferenceNames + + roles = refClasses.keys() + # + # go through refClasses ('role'='ClassName') + + # Associators + for role,roleClassName in refClasses.items(): + revAssocRoleName = roles[(roles.index(role)+1)%2] + revAssocClassName = refClasses[revAssocRoleName] + + _print("") + _print("Test Associators with RoleClassName: %s (Role: %s)" %(roleClassName, role),0) + _print("-->Determined ReverseRoleClassName: %s (ReverseRole: %s)" %(revAssocClassName, revAssocRoleName),0) + #start by getting first instance name of classname + testNames = conn.EnumerateInstanceNames(roleClassName) + #NOTE: Could change this to : + #for testName in testNames + # but that could create loads of iterations, depending on the provider + if len(testNames) == 0: + continue + testName = testNames[0] + testName.host = None + _print("Using first instance of class: %s:" + %(roleClassName),1) + _print(testName, 2) + + #First use Associators with AssocClass + #use testName to call associators + _print("Calling Associators with AssocClass=%s" %assocClassName,1) + assocs = conn.Associators(testName, AssocClass=assocClassName) + for a in assocs: + a.path.host=None + #now use testNameto call associatorNames + _print("Calling Associator Names with AssocClass=%s" %assocClassName,1) + assocNames = conn.AssociatorNames(testName, AssocClass=assocClassName) + for a in assocNames: + a.host=None + + _print("Same Count? (%d == %d)?" %(len(assocs),len(assocNames)),1) + #number returned by assocs and assocNames should match + pyunit.failUnlessEqual(len(assocs), len(assocNames), + "Number of objects returned by Associators(%d) " + "and AssociatorNames(%d) doesn't match" + %(len(assocs),len(assocNames))) + #so should their contents: + _print("Same objects?",1) + for assoc in assocs: + if assoc.path not in assocNames: + pyunit.fail("Associators returned an object %s not returned " + "by AssociatorNames" %assoc.path) + + _print("Objects legit?",1) + for assocName in assocNames: + try: + chkInst = conn.GetInstance(assocName) + if chkInst.path != assocName: + pyunit.fail("In GetInstance, got an instance, but not the " + "one I was expecting") + except pywbem.CIMError, arg: + pyunit.fail("Got unexected error trying to 'GetInstance' on the " + "associated object: %s" %arg) + + #for each associator name, we should be able to reverse the association and get at least the starting object + _print("") + _print("Check Reverse Associators with AssocClass: %s"%assocClassName,1) + for assocName in assocNames: + #do associatornames + _print("Calling Associator Names",2) + revAssocNames = conn.AssociatorNames(assocName, AssocClass=assocClassName) + for name in revAssocNames: + name.host=None + # Temporarily removing this check: an association could be defined to a much higher class, + # so that by filtering on assocClassName won't necessarily return an object of expected + # class name... + # Requires further inspection to see if this check is appropriate + ''' + if not pywbem.is_subclass(conn, + conn.default_namespace, + sub = name.classname, + super = roleClassName): + pyunit.fail("reverse associator names returned an object type other than %s: %s\nassocName=%s, assocClass=%s" %(roleClassName, name.classname, str(assocName),assocClassName)) + ''' + _print("Returned original object?",3) + if testName not in revAssocNames: + pyunit.fail("Reverse Associator names from [%s] didn't return the original object: [%s]" %(assocName, testName)) + + #now do associators + _print("Calling Associators",2) + revAssocs = conn.Associators(assocName, AssocClass=assocClassName) + + _print("Same Count? (%d == %d)?" %(len(revAssocNames),len(revAssocs)),2) + pyunit.failUnlessEqual(len(revAssocNames), len(revAssocs), + "Number of reverse associator names (%d) and reverse associators (%d) " + "returned don't match." %(len(revAssocNames), len(revAssocs))) + + _print("Same Objects?",2) + # make sure names match... + for assoc in revAssocs: + assoc.path.host=None + # Temporarily removing this check: an association could be defined to a much higher class, + # so that by filtering on assocClassName won't necessarily return an object of expected + # class name... + # Requires further inspection to see if this check is appropriate + ''' + if not pywbem.is_subclass(conn, + conn.default_namespace, + sub = assoc.classname, + super = roleClassName): + pyunit.fail("reverse associators returned an object type other than %s: %s" %(roleClassName, assoc.classname)) + ''' + if assoc.path not in revAssocNames: + pyunit.fail("Reverse Associators from [%s] returned an object not returned by reverse associator names: %s" %(assocName,assoc.path)) + + _print("Check Reverse Associators with ResultClass: %s" %revAssocClassName,1) + _print(" Using instanceName: %s" %(testName),1) + #use testNameto call associatorNames + _print("Calling Associator Names ",2) + revAssocNames = conn.AssociatorNames(testName, ResultClass=revAssocClassName) + for ra in revAssocNames: + ra.host=None + #Now use Associators with ResultClass + _print("Calling Associators",2) + revAssocs = conn.Associators(testName, ResultClass=revAssocClassName) + for ra in revAssocs: + ra.path.host=None + + _print("Same Count?",2) + #number returned by assocs and assocNames should match + pyunit.failUnlessEqual(len(revAssocs), len(revAssocNames), + "Number of objects returned by Associators(%d) " + "and AssociatorNames(%d) doesn't match" + %(len(revAssocs),len(revAssocNames))) + #so should their contents: + _print("Same Objects?",2) + for revAssoc in revAssocs: + if revAssoc.path not in revAssocNames: + pyunit.fail("Associators returned an object %s not returned " + "by AssociatorNames" %revAssoc.path) + + + + _print("Test References with ResultClass = %s" %assocClassName,0) + _print("Using instance name: %s:" %testName, 1) + _print("Calling ReferenceNames ",1) + refNames = conn.ReferenceNames(testName, ResultClass=assocClassName) + for r in refNames: + r.host=None + _print("Calling References ",1) + refs = conn.References(testName, ResultClass=assocClassName) + for r in refs: + r.path.host=None + _print("Same Count? (%d == %d)?" %(len(refNames),len(refs)),1) + pyunit.failUnlessEqual(len(refNames), len(refs), + "Number of objects returned by References(%d) " + "and ReferenceNames(%d) doesn't match" + %(len(refs), len(refNames))) + _print("Same Count As Associators?",1) + pyunit.failUnlessEqual(len(refNames), len(assocNames), + "Number of objects returned by ReferenceNames(%d) " + "and AssociatorNames(%d) doesn't match" + %(len(refNames), len(assocNames))) + _print("Same Objects?",1) + for ref in refs: + if ref.path not in refNames: + pyunit.fail("References returned an object %s not returned " + "by ReferenceNames" %ref.path) + _print("Same Objects As Associators?",1) + _print(" Using revAssocRoleName: %s" %revAssocRoleName,1) + for rname in refNames: + rname[revAssocRoleName].host=None + _print("-->RName: ", 1) + _print("-->--> %s" %rname[revAssocRoleName], 1) + _print("-->AssocNames:",1) + for an in assocNames: + _print("-->--> %s" %an, 1) + if rname[revAssocRoleName] not in assocNames: + pyunit.fail("ReferenceNames returned an object \n[%s]\n not returned " + "by AssociatorNames \n%s" %(rname[revAssocRoleName], assocNames)) + + _print("Leaving AssociationSanityCheck") + + +def instance_sanity_check(pyunit, + conn, + className, + verbose = False): + global _verbose + _verbose = verbose + reqProps=[] + + _print("") + _print("") + + #get the class + klass=conn.GetClass(className, LocalOnly=False) + #get the 'required' properties + for propName,prop in klass.properties.items(): + if 'Required' in prop.qualifiers: + if prop.qualifiers['Required'].value is True: + reqProps.append(propName) + + _print("Entering InstanceSanityCheck.\n\t\tClassName: %s\n\t\t" + %(className),0) + + _print("") + _print("Test enumInstances / enumInstanceNames for sanity (same # objects, etc)",0) + #get assoc name count + _print("Enumerating instance names of %s" %className, 1) + instNames = conn.EnumerateInstanceNames(className) + _print("Resulted in %d objects" %len(instNames),2) + + #get assoc instance count + _print("Enumerating instances of %s" %className, 1) + insts = conn.EnumerateInstances(className) + _print("Resulted in %d objects" %len(insts),2) + + #compare instName count with inst count + _print("Same Count?",1) + pyunit.failUnlessEqual(len(instNames), len(insts), + "Number of instance names (%d) and instances (%d) " + "returned don't match." %(len(instNames), len(insts))) + + # make sure names match... + # inst.path in instances should be found in instNames + _print("Same Objects?",1) + for inst in insts: + if inst.path not in instNames: + pyunit.fail("EnumInstances returned an instance not found in " + "results from EnumInstanceNames") + + _print("Objects Legit?",1) + #make sure objects are legit, etc + for instName in instNames: + _print("legit for %s" %instName,2) + # try get instance + try: + _print("Checking 'GetInstance' on the instName: %s" %instName,3) + testInst = conn.GetInstance(instName) + if testInst.path != instName: + pyunit.fail("In GetInstance, got an instance, but not the " + "one I was expecting") + except pywbem.CIMError, arg: + pyunit.fail("Got unexected error trying to 'GetInstance' on the " + "instName: %s. Error: %s" %(instName, arg)) + + #all 'required' properties filled in? + _print("Required properties not empty?",1) + for inst in insts: + _print("Checking instance: %s" %inst.path,2) + for propName in reqProps: + _print("Checking required property: %s" %propName,3) + if inst[propName] is None or str(inst[propName]) == "": + pyunit.fail("Retrieved an instance with empty required " + "property [%s]. InstanceName: %s " %(propName, inst.path)) + + #now put garbage in one of key properties, then getInstance... + #test whether the provider is checking the properties on getInstance request + _print("GetInstance with garbage keys?",1) + if (len(instNames) > 0): + instName = instNames[0] + instName.keys()[0] = "GarbageData(!*#$*()#" + try: + inst = conn.GetInstance(instName) + pyunit.fail("Successfully retrieved instance with garbage data in key") + except: + pass + + _print("Leaving InstanceSanityCheck") + + Added: cmpiprofiles/test/trunk/lib/wbem_connection.py =================================================================== --- cmpiprofiles/test/trunk/lib/wbem_connection.py (rev 0) +++ cmpiprofiles/test/trunk/lib/wbem_connection.py 2008-08-06 22:10:06 UTC (rev 814) @@ -0,0 +1,50 @@ +#!/usr/bin/env python +import pywbem +from optparse import OptionParser + +def getWBEMConnParserOptions(parser): + parser.add_option('', '--host', default='localhost', help='Specify the hosting machine of the CIMOM') + parser.add_option('-s', '--secure', action='store_true', default=False, help='Use the HTTPS protocol. Default is HTTP') + parser.add_option('-n', '--namespace', default='root/cimv2', help='Specify the namespace the test runs against') + parser.add_option('', '--user', default='anonymous', help='Specify the user name used when connection to the CIMOM') + parser.add_option('', '--password', default='nothing', help='Specify the password for the user') + +class wbem_connection: + conn = '' + namesapce = '' + + def __init__(self): + self.uname = 'pegasus' + self.passwd = 'novell' + + #def get_wbem_connection(url=none): + def get_wbem_connection(self): + """Return a wbem connection to ZOS_SERVER""" + conn = pywbem.WBEMConnection('https://localhost', ('root', 'novell')) +#conn.default_namespace = 'root/ZENworks' + return conn + + def get_default_namespace(self): + return self.namespace + + def set_default_namespace(self, namespace): + self.namespace = namespace + conn.default_namespace = self.namespace + + + def _WBEMConnFromOptions(self,parser=None): + if parser==None: + parser = OptionParser() + getWBEMConnParserOptions(parser) + options, args = parser.parse_args() + proto = options.secure and 'https' or 'http' + url = '%s://%s' % (proto, options.host) + #wconn = pywbem.WBEMConnection(url, (options.user, options.password), + # default_namespace=options.namespace) + wconn = pywbem.WBEMConnection('https://localhost', ('root', 'taunya')) +#wconn.default_namespace="root/ZENworks" + return wconn + + + + Added: cmpiprofiles/test/trunk/template.py =================================================================== --- cmpiprofiles/test/trunk/template.py (rev 0) +++ cmpiprofiles/test/trunk/template.py 2008-08-06 22:10:06 UTC (rev 814) @@ -0,0 +1,35 @@ +#!/usr/bin/env python + +import pywbem +import unittest +import sys +import os +import math +import time +import commands +from socket import getfqdn +from time import sleep +sys.path.append(os.path.join(os.getcwd(), "lib")) +import wbem_connection +import EnhancedTestCase + + + +class OMC_LogicalFile_Test(EnhancedTestCase.EnhTestCase): + + def setUp(self): + unittest.TestCase.setUp(self) + wconn = wbem_connection.wbem_connection() + self._conn = wconn.get_wbem_connection() + self._orig_hostname = getfqdn() + + def tearDown(self): + unittest.TestCase.tearDown(self) + + +def get_unit_test(): + return (OMC_LogicalFile_Test) + +if __name__ == '__main__': + suite = unittest.makeSuite(OMC_LogicalFile_Test) + unittest.TextTestRunner(verbosity=2).run(suite) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-06 19:05:09
|
Revision: 813 http://omc.svn.sourceforge.net/omc/?rev=813&view=rev Author: mike-brasher Date: 2008-08-06 19:05:19 +0000 (Wed, 06 Aug 2008) Log Message: ----------- Reworked "sshd status" command execution to suppress standard output. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/Resource.c Modified: cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/Resource.c =================================================================== --- cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/Resource.c 2008-08-05 19:43:46 UTC (rev 812) +++ cmpiprofiles/sblim-cmpi-ssh_service_profile/trunk/src/Resource.c 2008-08-06 19:05:19 UTC (rev 813) @@ -14,8 +14,32 @@ int GetSSHDStatus() { +#if 0 + /* This version does not suppress standard output */ char* cmd[] = { "/etc/init.d/sshd", "status", NULL }; return cmpiutilSafeSystem(cmd, NULL) == 0 ? 0 : -1; +#else + FILE* is; + char buf[256]; + + if (!(is = popen("/etc/init.d/sshd status", "r"))) + return -1; + + if (fgets(buf, sizeof(buf), is) == NULL) + { + pclose(is); + return -1; + } + + if (strcasestr(buf, "running") == NULL) + { + pclose(is); + return -1; + } + + pclose(is); + return 0; +#endif } int GetSSHDConfig(struct SSHDConfig* conf) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <np...@us...> - 2008-08-05 19:43:41
|
Revision: 812 http://omc.svn.sourceforge.net/omc/?rev=812&view=rev Author: npaxton Date: 2008-08-05 19:43:46 +0000 (Tue, 05 Aug 2008) Log Message: ----------- update package name in configure.ac Modified Paths: -------------- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/configure.ac cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/configure.ac Modified: cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/configure.ac =================================================================== --- cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/configure.ac 2008-08-05 18:38:34 UTC (rev 811) +++ cmpiprofiles/sblim-cmpi-boot_control_profile/trunk/configure.ac 2008-08-05 19:43:46 UTC (rev 812) @@ -1,6 +1,6 @@ # Process this file with autoconf to produce a configure script AC_PREREQ(2.57) -AC_INIT(sblim-cmpi-ethport_profile, 1.0.0) +AC_INIT(sblim-cmpi-boot_control_profile, 1.0.0) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([src]) AC_CONFIG_HEADER([config.h]) Modified: cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/configure.ac =================================================================== --- cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/configure.ac 2008-08-05 18:38:34 UTC (rev 811) +++ cmpiprofiles/sblim-cmpi-power_supply_profile/trunk/configure.ac 2008-08-05 19:43:46 UTC (rev 812) @@ -1,6 +1,6 @@ # Process this file with autoconf to produce a configure script AC_PREREQ(2.57) -AC_INIT(sblim-cmpi-ethport_profile, 1.0.0) +AC_INIT(sblim-cmpi-power_supply_profile, 1.0.0) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([src]) AC_CONFIG_HEADER([config.h]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-05 18:38:27
|
Revision: 811 http://omc.svn.sourceforge.net/omc/?rev=811&view=rev Author: mike-brasher Date: 2008-08-05 18:38:34 +0000 (Tue, 05 Aug 2008) Log Message: ----------- Removed trace statement. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementationProvider.c Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementationProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementationProvider.c 2008-08-05 18:32:05 UTC (rev 810) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementationProvider.c 2008-08-05 18:38:34 UTC (rev 811) @@ -153,7 +153,6 @@ const char* resultRole, const char** properties) { -KTRACE; if (!assocClass) assocClass = "Linux_DeviceSAPImplementationEthernetPort"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-05 18:31:56
|
Revision: 810 http://omc.svn.sourceforge.net/omc/?rev=810&view=rev Author: mike-brasher Date: 2008-08-05 18:32:05 +0000 (Tue, 05 Aug 2008) Log Message: ----------- Fixed misnamed classname reference. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementationProvider.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/HostedAccessPointProvider.c Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementationProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementationProvider.c 2008-08-01 00:17:34 UTC (rev 809) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/DeviceSAPImplementationProvider.c 2008-08-05 18:32:05 UTC (rev 810) @@ -153,8 +153,9 @@ const char* resultRole, const char** properties) { +KTRACE; if (!assocClass) - assocClass = "Linux_DeviceSAPImplementation"; + assocClass = "Linux_DeviceSAPImplementationEthernetPort"; return KDefaultAssociators(_cb, mi, cc, cr, cop, assocClass, resultClass, role, resultRole, properties); @@ -171,7 +172,7 @@ const char* resultRole) { if (!assocClass) - assocClass = "Linux_DeviceSAPImplementation"; + assocClass = "Linux_DeviceSAPImplementationEthernetPort"; return KDefaultAssociatorNames(_cb, mi, cc, cr, cop, assocClass, resultClass, role, resultRole); @@ -187,7 +188,7 @@ const char** properties) { if (!assocClass) - assocClass = "Linux_DeviceSAPImplementation"; + assocClass = "Linux_DeviceSAPImplementationEthernetPort"; return KDefaultReferences(_cb, mi, cc, cr, cop, assocClass, role, properties); @@ -202,7 +203,7 @@ const char* role) { if (!assocClass) - assocClass = "Linux_DeviceSAPImplementation"; + assocClass = "Linux_DeviceSAPImplementationEthernetPort"; return KDefaultReferenceNames( _cb, mi, cc, cr, cop, assocClass, role); Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/HostedAccessPointProvider.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/HostedAccessPointProvider.c 2008-08-01 00:17:34 UTC (rev 809) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/HostedAccessPointProvider.c 2008-08-05 18:32:05 UTC (rev 810) @@ -119,7 +119,7 @@ const char** properties) { if (!assocClass) - assocClass = "Linux_HostedAccessPoint"; + assocClass = "Linux_HostedAccessPointEthernetPort"; return KDefaultAssociators(_cb, mi, cc, cr, cop, assocClass, resultClass, role, resultRole, properties); @@ -136,7 +136,7 @@ const char* resultRole) { if (!assocClass) - assocClass = "Linux_HostedAccessPoint"; + assocClass = "Linux_HostedAccessPointEthernetPort"; return KDefaultAssociatorNames(_cb, mi, cc, cr, cop, assocClass, resultClass, role, resultRole); @@ -152,7 +152,7 @@ const char** properties) { if (!assocClass) - assocClass = "Linux_HostedAccessPoint"; + assocClass = "Linux_HostedAccessPointEthernetPort"; return KDefaultReferences(_cb, mi, cc, cr, cop, assocClass, role, properties); @@ -167,7 +167,7 @@ const char* role) { if (!assocClass) - assocClass = "Linux_HostedAccessPoint"; + assocClass = "Linux_HostedAccessPointEthernetPort"; return KDefaultReferenceNames( _cb, mi, cc, cr, cop, assocClass, role); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-01 00:17:24
|
Revision: 809 http://omc.svn.sourceforge.net/omc/?rev=809&view=rev Author: mike-brasher Date: 2008-08-01 00:17:34 +0000 (Fri, 01 Aug 2008) Log Message: ----------- Fixed memory leak. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/Resource.c Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/Resource.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/Resource.c 2008-08-01 00:11:46 UTC (rev 808) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/Resource.c 2008-08-01 00:17:34 UTC (rev 809) @@ -170,7 +170,7 @@ sizeof(info->inet6_netmask) - 1); } - if(p->ifa_broadaddr) + if (p->ifa_broadaddr && p->ifa_flags & IFF_BROADCAST) { inet_ntop( AF_INET6, @@ -196,7 +196,7 @@ sizeof(info->inet_netmask) - 1); } - if (p->ifa_broadaddr) + if (p->ifa_broadaddr && p->ifa_flags & IFF_BROADCAST) { inet_ntop( AF_INET, @@ -207,6 +207,8 @@ } } + freeifaddrs(list); + return 0; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mik...@us...> - 2008-08-01 00:11:36
|
Revision: 808 http://omc.svn.sourceforge.net/omc/?rev=808&view=rev Author: mike-brasher Date: 2008-08-01 00:11:46 +0000 (Fri, 01 Aug 2008) Log Message: ----------- Rework of network interface discovery. Modified Paths: -------------- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/Resource.c cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/Resource.h Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/Resource.c =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/Resource.c 2008-07-31 21:34:47 UTC (rev 807) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/Resource.c 2008-08-01 00:11:46 UTC (rev 808) @@ -11,6 +11,7 @@ #include <errno.h> #include "Resource.h" #include "common.h" +#include <ifaddrs.h> #define MAX_IFREQ 64 @@ -101,6 +102,114 @@ return 0; } +static struct EthernetPortResource* _find( + struct EthernetPortResource* head, + const char* name) +{ + struct EthernetPortResource* p; + + for (p = head; p; p = p->next) + { + if (strcasecmp(p->name, name) == 0) + return p; + } + + /* Not found! */ + return NULL; +} + +static int _fixup_addrs(struct EthernetPortResource* head) +{ + struct ifaddrs* list; + struct ifaddrs* p; + char buf[256]; + + if (getifaddrs(&list) != 0) + return -1; + + for (p = list; p; p = p->ifa_next) + { + struct EthernetPortResource* info; + int family; + + /* Skip if null address */ + + if (!p->ifa_addr) + continue; + + /* Skip unknown families */ + + family = p->ifa_addr->sa_family; + + if (family != AF_INET && family != AF_INET6) + continue; + + /* See if it already exists */ + + if (!(info = _find(head, p->ifa_name))) + continue; + + /* Get EthernetPortResource.name */ + + strlcpy(info->name, p->ifa_name, sizeof(info->name)); + + if (family == AF_INET6) + { + inet_ntop( + AF_INET6, + &((struct sockaddr_in6*)p->ifa_addr)->sin6_addr, + info->inet6_addr, + sizeof(info->inet6_addr) - 1); + + if(p->ifa_netmask) + { + inet_ntop( + AF_INET6, + &((struct sockaddr_in6*)p->ifa_netmask)->sin6_addr, + info->inet6_netmask, + sizeof(info->inet6_netmask) - 1); + } + + if(p->ifa_broadaddr) + { + inet_ntop( + AF_INET6, + &((struct sockaddr_in6*)p->ifa_broadaddr)->sin6_addr, + info->inet6_broadcast, + sizeof(info->inet6_broadcast) - 1); + } + } + else if(family == AF_INET) + { + inet_ntop( + AF_INET, + &((struct sockaddr_in*)p->ifa_addr)->sin_addr, + info->inet_addr, + sizeof(info->inet_addr) - 1); + + if (p->ifa_netmask) + { + inet_ntop( + AF_INET, + &((struct sockaddr_in*)p->ifa_netmask)->sin_addr, + info->inet_netmask, + sizeof(info->inet_netmask) - 1); + } + + if (p->ifa_broadaddr) + { + inet_ntop( + AF_INET, + &((struct sockaddr_in*)p->ifa_broadaddr)->sin_addr, + info->inet_broadcast, + sizeof(info->inet_broadcast) - 1); + } + } + } + + return 0; +} + struct EthernetPortResource* GetEthernetPortResources() { int sock; @@ -145,6 +254,11 @@ ifr = (struct ifreq*)p; p += sizeof(struct ifreq); + /* Skip duplicates */ + + if (_find(head, ifr->ifr_name)) + continue; + /* Clear info structure */ memset(&info, 0, sizeof(info)); @@ -166,50 +280,22 @@ addr_len = sizeof(struct sockaddr); } - /* Skip non-eth? ports */ + /* Skip non-ethernet ports */ #if defined(ETHERNET_INTERFACES_ONLY) if (strncmp(ifr->ifr_name, "eth", 3) != 0) continue; #endif + /* Skip unknown address families */ + + if (family != AF_INET && family != AF_INET6) + continue; + /* Get EthernetPortResource.name */ -printf("NAME[%s]\n", ifr->ifr_name); - strlcpy(info.name, ifr->ifr_name, sizeof(info.name)); -{ - struct EthernetPortResource* p; - int size = 0; - - for (p = head; p; p = p->next) - { - size++; - if (strcasecmp(p->name, ifr->ifr_name) == 0) - { -printf("ALREADY IN LIST[%s]\n", ifr->ifr_name); - } - } - -printf("SIZE[%d]\n", size); -} - - /* Get EthernetPortResource.family_name */ - - if (family == AF_INET) - { - strlcpy(info.family, "inet", sizeof(info.family)); - } - else if (family == AF_INET6) - { - strlcpy(info.family, "inet6", sizeof(info.family)); - } - else - { - strlcpy(info.family, "unknown", sizeof(info.family)); - } - /* Get EthernetPortResource.index */ info.index = if_nametoindex(info.name); @@ -257,6 +343,7 @@ info.is_p2p = flags & IFF_POINTOPOINT ? 1 : 0; } +#if 0 /* Get EthernetPortResource.inet_addr */ if (family == AF_INET) @@ -317,7 +404,7 @@ in = (struct sockaddr_in*)&tmp.ifr_addr; inet_ntop(tmp.ifr_addr.sa_family, &in->sin_addr, str, sizeof(str)); - strlcpy(info.broadcast, str, sizeof(info.broadcast)); + strlcpy(info.inet_broadcast, str, sizeof(info.inet_broadcast)); } /* Get EthernetPortResource.netmask */ @@ -337,8 +424,9 @@ in = (struct sockaddr_in*)&tmp.ifr_addr; inet_ntop(tmp.ifr_addr.sa_family, &in->sin_addr, str, sizeof(str)); - strlcpy(info.netmask, str, sizeof(info.netmask)); + strlcpy(info.inet_netmask, str, sizeof(info.inet_netmask)); } +#endif /* Get additional information using the ethtool program */ @@ -376,6 +464,10 @@ } close(sock); + + /* Set address info for all elements in this list */ + _fixup_addrs(head); + return head; } @@ -391,8 +483,6 @@ } } -#if defined(LSIF) - void PrintEtherPortResources(const struct EthernetPortResource* head) { const struct EthernetPortResource* p; @@ -401,19 +491,20 @@ { printf("EthernetPortResource\n"); printf("{\n"); -printf(" ptr{%p}\n", p); printf(" name{%s}\n", p->name); printf(" index{%d}\n", p->index); printf(" mac{%s}\n", p->mac); - printf(" family{%s}\n", p->family); + printf(" inet_addr{%s}\n", p->inet_addr); + printf(" inet_netmask{%s}\n", p->inet_netmask); + printf(" inet_broadcast{%s}\n", p->inet_broadcast); + printf(" inet6_addr{%s}\n", p->inet6_addr); + printf(" inet6_netmask{%s}\n", p->inet6_netmask); + printf(" inet6_broadcast{%s}\n", p->inet6_broadcast); printf(" is_up{%d}\n", p->is_up); printf(" is_broadcast{%d}\n", p->is_broadcast); printf(" is_multicast{%d}\n", p->is_multicast); printf(" is_loopback{%d}\n", p->is_loopback); printf(" is_p2p{%d}\n", p->is_p2p); - printf(" inet_addr{%s}\n", p->inet_addr); - printf(" broadcast{%s}\n", p->broadcast); - printf(" netmask{%s}\n", p->netmask); printf(" full_duplex{%d}\n", p->full_duplex); printf(" speed_mbps{%d}\n", p->speed_mbps); printf(" supports_wake_on{%d}\n", p->supports_wake_on); @@ -422,6 +513,8 @@ } } +#if defined(LSIF) + int main() { struct EthernetPortResource* info; Modified: cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/Resource.h =================================================================== --- cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/Resource.h 2008-07-31 21:34:47 UTC (rev 807) +++ cmpiprofiles/sblim-cmpi-ethernet_port_profile/trunk/src/Resource.h 2008-08-01 00:11:46 UTC (rev 808) @@ -22,9 +22,6 @@ /* MAC address in display format (e.g., "00:50:56:C0:00:01") */ char mac[18]; - /* Address family name in display format (e.g., "inet", "inet6") */ - char family[16]; - /* Non-zero if interface is up */ int is_up; @@ -40,15 +37,24 @@ /* Non-zero if p2p */ int is_p2p; - /* ASCII internet address */ - char inet_addr[64]; + /* ASCII IPV4 address */ + char inet_addr[128]; - /* ASCII broadcast address */ - char broadcast[64]; + /* ASCII IPV4 broadcast address */ + char inet_broadcast[128]; - /* ASCII Netmask */ - char netmask[64]; + /* ASCII IPV4 Netmask */ + char inet_netmask[128]; + /* ASCII IPV6 address */ + char inet6_addr[128]; + + /* ASCII IPV6 broadcast address */ + char inet6_broadcast[128]; + + /* ASCII IPV6 Netmask */ + char inet6_netmask[128]; + /* Non-zero if full duplex */ int full_duplex; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |