version 1.12.6.2, 2013/06/03 22:35:54
|
version 1.13, 2011/10/28 05:01:50
|
|
|
elementConformsClass)); | elementConformsClass)); |
| |
} | } |
|
|
#ifdef PEGASUS_ENABLE_DMTF_INDICATION_PROFILE_SUPPORT |
|
// Now add the association between the Indication profile |
|
// and IndicationService |
|
if (opNamespace == PEGASUS_NAMESPACENAME_INTEROP) |
|
{ |
|
CIMObjectPath serverProfile = buildDependencyReference( |
|
hostName, |
|
buildProfileInstanceId(DMTF_NAME, "Indications", DMTF_VER_110), |
|
PEGASUS_CLASSNAME_PG_REGISTEREDPROFILE); |
|
// Retrieve the IndicationService instance |
|
Array<CIMInstance> indService = |
|
enumIndicationServiceInstances(OperationContext()); |
|
|
|
instances.append( |
|
buildElementConformsToProfile( |
|
serverProfile, |
|
indService[0].getPath(), |
|
elementConformsClass)); |
|
} |
|
#endif |
|
|
|
return instances; | return instances; |
} | } |
| |
|
|
{ | { |
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 && |