version 1.12.6.2, 2013/06/03 22:35:54
|
version 1.14, 2011/11/03 04:40:07
|
|
|
{ | { |
CIMObjectPath serverProfile = buildDependencyReference( | CIMObjectPath serverProfile = buildDependencyReference( |
hostName, | hostName, |
buildProfileInstanceId(DMTF_NAME, "Indications", DMTF_VER_110), |
buildProfileInstanceId(DMTF_NAME, "Indications", DMTF_VER_100), |
PEGASUS_CLASSNAME_PG_REGISTEREDPROFILE); | PEGASUS_CLASSNAME_PG_REGISTEREDPROFILE); |
// Retrieve the IndicationService instance | // Retrieve the IndicationService instance |
Array<CIMInstance> indService = | Array<CIMInstance> indService = |
|
|
{ | { |
String versionNumber; | String versionNumber; |
String profileName; | String profileName; |
//Can use 0 here as registered organization value of 0 is |
Uint16 regOrgNo; |
//ruled out(not specified in the CIM Schema |
|
Uint16 regOrgNo = 0; |
|
| |
Uint32 index = profiles[i].findProperty("RegisteredVersion"); | Uint32 index = profiles[i].findProperty("RegisteredVersion"); |
if (index != PEG_NOT_FOUND) | if (index != PEG_NOT_FOUND) |
|
|
} | } |
} | } |
| |
if ( regOrgNo != 0 && regOrg == regOrgNo) |
if (regOrg == regOrgNo) |
{ | { |
if (profileName == ServerProfileName || | if (profileName == ServerProfileName || |
(regOrg == SNIA_NUM && | (regOrg == SNIA_NUM && |