Code Examples.
Code Examples.
The below code snippet shows the possible AMS Entity Management admin and query operations on the AMS entities.
#if defined (CL_AMS_MGMT_FUNC)
ClRcT clAmsMgmtEntityTestAdminAndQueryOps(
void)
{
.majorVersion=1,
.minorVersion=1,
};
{
clLogError(NULL,NULL,"AMS Mgmt Initialize failed.rc [0x%x]",rc);
return rc;
}
entity.
type = CL_AMS_ENTITY_TYPE_SG;
{
clLogError(NULL,
NULL,
"Lock assignment failed on SG [%s] with rc [0x%x]",
rc);
return rc;
}
{
clLogError(NULL,
NULL,
"Lock instantiation failed on SG [%s] with rc [0x%x]",
"amsTestSG",
rc);
return rc;
}
{
clLogError(NULL,
NULL,
"Unlocked on SG [%s] succeeded from LOCKED_I state.",
"amsTestSG");
}
{
clLogError(NULL,
NULL,
"Lock assignment on SG [%s] returned rc [0x%x]",
"amsTestSG",
rc);
return rc;
}
{
clLogError(NULL,NULL,"Unlock on SG [%s] returned rc [0x%x]",
"amsTestSG",rc);
return rc;
}
entity.
type = CL_AMS_ENTITY_TYPE_SU;
{
clLogError(NULL,NULL,"Restart on SU [%s] returned rc [0x%x]",
"amsTestSU",rc);
return rc;
}
{
clLogError(NULL,NULL,"Shutdown on SU [%s] returned rc [0x%x]",
"amsTestSU",rc);
return rc;
}
entity.
type = CL_AMS_ENTITY_TYPE_SG;
{
clLogError(NULL, NULL, "Entity get config returned [%#x]", rc);
return rc;
}
{
clLogError(NULL, NULL, "Entity get status returned [%#x]", rc);
return rc;
}
ClAmsEntityBufferT entityBuffer = { .count = 0 };
{
clLogError(NULL, NULL, "GetSGSUList returned [%#x]", rc);
return rc;
}
if(entityBuffer.entity)
ClAmsSUSIRefBufferT suSIRefBuffer;
entity.
type = CL_AMS_ENTITY_TYPE_SU;
&suSIRefBuffer);
{
clLogError(NULL, NULL, "SUAssignedSIList returned [%#x]", rc);
return rc;
}
ClAmsCompCSIRefBufferT compCSIRefBuffer;
entity.
type = CL_AMS_ENTITY_TYPE_COMP;
{
clLogError(NULL, NULL, "GetCompCSIList returned [%#x]", rc);
return rc;
}
ClInt32T i;
ClUint32T size = (ClUint32T) sizeof(ClAmsCompCSIRefT);
for(i = 0; i < compCSIRefBuffer.count ; ++i)
{
ClAmsCompCSIRefT *pRef = (ClAmsCompCSIRefT*)(
(ClInt8T*)compCSIRefBuffer.entityRef + i*size);
if(pRef->activeComp)
clHeapFree(pRef->activeComp);
}
{
clLogError(NULL,NULL,
"AMS Management finalize returned rc [0x%x]",rc);
return rc;
}
clLogInfo(NULL,NULL,"Admin Test Complete");
return rc;
}
#endif
Header file of error Messages that are AMS specific.
Header file of AMS related APIs.
ClRcT clAmsMgmtInitialize(CL_OUT ClAmsMgmtHandleT *amsHandle, CL_IN const ClAmsMgmtCallbacksT *amsMgmtCallbacks, CL_INOUT ClVersionT *version)
Starts the use of the management function library.
ClRcT clAmsMgmtEntityGetStatus(CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *entity, CL_OUT ClAmsEntityStatusT **entityStatus)
returns the status (transient) scalar attributes of an AMS entity
ClRcT clAmsMgmtGetSUAssignedSIsList(CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *su, CL_OUT ClAmsSUSIRefBufferT *siBuffer)
returns the assigned si's list for su
ClRcT clAmsMgmtEntityRestart(CL_IN ClAmsMgmtHandleT amsHandle, CL_IN const ClAmsEntityT *entity)
Restart an AMS entity following termination .
ClRcT clAmsMgmtEntityUnlock(CL_IN ClAmsMgmtHandleT amsHandle, CL_IN const ClAmsEntityT *entity)
Changes the administrative state of an AMS entity to unlocked state.
ClRcT clAmsMgmtEntityShutdown(CL_IN ClAmsMgmtHandleT amsHandle, CL_IN const ClAmsEntityT *entity)
Changes the administrative state of an AMS entity to shutting-down.
ClRcT clAmsMgmtGetCompCSIList(CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *comp, CL_OUT ClAmsCompCSIRefBufferT *csiBuffer)
returns the list of csi's assigned to a component
#define CL_AMS_RC(ERROR_CODE)
Error macro definitions for AMS.
Definition: clAmsErrors.h:109
ClRcT clAmsMgmtEntityGetConfig(CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *entity, CL_OUT ClAmsEntityConfigT **entityConfig)
Returns the configuration scalar attributes of an AMF entity.
ClRcT clAmsMgmtEntityLockAssignment(CL_IN ClAmsMgmtHandleT amsHandle, CL_IN const ClAmsEntityT *entity)
Changes the administrative state of an AMS entity to lock assigned state.
ClRcT clAmsMgmtEntityLockInstantiation(CL_IN ClAmsMgmtHandleT amsHandle, CL_IN const ClAmsEntityT *entity)
Changes the administrative state of an AMS entity to lock instantiated state.
ClRcT clAmsMgmtFinalize(CL_IN ClAmsMgmtHandleT amsHandle)
Terminates the use of the management function library.
ClRcT clAmsMgmtGetSGSUList(CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *sg, CL_OUT ClAmsEntityBufferT *suBuffer)
returns the sg su list for a sg
ClUint32T ClRcT
Clovis return code type.
Definition: clCommon.h:168
#define CL_OK
Every thing is OK.
Definition: clCommonErrors.h:68
#define CL_ERR_BAD_OPERATION
The requested operation is invalid.
Definition: clCommonErrors.h:243
#define CL_HANDLE_INVALID_VALUE
Defines.
Definition: clHandleApi.h:95
void clHeapFree(CL_IN ClPtrT pAddress)
Frees a pre-allocated memory.
ClUint16T length
Length of the name in bytes excluding '\0'.
Definition: clCommon.h:199
ClCharT value[CL_MAX_NAME_LENGTH]
Actual name represented as a null terminated ASCII string.
Definition: clCommon.h:201
Version Information for various services.
Definition: clCommon.h:250
ClUint8T releaseCode
single ASCII capitol letter "A-Z"
Definition: clCommon.h:252
This structure represents a reference to an AMF entity.
Definition: clAmsEntities.h:110
ClNameT name
unique name of entity
Definition: clAmsEntities.h:112
ClAmsEntityTypeT type
Type of entity (SG,SU,SI,CSI, etc)
Definition: clAmsEntities.h:111
This structure is the common fields in all AMF entities' status.
Definition: clAmsEntities.h:124
The below code snippet demonstrates dynamic HA model creation using AMS management control APIs.
The created model is a simple model, consisting of a node, service group having one service instance which consists of one component service instance. The service group protects two service units, each service unit consisting of one component. Each of these component support one component service instance.
In general the following is the work flow when creating dynamic HA model using AMS management control APIs:
static ClRcT clAmsMgmtTestFillConfig(ClAmsMgmtHandleT mgmtHandle,
ClAmsMgmtCCBHandleT ccbHandle,
ClAmsEntityTypeT type,
const ClCharT *pBaseName)
{
switch(type)
{
case CL_AMS_ENTITY_TYPE_SG:
{
&entity,
&pEntityConfig);
{
clLogError(NULL, NULL, "SG config get returned [%#x]", rc);
goto out;
}
memcpy(&sgConfig, pEntityConfig, sizeof(sgConfig));
targetEntity.
type = CL_AMS_ENTITY_TYPE_SI;
"%sSI",
pBaseName);
&entity,
&targetEntity);
{
clLogError(NULL, NULL, "SG set SI returned [%#x]", rc);
goto out;
}
targetEntity.
type = CL_AMS_ENTITY_TYPE_SU;
"%sSU0",
pBaseName);
&entity,
&targetEntity);
{
clLogError(NULL, NULL, "SG set SU returned [%#x]", rc);
goto out;
}
"%sSU1",
pBaseName);
&entity,
&targetEntity);
{
clLogError(NULL, NULL, "SG set SU returned [%#x]", rc);
goto out;
}
{
clLogError(NULL, NULL, "SG commit returned [%#x]", rc);
goto out;
}
}
break;
case CL_AMS_ENTITY_TYPE_SI:
{
ClUint64T bitMask = 0;
"%sSI",
pBaseName);
&entity,
&pEntityConfig);
{
clLogError(NULL, NULL, "SI config get returned [%#x]", rc);
goto out;
}
memcpy(&siConfig, pEntityConfig, sizeof(siConfig));
bitMask |= SI_CONFIG_NUM_CSIS | SI_CONFIG_NUM_STANDBY_ASSIGNMENTS;
&bitMask);
{
clLogError(NULL, NULL, "SI config set returned [%#x]", rc);
goto out;
}
targetEntity.
type = CL_AMS_ENTITY_TYPE_CSI;
"%sCSI",
pBaseName);
&entity,
&targetEntity);
{
clLogError(NULL, NULL, "SI set CSI returned [%#x]", rc);
goto out;
}
{
clLogError(NULL, NULL, "SI commit returned [%#x]", rc);
goto out;
}
}
break;
case CL_AMS_ENTITY_TYPE_CSI:
{
ClUint64T bitMask = 0;
"%sCSI",
pBaseName);
&entity,
&pEntityConfig);
{
clLogError(NULL, NULL, "CSI config get returned [%#x]", rc);
goto out;
}
memcpy(&csiConfig, pEntityConfig, sizeof(csiConfig));
bitMask |= CSI_CONFIG_TYPE;
"%sType",
&bitMask);
{
clLogError(NULL, NULL, "CSI type set returned [%#x]", rc);
goto out;
}
.length=sizeof("model") },
.paramValue = {.value = "twoN",
.length = sizeof("twoN") },
};
&entity,
&nvp);
{
clLogError(NULL, NULL, "CSI set nvplist returned [%#x]", rc);
goto out;
}
{
clLogError(NULL, NULL, "CSI ccb commit returned [%#x]", rc);
goto out;
}
}
break;
case CL_AMS_ENTITY_TYPE_NODE:
{
"%sNode",
pBaseName);
&entity,
&pEntityConfig);
{
clLogError(NULL, NULL, "NODE config get returned [%#x]", rc);
goto out;
}
memcpy(&nodeConfig, pEntityConfig, sizeof(nodeConfig));
targetEntity.
type = CL_AMS_ENTITY_TYPE_SU;
"%sSU1",
pBaseName);
&entity,
&targetEntity);
{
clLogError(NULL, NULL, "Node set SU returned [%#x]", rc);
goto out;
}
"%sSU0",
pBaseName);
&entity,
&targetEntity);
{
clLogError(NULL, NULL, "Node set SU returned [%#x]", rc);
goto out;
}
{
clLogError(NULL, NULL, "Node commit returned [%#x]", rc);
goto out;
}
ClCpmNodeConfigT cpmNodeConfig = {{0}};
{
clLogError(NULL, NULL,
"CPM master get returned returned [%#x]",
rc);
goto out;
}
{
clLogError(NULL, NULL, "Slot name get returned [%#x]", rc);
goto out;
}
&cpmNodeConfig.nodeMoIdStr);
{
clLogError(NULL, NULL, "Slot MOID get returned [%#x]", rc);
goto out;
}
strncpy(cpmNodeConfig.nodeName,
sizeof(cpmNodeConfig.nodeName)-1);
strncpy(cpmNodeConfig.cpmType,
"LOCAL",
sizeof(cpmNodeConfig.cpmType)-1);
rc = clCpmNodeConfigSet(&cpmNodeConfig);
{
clLogError(NULL, NULL, "Node config set returned [%#x]", rc);
goto out;
}
}
break;
case CL_AMS_ENTITY_TYPE_SU:
{
ClUint64T bitMask = 0;
"%sSU0",
pBaseName);
&entity,
&pEntityConfig);
{
clLogError(NULL, NULL, "SU config get returned [%#x]", rc);
goto out;
}
memcpy(&suConfig, pEntityConfig, sizeof(suConfig));
bitMask |= SU_CONFIG_NUM_COMPONENTS;
&bitMask);
{
clLogError(NULL, NULL, "SU config set returned [%#x]", rc);
goto out;
}
"%sSU1",
pBaseName);
&bitMask);
{
clLogError(NULL, NULL, "SU config set returned [%#x]", rc);
goto out;
}
targetEntity.
type = CL_AMS_ENTITY_TYPE_COMP;
"%sComp0",
pBaseName);
&entity,
&targetEntity);
{
clLogError(NULL, NULL, "SU add comp returned [%#x]", rc);
goto out;
}
"%sComp1",
pBaseName);
&entity,
&targetEntity);
{
clLogError(NULL, NULL, "SU add comp returned [%#x]", rc);
goto out;
}
{
clLogError(NULL, NULL, "SU commit returned [%#x]", rc);
goto out;
}
}
break;
case CL_AMS_ENTITY_TYPE_COMP:
{
ClUint64T bitMask = 0;
"%sComp0",
pBaseName);
&entity,
&pEntityConfig);
{
clLogError(NULL, NULL, "COMP config get returned [%#x]", rc);
goto out;
}
memcpy(&compConfig, pEntityConfig, sizeof(compConfig));
bitMask |= COMP_CONFIG_CAPABILITY_MODEL |
COMP_CONFIG_TIMEOUTS |
COMP_CONFIG_RECOVERY_ON_TIMEOUT;
compConfig.
timeouts.instantiate = 30000;
compConfig.
timeouts.quiescingComplete = 30000;
compConfig.
timeouts.instantiateDelay = 10000;
bitMask |= COMP_CONFIG_SUPPORTED_CSI_TYPE;
snprintf(supportedCSIType.
value,
sizeof(supportedCSIType.
value),
"%sCSIType",
pBaseName);
supportedCSIType.
length = strlen(supportedCSIType.
value)+1;
bitMask |= COMP_CONFIG_INSTANTIATE_COMMAND;
snprintf(compConfig.instantiateCommand,
sizeof(compConfig.instantiateCommand),
"asp_noRredundancyComp dummy");
&bitMask);
{
clLogError(NULL, NULL, "Comp config set returned [%#x]", rc);
goto out;
}
"%sComp1",
pBaseName);
&bitMask);
{
clLogError(NULL, NULL, "Comp config set returned [%#x]", rc);
goto out;
}
{
clLogError(NULL, NULL, "Comp commit returned [%#x]", rc);
goto out;
}
}
break;
default:
{
}
}
out:
return rc;
}
static ClRcT clAmsMgmtTestUnlock(ClAmsMgmtHandleT mgmtHandle,
ClAmsMgmtCCBHandleT ccbHandle,
const ClCharT *pBaseName)
{
entity.
type = CL_AMS_ENTITY_TYPE_SU;
"%sSU0",
pBaseName);
{
clLogError(NULL, NULL, "Lock assignment of SU returned [%#x]", rc);
goto out;
}
{
clLogError(NULL, NULL, "Unlock of SU returned [%#x]", rc);
goto out;
}
"%sSU1",
pBaseName);
&entity);
{
clLogError(NULL, NULL, "Lock assignment of SU returned [%#x]", rc);
goto out;
}
{
clLogError(NULL, NULL, "Unlock of SU returned [%#x]", rc);
goto out;
}
entity.
type = CL_AMS_ENTITY_TYPE_SI;
"%sSI",
pBaseName);
{
clLogError(NULL, NULL, "Unlock of SI returned [%#x]", rc);
goto out;
}
entity.
type = CL_AMS_ENTITY_TYPE_SG;
"%sSG",
pBaseName);
{
clLogError(NULL, NULL, "Lock assignment of SG returned [%#x]", rc);
goto out;
}
{
clLogError(NULL, NULL, "Unlock of SG returned [%#x]", rc);
goto out;
}
entity.
type = CL_AMS_ENTITY_TYPE_NODE;
"%sNode",
pBaseName);
{
clLogError(NULL, NULL, "Lock assignment of Node returned [%#x]", rc);
goto out;
}
{
clLogError(NULL, NULL, "Unlock of Node returned [%#x]", rc);
goto out;
}
out:
return rc;
}
ClRcT clAmsMgmtTest(
void)
{
const ClCharT *pBaseName = "dummyTwoN";
{
clLogError(NULL, NULL, "MGMT initialize returned [%#x]", rc);
goto out;
}
{
clLogError(NULL, NULL, "MGMT CCB initialize returned [%#x]", rc);
goto out1;
}
entity.
type = CL_AMS_ENTITY_TYPE_SG;
{
clLogError(NULL, NULL, "SG create returned [%#x]", rc);
goto out2;
}
entity.
type = CL_AMS_ENTITY_TYPE_SI;
{
clLogError(NULL, NULL, "SI create returned [%#x]", rc);
goto out2;
}
entity.
type = CL_AMS_ENTITY_TYPE_CSI;
{
clLogError(NULL, NULL, "CSI create returned [%#x]", rc);
goto out2;
}
entity.
type = CL_AMS_ENTITY_TYPE_NODE;
{
clLogError(NULL, NULL, "Node create returned [%#x]", rc);
goto out2;
}
entity.
type = CL_AMS_ENTITY_TYPE_SU;
{
clLogError(NULL, NULL, "SU create returned [%#x]", rc);
goto out2;
}
{
clLogError(NULL, NULL, "SU create returned [%#x]", rc);
goto out2;
}
entity.
type = CL_AMS_ENTITY_TYPE_COMP;
{
clLogError(NULL, NULL, "Component create returned [%#x]", rc);
goto out2;
}
{
clLogError(NULL, NULL, "Component create returned [%#x]", rc);
goto out2;
}
{
clLogError(NULL, NULL, "CCB commit returned [%#x]", rc);
goto out2;
}
rc = clAmsMgmtTestFillConfig(mgmtHandle,
ccbHandle,
CL_AMS_ENTITY_TYPE_SG,
pBaseName);
{
clLogError(NULL, NULL, "SG config fill returned [%#x]", rc);
goto out2;
}
rc = clAmsMgmtTestFillConfig(mgmtHandle,
ccbHandle,
CL_AMS_ENTITY_TYPE_SI,
pBaseName);
{
clLogError(NULL, NULL, "SG config fill returned [%#x]", rc);
goto out2;
}
rc = clAmsMgmtTestFillConfig(mgmtHandle,
ccbHandle,
CL_AMS_ENTITY_TYPE_CSI,
pBaseName);
{
clLogError(NULL, NULL, "SG config fill returned [%#x]", rc);
goto out2;
}
rc = clAmsMgmtTestFillConfig(mgmtHandle,
ccbHandle,
CL_AMS_ENTITY_TYPE_NODE,
pBaseName);
{
clLogError(NULL, NULL, "SG config fill returned [%#x]", rc);
goto out2;
}
rc = clAmsMgmtTestFillConfig(mgmtHandle,
ccbHandle,
CL_AMS_ENTITY_TYPE_SU,
pBaseName);
{
clLogError(NULL, NULL, "SG config fill returned [%#x]", rc);
goto out2;
}
rc = clAmsMgmtTestFillConfig(mgmtHandle,
ccbHandle,
CL_AMS_ENTITY_TYPE_COMP,
pBaseName);
{
clLogError(NULL, NULL, "SG config fill returned [%#x]", rc);
goto out2;
}
rc = clAmsMgmtTestUnlock(mgmtHandle,
ccbHandle,
pBaseName);
{
clLogError(NULL, NULL, "Unlock AMS entities returned [%#x]", rc);
goto out2;
}
out2:
out1:
out:
return rc;
}
ClRcT clAmsMgmtCCBEntitySetConfig(CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityConfigT *entityConfig, CL_IN ClUint64T bitMask)
Sets one or more scalar attributes of an AMS entity.
ClRcT clAmsMgmtCCBSetSICSIList(CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *siName, CL_IN ClAmsEntityT *csiName)
Adds a CSI in the CSI list for an AMS SI.
ClRcT clAmsMgmtCCBSetSGSUList(CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *sgName, CL_IN ClAmsEntityT *suName)
Adds a SU to the SU list of an AMS SG.
ClRcT clAmsMgmtCCBFinalize(CL_IN ClAmsMgmtCCBHandleT ccbHandle)
Finalizes the AMS management control library.
ClRcT clAmsMgmtCCBEntityCreate(CL_IN ClAmsMgmtCCBHandleT handle, CL_IN const ClAmsEntityT *entity)
Creates a new instance of an AMS entity.
ClRcT clAmsMgmtCCBCommit(CL_IN ClAmsMgmtCCBHandleT ccbHandle)
Applies the operation specific to CCB context in AMS DB atomically.
ClRcT clAmsMgmtCCBSetSUCompList(CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *suName, CL_IN ClAmsEntityT *compName)
Adds a component to the component list of an AMS SU.
ClRcT clAmsMgmtCCBInitialize(CL_IN ClAmsMgmtHandleT amlHandle, CL_OUT ClAmsMgmtCCBHandleT *ccbHandle)
Initializes the AMS management control library.
ClRcT clAmsMgmtCCBCSISetNVP(CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *csiName, CL_IN ClAmsCSINVPT *nvp)
Sets or creates a name value pair for a CSI.
ClRcT clAmsMgmtCCBSetSGSIList(CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *sgName, CL_IN ClAmsEntityT *siName)
Adds a SI to the SI list of an AMS SG.
ClRcT clAmsMgmtCCBSetNodeSUList(CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *nodeName, CL_IN ClAmsEntityT *suName)
Adds a SU to the SU list of an AMS node.
void clNameCopy(ClNameT *nameOut, const ClNameT *nameIn)
Load the ClNameT structure.
ClRcT clCorMoIdToMoIdNameGet(CL_IN ClCorMOIdT *moId, CL_OUT ClNameT *moIdName)
Retrieves MoId in ClNameT format, when MoId is provided in ClCorMOIdT format.
ClRcT clCpmMasterAddressGet(CL_OUT ClIocNodeAddressT *pIocAddress)
Returns the IOC address of the master.
ClRcT clCpmSlotInfoGet(CL_IN ClCpmSlotInfoFieldIdT flag, CL_OUT ClCpmSlotInfoT *slotInfo)
Returns the Slot related information [node moID, nodeName and IocAddress], provides the mapping betwe...
@ CL_CPM_SLOT_ID
Flag indicating that slot ID of the node is being passed.
Definition: clCpmExtApi.h:86
#define CL_ASSERT(expr)
This macro is used to assert upon a critical failure.
Definition: clDebugApi.h:209
A name.
Definition: clCommon.h:197
Node configuration information.
Definition: clAmsEntities.h:381
Service group configuration information.
Definition: clAmsEntities.h:466
Service Unit configuration information.
Definition: clAmsEntities.h:603
ClAmsEntityConfigT entity
base class
Definition: clAmsEntities.h:604
ClUint32T numComponents
components in SU
Definition: clAmsEntities.h:608
Service Unit configuration information.
Definition: clAmsEntities.h:695
ClUint32T numCSIs
number of CSIs in this SI
Definition: clAmsEntities.h:700
ClAmsEntityConfigT entity
base class
Definition: clAmsEntities.h:696
ClUint32T numStandbyAssignments
n-way model only
Definition: clAmsEntities.h:701
Component configuration information.
Definition: clAmsEntities.h:785
ClAmsCompTimerDurationsT timeouts
comp operation durations
Definition: clAmsEntities.h:802
ClAmsCompCapModelT capabilityModel
how to assign CSIs
Definition: clAmsEntities.h:790
ClAmsLocalRecoveryT recoveryOnTimeout
recovery on error
Definition: clAmsEntities.h:803
ClAmsEntityConfigT entity
base class
Definition: clAmsEntities.h:786
ClUint32T numSupportedCSITypes
supported csi type count
Definition: clAmsEntities.h:787
ClNameT * pSupportedCSITypes
CSI types supported.
Definition: clAmsEntities.h:788
Name Value Pair definition for CSIs.
Definition: clAmsEntities.h:898
ClNameT csiName
What CSI this NVP is associated with.
Definition: clAmsEntities.h:899
ClNameT paramName
String name of the parameter
Definition: clAmsEntities.h:900
Component service instance configuration information.
Definition: clAmsEntities.h:908
ClAmsEntityConfigT entity
base class
Definition: clAmsEntities.h:909
ClNameT type
type of CSI in SNMP
Definition: clAmsEntities.h:911
The structure filled by the clCpmSlotInfoGet() API.
Definition: clCpmExtApi.h:110
ClCorMOIdT nodeMoId
MOID of the node.
Definition: clCpmExtApi.h:122
ClUint32T slotId
Slot ID of the node.
Definition: clCpmExtApi.h:114