Defines, Structures, Typedefs, Functions. More...
Files | |
file | clAmsErrors.h |
Header file of error Messages that are AMS specific. | |
file | clAmsMgmtClientApi.h |
Header file of AMS related APIs. |
Macros | |
#define | CL_AMS_ERR_BAD_CONFIG 0x105 |
Invalid AMF configuration. | |
#define | CL_AMS_ERR_CSI_NOT_ASSIGNABLE 0x10a |
The component service instance cannot be assigned an active HA state. | |
#define | CL_AMS_ERR_ENTITY_NOT_ENABLED 0x104 |
The entity state is invalid w.r.t to the requested operation. | |
#define | CL_AMS_ERR_INVALID_ARGS 0x106 |
Invalid arguments. | |
#define | CL_AMS_ERR_INVALID_COMP 0x100 |
The component is invalid. | |
#define | CL_AMS_ERR_INVALID_ENTITY 0x101 |
The AMS entity (node, service group, service unit, service instance, component or component service instance) is invalid. | |
#define | CL_AMS_ERR_INVALID_ENTITY_LIST 0x103 |
The entity list name is invalid. | |
#define | CL_AMS_ERR_INVALID_ENTITY_STATE 0x102 |
The administrative state of an entity (node, service group, service unit or service instance) is invalid. | |
#define | CL_AMS_ERR_INVALID_OPERATION 0x107 |
The requested operation is (currently) invalid. | |
#define | CL_AMS_ERR_OPERATION_FAILED 0x108 |
The requested operation could not be completed. | |
#define | CL_AMS_ERR_SI_NOT_ASSIGNABLE 0x109 |
The service instance cannot be assigned an active HA state. | |
#define | CL_AMS_ERR_UNMARSHALING_FAILED 0x10b |
Unmarshalling of the AMS buffer failed. | |
#define | CL_AMS_RC(ERROR_CODE) CL_RC(CL_CID_AMS, (ERROR_CODE)) |
Error macro definitions for AMS. |
Functions | |
ClRcT | clAmsMgmtCCBCommit (CL_IN ClAmsMgmtCCBHandleT ccbHandle) |
Applies the operation specific to CCB context in AMS DB atomically. | |
ClRcT | clAmsMgmtCCBCSIDeleteNVP (CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *csiName, CL_IN ClAmsCSINVPT *nvp) |
Deletes a name value pair for a CSI. | |
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 | clAmsMgmtCCBDeleteCSIDependency (CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *csiName, CL_IN ClAmsEntityT *dependencyCSIName) |
Deletes a CSI from the CSI dependencies list for an AMS CSI. | |
ClRcT | clAmsMgmtCCBDeleteNodeDependency (CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *nodeName, CL_IN ClAmsEntityT *dependencyNodeName) |
Deletes a node from the node dependencies list of an AMS node. | |
ClRcT | clAmsMgmtCCBDeleteNodeSUList (CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *nodeName, CL_IN ClAmsEntityT *suName) |
Removes a SU from the SU list of an AMS node. | |
ClRcT | clAmsMgmtCCBDeleteSGSIList (CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *sgName, CL_IN ClAmsEntityT *siName) |
Deletes a SI from the SI list of an AMS SG. | |
ClRcT | clAmsMgmtCCBDeleteSGSUList (CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *sgName, CL_IN ClAmsEntityT *suName) |
Deletes a SU from the SU list of an AMS SG. | |
ClRcT | clAmsMgmtCCBDeleteSICSIList (CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *siName, CL_IN ClAmsEntityT *csiName) |
Removes a CSI from the CSI list for an AMS SI. | |
ClRcT | clAmsMgmtCCBDeleteSIDependency (CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *siName, CL_IN ClAmsEntityT *dependencySIName) |
Deletes a SI from the SI dependencies list for an AMS SI. | |
ClRcT | clAmsMgmtCCBDeleteSISURankList (CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *siName, CL_IN ClAmsEntityT *suName) |
Removes a SU from the SU rank list for an AMS SI. | |
ClRcT | clAmsMgmtCCBDeleteSUCompList (CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *suName, CL_IN ClAmsEntityT *compName) |
Removes a component from the component list of an AMS SU. | |
ClRcT | clAmsMgmtCCBEntityCreate (CL_IN ClAmsMgmtCCBHandleT handle, CL_IN const ClAmsEntityT *entity) |
Creates a new instance of an AMS entity. | |
ClRcT | clAmsMgmtCCBEntityDelete (CL_IN ClAmsMgmtCCBHandleT handle, CL_IN const ClAmsEntityT *entity) |
Deletes an instance of an AMS entity from AMS database. | |
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 | clAmsMgmtCCBFinalize (CL_IN ClAmsMgmtCCBHandleT ccbHandle) |
Finalizes the AMS management control library. | |
ClRcT | clAmsMgmtCCBInitialize (CL_IN ClAmsMgmtHandleT amlHandle, CL_OUT ClAmsMgmtCCBHandleT *ccbHandle) |
Initializes the AMS management control library. | |
ClRcT | clAmsMgmtCCBSetCSIDependency (CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *csiName, CL_IN ClAmsEntityT *dependencyCSIName) |
Adds a CSI in the CSI dependencies list for an AMS CSI. | |
ClRcT | clAmsMgmtCCBSetNodeDependency (CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *nodeName, CL_IN ClAmsEntityT *dependencyNodeName) |
Adds a node to the node dependencies list of an AMS node. | |
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. | |
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 | 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 | 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 | clAmsMgmtCCBSetSIDependency (CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *siName, CL_IN ClAmsEntityT *dependencySIName) |
Adds a SI in the SI dependencies list for an AMS SI. | |
ClRcT | clAmsMgmtCCBSetSISURankList (CL_IN ClAmsMgmtCCBHandleT handle, CL_IN ClAmsEntityT *siName, CL_IN ClAmsEntityT *suName) |
Adds a SU in the SU rank list for an AMS SI. | |
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. | |
ClAmsCompConfigT * | clAmsMgmtCompGetConfig (CL_IN ClAmsMgmtHandleT handle, CL_IN const ClCharT *entName) |
Returns the configuration information for a component. | |
ClAmsCompStatusT * | clAmsMgmtCompGetStatus (CL_IN ClAmsMgmtHandleT handle, CL_IN const ClCharT *entName) |
Returns the current status information of a component. | |
ClAmsCSIConfigT * | clAmsMgmtCompServiceInstanceGetConfig (CL_IN ClAmsMgmtHandleT handle, CL_IN const ClCharT *entName) |
Returns the configuration information for a component service instance. | |
ClAmsCSIStatusT * | clAmsMgmtCompServiceInstanceGetStatus (CL_IN ClAmsMgmtHandleT handle, CL_IN const ClCharT *entName) |
Returns the current status information of a component service instance. | |
ClRcT | clAmsMgmtDebugDisable (CL_IN ClAmsMgmtHandleT amsHandle, CL_IN const ClAmsEntityT *entity, CL_IN ClUint8T debugFlags) |
Disables debugging for AMS entitity(ies). | |
ClRcT | clAmsMgmtDebugDisableLogToConsole (CL_IN ClAmsMgmtHandleT amsHandle) |
Disables display of AMS debugging messages on the console. | |
ClRcT | clAmsMgmtDebugEnable (CL_IN ClAmsMgmtHandleT amsHandle, CL_IN const ClAmsEntityT *entity, CL_IN ClUint8T debugFlags) |
Enables debugging for AMS entitity(ies). | |
ClRcT | clAmsMgmtDebugEnableLogToConsole (CL_IN ClAmsMgmtHandleT amsHandle) |
Enables AMS debugging messages to be displayed on the console. | |
ClRcT | clAmsMgmtDebugGet (CL_IN ClAmsMgmtHandleT amsHandle, CL_IN const ClAmsEntityT *entity, CL_OUT ClUint8T *debugFlags) |
Returns the debugging flags for AMS entitity(ies). | |
ClRcT | clAmsMgmtEntityGet (CL_IN ClAmsMgmtHandleT handle, CL_INOUT ClAmsEntityRefT *entityRef) |
Returns the configuration and status scalar attributes of an AMS entity. | |
ClRcT | clAmsMgmtEntityGetConfig (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *entity, CL_OUT ClAmsEntityConfigT **entityConfig) |
Returns the configuration scalar attributes of an AMF entity. | |
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 | 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 | clAmsMgmtEntityRepaired (CL_IN ClAmsMgmtHandleT amsHandle, CL_IN const ClAmsEntityT *entity) |
Marks a previously faulty entity as repaired, so that AMS can use it again for work assignment. | |
ClRcT | clAmsMgmtEntityRestart (CL_IN ClAmsMgmtHandleT amsHandle, CL_IN const ClAmsEntityT *entity) |
Restart an AMS entity following termination . | |
ClRcT | clAmsMgmtEntitySetAlphaFactor (CL_IN ClAmsMgmtHandleT amsHandle, CL_IN ClAmsEntityT *entity, CL_IN ClUint32T alphaFactor) |
Changes the alpha factor configured for a given SG. | |
ClRcT | clAmsMgmtEntitySetBetaFactor (CL_IN ClAmsMgmtHandleT amsHandle, CL_IN ClAmsEntityT *entity, CL_IN ClUint32T betaFactor) |
Changes the beta factor configured for a given SG. | |
ClRcT | clAmsMgmtEntityShutdown (CL_IN ClAmsMgmtHandleT amsHandle, CL_IN const ClAmsEntityT *entity) |
Changes the administrative state of an AMS entity to shutting-down. | |
ClRcT | clAmsMgmtEntityUnlock (CL_IN ClAmsMgmtHandleT amsHandle, CL_IN const ClAmsEntityT *entity) |
Changes the administrative state of an AMS entity to unlocked state. | |
ClRcT | clAmsMgmtEntityUserDataDelete (ClAmsMgmtHandleT handle, ClAmsEntityT *entity) |
Deletes the data for the default key associated with an AMF entity. | |
ClRcT | clAmsMgmtEntityUserDataDeleteAll (ClAmsMgmtHandleT handle, ClAmsEntityT *entity) |
Deletes all the data associated with an AMF entity for all keys. | |
ClRcT | clAmsMgmtEntityUserDataDeleteKey (ClAmsMgmtHandleT handle, ClAmsEntityT *entity, ClNameT *key) |
Deletes the arbitrary data associated with an AMF entity and a key. | |
ClRcT | clAmsMgmtEntityUserDataGet (ClAmsMgmtHandleT handle, ClAmsEntityT *entity, ClCharT **data, ClUint32T *len) |
Retrieve arbitrary data associated with an AMF entity. | |
ClRcT | clAmsMgmtEntityUserDataGetKey (ClAmsMgmtHandleT handle, ClAmsEntityT *entity, ClNameT *key, ClCharT **data, ClUint32T *len) |
Retrieve arbitrary data associated with an AMF entity and a key. | |
ClRcT | clAmsMgmtEntityUserDataSet (ClAmsMgmtHandleT handle, ClAmsEntityT *entity, ClCharT *data, ClUint32T len) |
Associate arbitrary data with an AMF entity. | |
ClRcT | clAmsMgmtEntityUserDataSetKey (ClAmsMgmtHandleT handle, ClAmsEntityT *entity, ClNameT *key, ClCharT *data, ClUint32T len) |
Associate arbitrary data with an AMF entity and a key. | |
ClRcT | clAmsMgmtFinalize (CL_IN ClAmsMgmtHandleT amsHandle) |
Terminates the use of the management function library. | |
ClRcT | clAmsMgmtGetCompCSIList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *comp, CL_OUT ClAmsCompCSIRefBufferT *csiBuffer) |
returns the list of csi's assigned to a component | |
ClRcT | clAmsMgmtGetCompList (CL_IN ClAmsMgmtHandleT handle, CL_OUT ClAmsEntityBufferT *entityBuffer) |
Get all component entity names. | |
ClRcT | clAmsMgmtGetCSIDependenciesList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *csi, CL_OUT ClAmsEntityBufferT *dependenciesCSIBuffer) |
returns the csi-csi dependencies list for a csi | |
ClRcT | clAmsMgmtGetCSIList (CL_IN ClAmsMgmtHandleT handle, CL_OUT ClAmsEntityBufferT *entityBuffer) |
Get all component service instance entity names. | |
ClRcT | clAmsMgmtGetCSINVPList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *csi, CL_OUT ClAmsCSINVPBufferT *nvpBuffer) |
returns the name value pair list for a csi | |
ClRcT | clAmsMgmtGetList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityListTypeT listName, CL_OUT ClAmsEntityBufferT *buffer) |
Get all entities of a particular type. | |
ClRcT | clAmsMgmtGetNodeDependenciesList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *node, CL_OUT ClAmsEntityBufferT *dependencyBuffer) |
returns the node dependencies list for a node | |
ClRcT | clAmsMgmtGetNodeList (CL_IN ClAmsMgmtHandleT handle, CL_OUT ClAmsEntityBufferT *entityBuffer) |
Get all node entity names. | |
ClRcT | clAmsMgmtGetNodeSUList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *node, CL_OUT ClAmsEntityBufferT *suBuffer) |
returns the node su list for a node | |
ClRcT | clAmsMgmtGetSGAssignedSUList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *sg, CL_OUT ClAmsEntityBufferT *assignedSUBuffer) |
returns the assigned su list for a sg | |
ClRcT | clAmsMgmtGetSGFaultySUList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *sg, CL_OUT ClAmsEntityBufferT *faultySUBuffer) |
returns the faulty su list for a sg | |
ClRcT | clAmsMgmtGetSGInServiceSpareSUList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *sg, CL_OUT ClAmsEntityBufferT *inserviceSpareSUBuffer) |
returns the in service spare su list for a sg | |
ClRcT | clAmsMgmtGetSGInstantiableSUList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *sg, CL_OUT ClAmsEntityBufferT *instantiableSUBuffer) |
returns the instantiable su list for a sg | |
ClRcT | clAmsMgmtGetSGInstantiatedSUList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *sg, CL_OUT ClAmsEntityBufferT *instantiatedSUBuffer) |
returns the instantiated su list for a sg | |
ClRcT | clAmsMgmtGetSGList (CL_IN ClAmsMgmtHandleT handle, CL_OUT ClAmsEntityBufferT *entityBuffer) |
Get all service group names. | |
ClRcT | clAmsMgmtGetSGSIList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *sg, CL_OUT ClAmsEntityBufferT *siBuffer) |
returns the sg si list for a sg | |
ClRcT | clAmsMgmtGetSGSUList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *sg, CL_OUT ClAmsEntityBufferT *suBuffer) |
returns the sg su list for a sg | |
ClRcT | clAmsMgmtGetSICSIList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *si, CL_OUT ClAmsEntityBufferT *csiBuffer) |
returns the si-csi list for a si | |
ClRcT | clAmsMgmtGetSIDependenciesList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *si, CL_OUT ClAmsEntityBufferT *dependenciesSIBuffer) |
returns the si-si dependencies list for a si | |
ClRcT | clAmsMgmtGetSIList (CL_IN ClAmsMgmtHandleT handle, CL_OUT ClAmsEntityBufferT *entityBuffer) |
Get all service instance entity names. | |
ClRcT | clAmsMgmtGetSISUList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *si, CL_OUT ClAmsSISURefBufferT *suBuffer) |
returns the su list for si | |
ClRcT | clAmsMgmtGetSISURankList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *si, CL_OUT ClAmsEntityBufferT *suBuffer) |
returns the si-su rank list for a si | |
ClRcT | clAmsMgmtGetSUAssignedSIsList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *su, CL_OUT ClAmsSUSIRefBufferT *siBuffer) |
returns the assigned si's list for su | |
ClRcT | clAmsMgmtGetSUCompList (CL_IN ClAmsMgmtHandleT handle, CL_IN ClAmsEntityT *su, CL_OUT ClAmsEntityBufferT *compBuffer) |
returns the component list for a su | |
ClRcT | clAmsMgmtGetSUList (CL_IN ClAmsMgmtHandleT handle, CL_OUT ClAmsEntityBufferT *entityBuffer) |
Get all service unit entity names. | |
ClRcT | clAmsMgmtInitialize (CL_OUT ClAmsMgmtHandleT *amsHandle, CL_IN const ClAmsMgmtCallbacksT *amsMgmtCallbacks, CL_INOUT ClVersionT *version) |
Starts the use of the management function library. | |
ClRcT | clAmsMgmtMigrateSG (ClAmsMgmtHandleT handle, const ClCharT *sg, const ClCharT *prefix, ClUint32T activeSUs, ClUint32T standbySUs, ClAmsMgmtMigrateListT *migrateList) |
Convert an SG from one redundancy model to another, without taking it offline. | |
ClAmsNodeConfigT * | clAmsMgmtNodeGetConfig (CL_IN ClAmsMgmtHandleT handle, CL_IN const ClCharT *entName) |
Returns the configuration information for nodes. | |
ClAmsNodeStatusT * | clAmsMgmtNodeGetStatus (CL_IN ClAmsMgmtHandleT handle, CL_IN const ClCharT *entName) |
Returns the current status information of a node. | |
ClAmsSGConfigT * | clAmsMgmtServiceGroupGetConfig (CL_IN ClAmsMgmtHandleT handle, CL_IN const ClCharT *entName) |
Returns the configuration information for a service group. | |
ClAmsSGStatusT * | clAmsMgmtServiceGroupGetStatus (CL_IN ClAmsMgmtHandleT handle, CL_IN const ClCharT *entName) |
Returns the current status information of a service group. | |
ClAmsSIConfigT * | clAmsMgmtServiceInstanceGetConfig (CL_IN ClAmsMgmtHandleT handle, CL_IN const ClCharT *entName) |
Returns the configuration information for a service instance. | |
ClAmsSIStatusT * | clAmsMgmtServiceInstanceGetStatus (CL_IN ClAmsMgmtHandleT handle, CL_IN const ClCharT *entName) |
Returns the current status information of a service instance. | |
ClAmsSUConfigT * | clAmsMgmtServiceUnitGetConfig (CL_IN ClAmsMgmtHandleT handle, CL_IN const ClCharT *entName) |
Returns the configuration information for a service unit. | |
ClAmsSUStatusT * | clAmsMgmtServiceUnitGetStatus (CL_IN ClAmsMgmtHandleT handle, CL_IN const ClCharT *entName) |
Returns the current status information of a service unit. | |
ClRcT | clAmsMgmtSetActive (ClAmsMgmtHandleT handle, ClAmsEntityT *entity, ClAmsEntityT *activeSU) |
Changes the 'Active' Service Unit. | |
ClRcT | clAmsMgmtSGAdjust (CL_IN ClAmsMgmtHandleT amsHandle, CL_IN const ClCharT *sg, CL_IN ClBoolT enable) |
Restores the SG to the most preferred assignments. | |
ClRcT | clAmsMgmtSISwap (CL_IN ClAmsMgmtHandleT amsHandle, CL_IN const ClCharT *si) |
Swaps the HA state of the appropriate CSIs contained within an SI. |
Defines, Structures, Typedefs, Functions.
#define CL_AMS_ERR_INVALID_ARGS 0x106 |
Invalid arguments.
(Mostly used in AMF debug CLI)
#define CL_AMS_ERR_INVALID_ENTITY_LIST 0x103 |
The entity list name is invalid.
(Used by AMS management APIs.)
Applies the operation specific to CCB context in AMS DB atomically.
ccbHandle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
After calling clAmsMgmtCCBCommit() the handle can be reused for another transaction. To abort the transaction instead of committing, use clAmsMgmtCCBFinalize().
ClRcT clAmsMgmtCCBCSIDeleteNVP | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN ClAmsEntityT * | csiName, | ||
CL_IN ClAmsCSINVPT * | nvp | ||
) |
Deletes a name value pair for a CSI.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
csiName | (in) The name of the CSI. |
nvp | (in) The name value pair for the CSI to be deleted. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_NOT_EXIST | The CSI specified by the csiName doesn't exist in AMS database. |
ClRcT clAmsMgmtCCBCSISetNVP | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN ClAmsEntityT * | csiName, | ||
CL_IN ClAmsCSINVPT * | nvp | ||
) |
Sets or creates a name value pair for a CSI.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
csiName | (in) The name of the CSI. |
nvp | (in) The name value pair to be set/created. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
ClRcT clAmsMgmtCCBDeleteCSIDependency | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN ClAmsEntityT * | csiName, | ||
CL_IN ClAmsEntityT * | dependencyCSIName | ||
) |
Deletes a CSI from the CSI dependencies list for an AMS CSI.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
csiName | (in) Name of the CSI whose dependency list is being modified. |
dependencyCSIName | (in) Name of the dependent CSI to be removed from the CSI's dependencies list. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The CSI specified by the csiName doesn't exist in AMS database. |
ClRcT clAmsMgmtCCBDeleteNodeDependency | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN ClAmsEntityT * | nodeName, | ||
CL_IN ClAmsEntityT * | dependencyNodeName | ||
) |
Deletes a node from the node dependencies list of an AMS node.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
nodeName | (in) Name of the node whose dependency list is being modified. |
dependencyNodeName | (in) Name of the dependent node to be removed from the node's dependencies list. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The node specified by the nodeName doesn't exist in AMS database. |
ClRcT clAmsMgmtCCBDeleteNodeSUList | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN ClAmsEntityT * | nodeName, | ||
CL_IN ClAmsEntityT * | suName | ||
) |
Removes a SU from the SU list of an AMS node.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
nodeName | (in) Name of the node whose SU list is being modified. |
suName | (in) Name of SU to be removed from the SU list of the node. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The node specified by the nodeName doesn't exist in AMS database. |
ClRcT clAmsMgmtCCBDeleteSGSIList | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN ClAmsEntityT * | sgName, | ||
CL_IN ClAmsEntityT * | siName | ||
) |
Deletes a SI from the SI list of an AMS SG.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
sgName | (in) Name of the SG whose SI list is being modified. |
siName | (in) Name of SI that is removed from the SI list of the SG. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The SG specified by the sgName doesn't exist in AMS database. |
ClRcT clAmsMgmtCCBDeleteSGSUList | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN ClAmsEntityT * | sgName, | ||
CL_IN ClAmsEntityT * | suName | ||
) |
Deletes a SU from the SU list of an AMS SG.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
sgName | (in) Name of the SG whose SU list is being modified. |
suName | (in) Name of SU that is removed from the SU list of the SG. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The SG specified by the sgName doesn't exist in AMS database. |
ClRcT clAmsMgmtCCBDeleteSICSIList | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN ClAmsEntityT * | siName, | ||
CL_IN ClAmsEntityT * | csiName | ||
) |
Removes a CSI from the CSI list for an AMS SI.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
siName | (in) Name of the SI whose CSI list is being modified. |
csiName | (in) Name of CSI that is being removed from the CSI list of the SI. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The SI specified by the siName doesn't exist in AMS database. |
ClRcT clAmsMgmtCCBDeleteSIDependency | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN ClAmsEntityT * | siName, | ||
CL_IN ClAmsEntityT * | dependencySIName | ||
) |
Deletes a SI from the SI dependencies list for an AMS SI.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
siName | (in) Name of the SI whose dependency list is being modified. |
dependencySIName | (in) Name of the dependent SI to be removed from the SI's dependencies list. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The SI specified by the siName doesn't exist in AMS database. |
ClRcT clAmsMgmtCCBDeleteSISURankList | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN ClAmsEntityT * | siName, | ||
CL_IN ClAmsEntityT * | suName | ||
) |
Removes a SU from the SU rank list for an AMS SI.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
siName | (in) Name of the SI whose SU rank list is being modified. |
suName | (in) Name of SU that is removed from the SU rank list of the SI. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The SI specified by the siName doesn't exist in AMS database. |
ClRcT clAmsMgmtCCBDeleteSUCompList | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN ClAmsEntityT * | suName, | ||
CL_IN ClAmsEntityT * | compName | ||
) |
Removes a component from the component list of an AMS SU.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
suName | (in) Name of the SU whose component list is being modified. |
compName | (in) Name of component that is being removed from the component list of the SU. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The SU specified by the suName doesn't exist in AMS database. |
ClRcT clAmsMgmtCCBEntityCreate | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN const ClAmsEntityT * | entity | ||
) |
Creates a new instance of an AMS entity.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
entity | (in) The name and type of the new AMS entity to be created. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
ClRcT clAmsMgmtCCBEntityDelete | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN const ClAmsEntityT * | entity | ||
) |
Deletes an instance of an AMS entity from AMS database.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
entity | (in) The name and type of the new AMS entity to be deleted. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
ClRcT clAmsMgmtCCBEntitySetConfig | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN ClAmsEntityConfigT * | entityConfig, | ||
CL_IN ClUint64T | bitMask | ||
) |
Sets one or more scalar attributes of an AMS entity.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
entityConfig | (in) New configuration values for the AMS entity attributes(s) whose configuration is being set. AMS entity name and type is also specified in this structure. |
bitmask | (in) Mask specifying the attribute(s) whose value is being set to new values. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
SG_CONFIG_ADMIN_STATE
SI_CONFIG_NUM_STANDBY_ASSIGNMENTS
COMP_CONFIG_TIMEOUTS
COMP_CONFIG_CAPABILITY_MODEL
COMP_CONFIG_RECOVERY_ON_TIMEOUT
COMP_CONFIG_INSTANTIATE_COMMAND
Finalizes the AMS management control library.
ccbHandle | (in) The CCB handle returned by the AMS on invocation of clAmsMgmtCCBInitialize() API. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
ClRcT clAmsMgmtCCBInitialize | ( | CL_IN ClAmsMgmtHandleT | amlHandle, |
CL_OUT ClAmsMgmtCCBHandleT * | ccbHandle | ||
) |
Initializes the AMS management control library.
amlHandle | (in) The AMS handle returned by the AMS on invocation of the clAmsMgmtInitialize() API. |
ccbHandle | (out) The AMS management control handle returned by the library. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | The AMS management handle passed is invalid. |
However, if the application decides to abort the changes, it must call clAmsMgmtCCBFinalize(), and then clAmsMgmtCCBInitialize() to get a new handle.
ClRcT clAmsMgmtCCBSetCSIDependency | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN ClAmsEntityT * | csiName, | ||
CL_IN ClAmsEntityT * | dependencyCSIName | ||
) |
Adds a CSI in the CSI dependencies list for an AMS CSI.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
csiName | (in) Name of the CSI whose dependency list is being modified. |
dependencyCSIName | (in) Name of the dependent csi to be added in the CSI's dependencies list. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The csi specified by the csiName doesn't exist in AMS database. |
ClRcT clAmsMgmtCCBSetNodeDependency | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN ClAmsEntityT * | nodeName, | ||
CL_IN ClAmsEntityT * | dependencyNodeName | ||
) |
Adds a node to the node dependencies list of an AMS node.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
nodeName | (in) Name of the node whose dependency list is being modified. |
dependencyNodeName | (in) Name of the dependent node to be added in the node's dependencies list. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The node specified by the nodeName doesn't exist in AMS database. |
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.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
nodeName | (in) Name of the node whose SU list is being modified. |
suName | (in) Name of SU being added to the SU list of the node. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The node specified by the nodeName doesn't exist in AMS database. |
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.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
sgName | (in) Name of the SG whose SU list is being modified. |
siName | (in) Name of SI being added to the SI list of the SG. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The SG specified by the sgName doesn't exist in AMS database. |
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.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
sgName | (in) Name of the SG whose SU list is being modified. |
suName | (in) Name of SU being added to the SU list of the SG. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The SG specified by the sgName doesn't exist in AMS database. |
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.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
siName | (in) Name of the SI whose CSI list is being modified. |
csiName | (in) Name of CSI being added to the CSI list of the SI. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The SI specified by the siName doesn't exist in AMS database. |
ClRcT clAmsMgmtCCBSetSIDependency | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN ClAmsEntityT * | siName, | ||
CL_IN ClAmsEntityT * | dependencySIName | ||
) |
Adds a SI in the SI dependencies list for an AMS SI.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
siName | (in) Name of the SI whose dependency list is being modified. |
dependencySIName | (in) Name of the dependent si to be added in the SI's dependencies list. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The si specified by the siName doesn't exist in AMS database. |
ClRcT clAmsMgmtCCBSetSISURankList | ( | CL_IN ClAmsMgmtCCBHandleT | handle, |
CL_IN ClAmsEntityT * | siName, | ||
CL_IN ClAmsEntityT * | suName | ||
) |
Adds a SU in the SU rank list for an AMS SI.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
siName | (in) Name of the SI whose SU rank list is being modified. |
suName | (in) Name of SU being added to the SU rank list of the SI. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The SI specified by the siName doesn't exist in AMS database. |
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.
handle | (in) The CCB handle returned by the AMS on invocation of the clAmsMgmtCCBInitialize() API. |
suName | (in) Name of the SU whose component list is being modified. |
compName | (in) Name of component being added to the component list of the SU. |
CL_OK | The API executed successfully. |
CL_ERR_INVALID_HANDLE | AMS management handle passed is invalid. |
CL_ERR_DOESNT_EXIST | The SU specified by the suName doesn't exist in AMS database. |
ClAmsCompConfigT* clAmsMgmtCompGetConfig | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN const ClCharT * | entName | ||
) |
Returns the configuration information for a component.
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize() API. |
entName | Null terminated name of the AMS entity. |
ClAmsCompStatusT* clAmsMgmtCompGetStatus | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN const ClCharT * | entName | ||
) |
Returns the current status information of a component.
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize() API. |
entName | NULL terminated name of the AMS entity. |
ClAmsCSIConfigT* clAmsMgmtCompServiceInstanceGetConfig | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN const ClCharT * | entName | ||
) |
Returns the configuration information for a component service instance.
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize() API. |
entName | Null terminated name of the AMS entity. |
ClAmsCSIStatusT* clAmsMgmtCompServiceInstanceGetStatus | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN const ClCharT * | entName | ||
) |
Returns the current status information of a component service instance.
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize() API. |
entName | NULL terminated name of the AMS entity. |
ClRcT clAmsMgmtDebugDisable | ( | CL_IN ClAmsMgmtHandleT | amsHandle, |
CL_IN const ClAmsEntityT * | entity, | ||
CL_IN ClUint8T | debugFlags | ||
) |
Disables debugging for AMS entitity(ies).
amsHandle | (in) Handle identifying the initialization of the AML by the application obtained through earlier invocation of clAmsMgmtInitialize API. |
entity | (in) Name and type of the entity on which the debugFlags have to be set. NULL value for the entity indicates that debugFlags are being set for entire AMS. |
debugFlags | (in) This parameter defines the type of the debug messages to be disabled for entity(ies). See the AMS Debug Flags above for description of various debugFlags. AMS debug flags can be used in conjunction with each other. For example, to disble all types of logging messages, the debugFlags combination will be : CL_AMS_MGMT_SUB_AREA_MSG | CL_AMS_MGMT_SUB_AREA_STATE_CHANGE | CL_AMS_MGMT_SUB_AREA_FN_CALL | CL_AMS_MGMT_SUB_AREA_TIMER |
CL_OK | The function completed successfully. |
CL_ERR_INVALID_HANDLE | Handle passed is not a valid handle obtained through an earlier call to clAmsMgmtInitialize API. |
CL_ERR_TIMEOUT | Timeout occurred before the call could be completed. It is unspecified whether the call succeeded or whether it did not. |
CL_ERR_NO_MEMORY | Either the AMS library or the provider of service is out of memory and cannot provide the service. |
CL_ERR_NOT_EXIST | Entity on which the administrative action is requested is not found in the AMS database. |
Disables display of AMS debugging messages on the console.
amsHandle | (in) Handle identifying the initialization of the AML by the application obtained through earlier invocation of clAmsMgmtInitialize API. |
CL_OK | The function completed successfully. |
CL_ERR_INVALID_HANDLE | Handle passed is not a valid handle obtained through an earlier call to clAmsMgmtInitialize API. |
CL_ERR_TIMEOUT | Timeout occurred before the call could be completed. It is unspecified whether the call succeeded or whether it did not. |
CL_ERR_NO_MEMORY | Either the AMS library or the provider of service is out of memory and cannot provide the service. |
ClRcT clAmsMgmtDebugEnable | ( | CL_IN ClAmsMgmtHandleT | amsHandle, |
CL_IN const ClAmsEntityT * | entity, | ||
CL_IN ClUint8T | debugFlags | ||
) |
Enables debugging for AMS entitity(ies).
amsHandle | (in) Handle identifying the initialization of the AML by the application obtained through earlier invocation of clAmsMgmtInitialize API. |
entity | (in) Name and type of the entity on which the debugFlags have to be set. NULL value for the entity indicates that debugFlags are being set for entire AMS. |
debugFlags | (in) This parameter defines the type of the debug messages to be enabled for entity(ies). See the AMS Debug Flags above for description of various debugFlags. AMS debug flags can be used in conjunction with each other. For example, to enable all types of logging messages, the debugFlags combination will be : CL_AMS_MGMT_SUB_AREA_MSG | CL_AMS_MGMT_SUB_AREA_STATE_CHANGE | CL_AMS_MGMT_SUB_AREA_FN_CALL | CL_AMS_MGMT_SUB_AREA_TIMER |
CL_OK | The function completed successfully. |
CL_ERR_INVALID_HANDLE | Handle passed is not a valid handle obtained through an earlier call to clAmsMgmtInitialize API. |
CL_ERR_TIMEOUT | Timeout occurred before the call could be completed. It is unspecified whether the call succeeded or whether it did not. |
CL_ERR_NO_MEMORY | Either the AMS library or the provider of service is out of memory and cannot provide the service. |
CL_ERR_NOT_EXIST | Entity on which the action is requested is not found in the AMS database. |
Enables AMS debugging messages to be displayed on the console.
amsHandle | (in) Handle identifying the initialization of the AML by the application obtained through earlier invocation of clAmsMgmtInitialize API. |
CL_OK | The function completed successfully. |
CL_ERR_INVALID_HANDLE | Handle passed is not a valid handle obtained through an earlier call to clAmsMgmtInitialize API. |
CL_ERR_TIMEOUT | Timeout occurred before the call could be completed. It is unspecified whether the call succeeded or whether it did not. |
CL_ERR_NO_MEMORY | Either the AMS library or the provider of service is out of memory and cannot provide the service. |
ClRcT clAmsMgmtDebugGet | ( | CL_IN ClAmsMgmtHandleT | amsHandle, |
CL_IN const ClAmsEntityT * | entity, | ||
CL_OUT ClUint8T * | debugFlags | ||
) |
Returns the debugging flags for AMS entitity(ies).
amsHandle | (in) Handle identifying the initialization of the AML by the application obtained through earlier invocation of clAmsMgmtInitialize API. |
entity | (in) Name and type of the entity on which the debugFlags have to be set. NULL value for the entity indicates that debugFlags are being set for entire AMS. |
debugFlags | (out) AML returns the enabled debugFlags for the AMS entity(ies) in this parameter. See the AMS Debug Flags above for description of various debugFlags. |
CL_OK | The function completed successfully. |
CL_ERR_INVALID_HANDLE | Handle passed is not a valid handle obtained through an earlier call to clAmsMgmtInitialize API. |
CL_ERR_TIMEOUT | Timeout occurred before the call could be completed. It is unspecified whether the call succeeded or whether it did not. |
CL_ERR_NO_MEMORY | Either the AMS library or the provider of service is out of memory and cannot provide the service. |
CL_ERR_NOT_EXIST | Entity on which the administrative action is requested is not found in the AMS database. |
Returns the configuration and status scalar attributes of an AMS entity.
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
entityRef | Name of the AMS entity whose configuration and status attributes are queried. The attributes are also returned in this structure. |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
ClRcT clAmsMgmtEntityGetConfig | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | entity, | ||
CL_OUT ClAmsEntityConfigT ** | entityConfig | ||
) |
Returns the configuration scalar attributes of an AMF entity.
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
entity | Name of the AMS entity whose configuration attributes are queried |
entityConfig | Entity configuration structure returned by AMF |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtEntityGetStatus | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | entity, | ||
CL_OUT ClAmsEntityStatusT ** | entityStatus | ||
) |
returns the status (transient) scalar attributes of an AMS entity
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize() API. |
entity | Name of the AMS entity whose status attributes are queried |
entityStatus | Entity status structure returned by AMF. It is your responsibility to clHeapFree() the returned object. |
CL_OK | - Operation successful |
CL_ERR_INVALID_HANDLE | - Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtEntityLockAssignment | ( | CL_IN ClAmsMgmtHandleT | amsHandle, |
CL_IN const ClAmsEntityT * | entity | ||
) |
Changes the administrative state of an AMS entity to lock assigned state.
amsHandle | Handle identifying the initialization of the AML by the application obtained through earlier invocation of clAmsMgmtInitialize API. |
entity | Name and type of the entity on which the administrative action is being performed |
CL_OK | The function executed successfully. |
CL_ERR_INVALID_HANDLE | Handle passed is not a valid handle obtained through an earlier call to clAmsMmgmtInitialize API. |
CL_ERR_TIMEOUT | Timeout occured before the call could complete. It is unspecified whether the call succeeded or whether it did not. |
CL_ERR_TRY_AGAIN | The service can not be provided at this time. The process may try later. This error is generally returned in cases where the requested action is valid but not currently possible, probably because another operation is acting upon the logical entity on which the administrative operation is invoked. Such an operation can be another administrative operation or an error recovery initiated by the AMF. |
CL_ERR_NO_MEMORY | Either the AMS library or the provider of service is out of memory and can not provide the service. |
CL_ERR_NO_OP | Invocation of this administrative operation has no effect on the current state of the logical entity as it is already in lock assigned state |
CL_ERR_BAD_OPERATION | Administrative action is not a valid operation for the logical entity in the current administrative state. |
CL_ERR_NOT_EXIST | Entity on which the administrative action is requested is not found in the AMS database. |
ClRcT clAmsMgmtEntityLockInstantiation | ( | CL_IN ClAmsMgmtHandleT | amsHandle, |
CL_IN const ClAmsEntityT * | entity | ||
) |
Changes the administrative state of an AMS entity to lock instantiated state.
amsHandle | Handle identifying the initialization of the AML by the application obtained through earlier invocation of clAmsMgmtInitialize API. |
entity | Name and type of the entity on which the administrative action is being performed |
CL_OK | The function executed successfully. |
CL_ERR_INVALID_HANDLE | Handle passed is not a valid handle obtained through an earlier call to clAmsMmgmtInitialize API. |
CL_ERR_TIMEOUT | Timeout occured before the call could complete. It is unspecified whether the call succeeded or whether it did not. |
CL_ERR_TRY_AGAIN | The service can not be provided at this time. The process may try later. This error is generally returned in cases where the requested action is valid but not currently possible, probably because another operation is acting upon the logical entity on which the administrative operation is invoked. Such an operation can be another administrative operation or an error recovery initiated by the AMF. |
CL_ERR_NO_MEMORY | Either the AMS library or the provider of service is out of memory and can not provide the service. |
CL_ERR_NO_OP | Invocation of this administrative operation has no effect on the current state of the logical entity as it is already in lock instantiated state. |
CL_ERR_BAD_OPERATION | Administrative action is not a valid operation for the logical entity in the current administrative state. |
CL_ERR_NOT_EXIST | Entity on which the administrative action is requested is not found in the AMS database. |
ClRcT clAmsMgmtEntityRepaired | ( | CL_IN ClAmsMgmtHandleT | amsHandle, |
CL_IN const ClAmsEntityT * | entity | ||
) |
Marks a previously faulty entity as repaired, so that AMS can use it again for work assignment.
amsHandle | Handle identifying the initialization of the AML by the application obtained through earlier invocation of clAmsMgmtInitialize API. |
entity | Name and type of the entity on which the administrative action is being performed |
CL_OK | The function executed successfully. |
CL_ERR_INVALID_HANDLE | Handle passed is not a valid handle obtained through an earlier call to clAmsMmgmtInitialize API. |
CL_ERR_TIMEOUT | Timeout occured before the call could complete. It is unspecified whether the call succeeded or whether it did not. |
CL_ERR_TRY_AGAIN | The service can not be provided at this time. The process may try later. This error is generally returned in cases where the requested action is valid but not currently possible, probably because another operation is acting upon the logical entity on which the administrative operation is invoked. Such an operation can be another administrative operation or an error recovery initiated by the AMF. |
CL_ERR_NO_MEMORY | Either the AMS library or the provider of service is out of memory and can not provide the service. |
CL_ERR_NO_OP | Invocation of this administrative operation has no effect on the current state of the logical entity as it is already enabled. |
CL_ERR_BAD_OPERATION | The operation could not insure that the presence states of the relevent service units and components are either instantiated or uninstantiated. |
CL_ERR_NOT_EXIST | Entity on which the administrative action is requested is not found in the AMS database. |
CL_AMS_ERR_INVALID_ENTITY | Administrative operation is not valid for the entity type designated by type field in entity. |
Marks a previously faulty entity as repaired, so that AMS can use it again for work assignment.
amsHandle | Handle identifying the initialization of the AML by the application obtained through earlier invocation of clAmsMgmtInitialize API. |
entity | Name and type of the entity on which the administrative action is being performed |
CL_OK | The function executed successfully. |
CL_ERR_INVALID_HANDLE | Handle passed is not a valid handle obtained through an earlier call to clAmsMmgmtInitialize API. |
CL_ERR_TIMEOUT | Timeout occured before the call could complete. It is unspecified whether the call succeeded or whether it did not. |
CL_ERR_TRY_AGAIN | The service can not be provided at this time. The process may try later. This error is generally returned in cases where the requested action is valid but not currently possible, probably because another operation is acting upon the logical entity on which the administrative operation is invoked. Such an operation can be another administrative operation or an error recovery initiated by the AMF. |
CL_ERR_NO_MEMORY | Either the AMS library or the provider of service is out of memory and can not provide the service. |
CL_ERR_NO_OP | Invocation of this administrative operation has no effect on the current state of the logical entity as it is already enabled. |
CL_ERR_BAD_OPERATION | The operation could not insure that the presence states of the relevent service units and components are either instantiated or uninstantiated. |
CL_ERR_NOT_EXIST | Entity on which the administrative action is requested is not found in the AMS database. |
CL_AMS_ERR_INVALID_ENTITY | Administrative operation is not valid for the entity type designated by type field in entity. |
ClRcT clAmsMgmtEntityRestart | ( | CL_IN ClAmsMgmtHandleT | amsHandle, |
CL_IN const ClAmsEntityT * | entity | ||
) |
Restart an AMS entity following termination .
amsHandle | Handle identifying the initialization of the AML by the application obtained through earlier invocation of clAmsMgmtInitialize API. |
entity | Name and type of the entity on which the administrative action is being performed |
CL_OK | The function executed successfully. |
CL_ERR_INVALID_HANDLE | Handle passed is not a valid handle obtained through an earlier call to clAmsMmgmtInitialize API. |
CL_ERR_TIMEOUT | Timeout occured before the call could complete. It is unspecified whether the call succeeded or whether it did not. |
CL_ERR_TRY_AGAIN | The service can not be provided at this time. The process may try later. This error is generally returned in cases where the requested action is valid but not currently possible, probably because another operation is acting upon the logical entity on which the administrative operation is invoked. Such an operation can be another administrative operation or an error recovery initiated by the AMF. |
CL_ERR_NO_MEMORY | Either the AMS library or the provider of service is out of memory and can not provide the service. |
CL_ERR_NO_OP | Invocation of this administrative operation has no effect on the current state of the logical entity as it is currently restarting. |
CL_ERR_BAD_OPERATION | The logical entity could not be restarted for various reasons like the presence state of the service unit or the component to be re-started was not instantiated. |
CL_ERR_NOT_EXIST | Entity on which the administrative action is requested is not found in the AMS database. |
CL_AMS_ERR_INVALID_ENTITY | Administrative operation is not valid for the entity type designated by type field in entity. |
ClRcT clAmsMgmtEntitySetAlphaFactor | ( | CL_IN ClAmsMgmtHandleT | amsHandle, |
CL_IN ClAmsEntityT * | entity, | ||
CL_IN ClUint32T | alphaFactor | ||
) |
Changes the alpha factor configured for a given SG.
amsHandle | (in) Handle identifying the initialization of the AML by the application obtained through earlier invocation of clAmsMgmtInitialize API. |
entity | (in) Name of the SG and type should be CL_AMS_ENTITY_TYPE_SG to get current alpha factor configured for the SG |
alphaFactor | (in) The value for the alphaFactor which should be between 0 and 100. |
CL_OK | The function completed successfully. |
CL_ERR_INVALID_HANDLE | Handle passed is not a valid handle obtained through an earlier call to clAmsMgmtInitialize API. |
CL_ERR_TIMEOUT | Timeout occurred before the call could be completed. It is unspecified whether the call succeeded or whether it did not. |
CL_ERR_NO_MEMORY | Either the AMS library or the provider of service is out of memory and cannot provide the service. |
CL_ERR_INVALID_PARAMETER | The alpha factor provided was invalid. |
CL_ERR_NOT_EXIST | The SG wasnt found in the AMS DB to change the alpha factor |
ClRcT clAmsMgmtEntitySetBetaFactor | ( | CL_IN ClAmsMgmtHandleT | amsHandle, |
CL_IN ClAmsEntityT * | entity, | ||
CL_IN ClUint32T | betaFactor | ||
) |
Changes the beta factor configured for a given SG.
amsHandle | (in) Handle identifying the initialization of the AML by the application obtained through earlier invocation of clAmsMgmtInitialize API. |
entity | (in) Name of the SG and type should be CL_AMS_ENTITY_TYPE_SG to get current alpha factor configured for the SG |
betaFactor | (in) The value for the betaFactor which should be between 0 and 100. |
CL_OK | The function completed successfully. |
CL_ERR_INVALID_HANDLE | Handle passed is not a valid handle obtained through an earlier call to clAmsMgmtInitialize API. |
CL_ERR_TIMEOUT | Timeout occurred before the call could be completed. It is unspecified whether the call succeeded or whether it did not. |
CL_ERR_NO_MEMORY | Either the AMS library or the provider of service is out of memory and cannot provide the service. |
CL_ERR_INVALID_PARAMETER | The beta factor provided was invalid. |
CL_ERR_NOT_EXIST | The SG wasnt found in the AMS DB to change the beta factor |
ClRcT clAmsMgmtEntityShutdown | ( | CL_IN ClAmsMgmtHandleT | amsHandle, |
CL_IN const ClAmsEntityT * | entity | ||
) |
Changes the administrative state of an AMS entity to shutting-down.
amsHandle | Handle identifying the initialization of the AML by the application obtained through earlier invocation of clAmsMgmtInitialize API. |
entity | Name and type of the entity on which the administrative action is being performed |
CL_OK | The function executed successfully. |
CL_ERR_INVALID_HANDLE | Handle passed is not a valid handle obtained through an earlier call to clAmsMmgmtInitialize API. |
CL_ERR_TIMEOUT | Timeout occured before the call could complete. It is unspecified whether the call succeeded or whether it did not. |
CL_ERR_TRY_AGAIN | The service can not be provided at this time. The process may try later. This error is generally returned in cases where the requested action is valid but not currently possible, probably because another operation is acting upon the logical entity on which the administrative operation is invoked. Such an operation can be another administrative operation or an error recovery initiated by the AMF. |
CL_ERR_NO_MEMORY | Either the AMS library or the provider of service is out of memory and can not provide the service. |
CL_ERR_NO_OP | Invocation of this administrative operation has no effect on the current state of the logical entity as it is already in shutting-down state. |
CL_ERR_BAD_OPERATION | Administrative action is not a valid operation for the logical entity in the current administrative state. |
CL_ERR_NOT_EXIST | Entity on which the administrative action is requested is not found in the AMS database. |
ClRcT clAmsMgmtEntityUnlock | ( | CL_IN ClAmsMgmtHandleT | amsHandle, |
CL_IN const ClAmsEntityT * | entity | ||
) |
Changes the administrative state of an AMS entity to unlocked state.
amsHandle | Handle identifying the initialization of the AML by the application obtained through earlier invocation of clAmsMgmtInitialize API. |
entity | Name and type of the entity on which the administrative action is being performed |
CL_OK | The function executed successfully. |
CL_ERR_INVALID_HANDLE | Handle passed is not a valid handle obtained through an earlier call to clAmsMmgmtInitialize API. |
CL_ERR_TIMEOUT | Timeout occured before the call could complete. It is unspecified whether the call succeeded or whether it did not. |
CL_ERR_TRY_AGAIN | The service can not be provided at this time. The process may try later. This error is generally returned in cases where the requested action is valid but not currently possible, probably because another operation is acting upon the logical entity on which the administrative operation is invoked. Such an operation can be another administrative operation or an error recovery initiated by the AMF. |
CL_ERR_NO_MEMORY | Either the AMS library or the provider of service is out of memory and can not provide the service. |
CL_ERR_NO_OP | Invocation of this administrative operation has no effect on the current state of the logical entity as it is already in lock instantiated state. |
CL_ERR_BAD_OPERATION | Administrative action is not a valid operation for the logical entity in the current administrative state. |
CL_ERR_NOT_EXIST | Entity on which the administrative action is requested is not found in the AMS database. |
ClRcT clAmsMgmtEntityUserDataDelete | ( | ClAmsMgmtHandleT | handle, |
ClAmsEntityT * | entity | ||
) |
Deletes the data for the default key associated with an AMF entity.
handle | (in) The AMS handle returned from clAmsMgmtInitialize() API. |
entity | (in) Name and type of the relevant entity |
CL_OK | The API executed successfully. |
CL_CID_AMS:CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtEntityUserDataDeleteAll | ( | ClAmsMgmtHandleT | handle, |
ClAmsEntityT * | entity | ||
) |
Deletes all the data associated with an AMF entity for all keys.
handle | (in) The AMS handle returned from clAmsMgmtInitialize() API. |
entity | (in) Name and type of the relevant entity |
CL_OK | The API executed successfully. |
CL_CID_AMS:CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtEntityUserDataDeleteKey | ( | ClAmsMgmtHandleT | handle, |
ClAmsEntityT * | entity, | ||
ClNameT * | key | ||
) |
Deletes the arbitrary data associated with an AMF entity and a key.
handle | (in) The AMS handle returned from clAmsMgmtInitialize() API. |
entity | (in) Name and type of the relevant entity |
data | (out) pointer to buffer of data. I will malloc. Free using clHeapFree) |
len | (out) Length (bytes) of the data in the buffer |
CL_OK | The API executed successfully. |
CL_CID_CNT:CL_ERR_NOT_EXIST | The key does not exist |
CL_CID_AMS:CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtEntityUserDataGet | ( | ClAmsMgmtHandleT | handle, |
ClAmsEntityT * | entity, | ||
ClCharT ** | data, | ||
ClUint32T * | len | ||
) |
Retrieve arbitrary data associated with an AMF entity.
handle | (in) The AMS handle returned from clAmsMgmtInitialize() API. |
entity | (in) Name and type of the relevant entity |
data | (out) pointer to buffer of data. I will malloc. Free using clHeapFree) |
len | (out) Length (bytes) of the data in the buffer |
CL_OK | The API executed successfully. |
CL_CID_CNT:CL_ERR_NOT_EXIST | The key does not exist |
CL_CID_AMS:CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtEntityUserDataGetKey | ( | ClAmsMgmtHandleT | handle, |
ClAmsEntityT * | entity, | ||
ClNameT * | key, | ||
ClCharT ** | data, | ||
ClUint32T * | len | ||
) |
Retrieve arbitrary data associated with an AMF entity and a key.
handle | (in) The AMS handle returned from clAmsMgmtInitialize() API. |
entity | (in) Name and type of the relevant entity |
data | (out) pointer to buffer of data. I will malloc. Free using clHeapFree) |
len | (out) Length (bytes) of the data in the buffer |
CL_OK | The API executed successfully. |
CL_CID_CNT:CL_ERR_NOT_EXIST | The key does not exist |
CL_CID_AMS:CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtEntityUserDataSet | ( | ClAmsMgmtHandleT | handle, |
ClAmsEntityT * | entity, | ||
ClCharT * | data, | ||
ClUint32T | len | ||
) |
Associate arbitrary data with an AMF entity.
handle | (in) The AMS handle returned from clAmsMgmtInitialize() API. |
entity | (in) Name and type of the relevant entity |
data | (in) Buffer of data to associate |
len | (in) Length (bytes) of the data in the buffer |
CL_OK | The API executed successfully. |
CL_CID_AMS:CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtEntityUserDataSetKey | ( | ClAmsMgmtHandleT | handle, |
ClAmsEntityT * | entity, | ||
ClNameT * | key, | ||
ClCharT * | data, | ||
ClUint32T | len | ||
) |
Associate arbitrary data with an AMF entity and a key.
handle | (in) The AMS handle returned from clAmsMgmtInitialize() API. |
entity | (in) Name and type of the relevant entity |
data | (in) Buffer of data to associate |
len | (in) Length (bytes) of the data in the buffer |
CL_OK | The API executed successfully. |
CL_CID_CNT:CL_ERR_NOT_EXIST | The key does not exist |
CL_CID_AMS:CL_ERR_NOT_EXIST | The entity does not exist |
Terminates the use of the management function library.
amsHandle | Handle identifying the initialization of the AML by the application obtained through earlier invocation of clAmsMgmtInitialize API. |
CL_OK | The function executed successfully. |
CL_ERR_INVALID_HANDLE | Handle passed is not a valid handle obtained through an earlier call to clAmsMmgmtInitialize API. |
CL_ERR_TIMEOUT | Timeout occured before the call could complete. It is unspecified whether the call succeeded or whether it did not. |
CL_ERR_TRY_AGAIN | The service can not be provided at this time. The process may retry later. |
CL_ERR_NO_MEMORY | Either the AMS library or the provider of service is out of memory and can not provide the service. |
ClRcT clAmsMgmtGetCompCSIList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | comp, | ||
CL_OUT ClAmsCompCSIRefBufferT * | csiBuffer | ||
) |
returns the list of csi's assigned to a component
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
comp | Name of the component whose csi list is queried |
csiBuffer | Buffer containing the list of csi's assigned to the component |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetCompList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_OUT ClAmsEntityBufferT * | entityBuffer | ||
) |
Get all component entity names.
handle | Handle returned by the AMF on invocation of clAmsMgmtInitialize API. |
entityBuffer | Buffer containing an array of entity names |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
ClRcT clAmsMgmtGetCSIDependenciesList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | csi, | ||
CL_OUT ClAmsEntityBufferT * | dependenciesCSIBuffer | ||
) |
returns the csi-csi dependencies list for a csi
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
csi | Name of the csi whose csi-csi dependencies list is queried |
dependenciesCSIBuffer | Buffer containing the csi-csi dependencies list for the csi |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetCSIList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_OUT ClAmsEntityBufferT * | entityBuffer | ||
) |
Get all component service instance entity names.
handle | Handle returned by the AMF on invocation of clAmsMgmtInitialize API. |
entityBuffer | Buffer containing an array of entity names |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
ClRcT clAmsMgmtGetCSINVPList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | csi, | ||
CL_OUT ClAmsCSINVPBufferT * | nvpBuffer | ||
) |
returns the name value pair list for a csi
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
csi | Name of the csi whose nvp list is queried |
nvpBuffer | Buffer containing the nvp list for the csi |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityListTypeT | listName, | ||
CL_OUT ClAmsEntityBufferT * | buffer | ||
) |
Get all entities of a particular type.
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize() API. |
listName | What type of entity to get. |
ClRcT clAmsMgmtGetNodeDependenciesList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | node, | ||
CL_OUT ClAmsEntityBufferT * | dependencyBuffer | ||
) |
returns the node dependencies list for a node
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
node | Name of the node whose node dependencies list is queried |
dependencyBuffer | Buffer containing the node dependencies list for the node |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetNodeList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_OUT ClAmsEntityBufferT * | entityBuffer | ||
) |
Get all node entity names.
handle | Handle returned by the AMF on invocation of clAmsMgmtInitialize API. |
entityBuffer | Buffer containing an array of entity names |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
ClRcT clAmsMgmtGetNodeSUList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | node, | ||
CL_OUT ClAmsEntityBufferT * | suBuffer | ||
) |
returns the node su list for a node
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
node | Name of the node whose su list is queried |
suBuffer | Buffer containing the node su list for the node |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetSGAssignedSUList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | sg, | ||
CL_OUT ClAmsEntityBufferT * | assignedSUBuffer | ||
) |
returns the assigned su list for a sg
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
sg | Name of the sg whose assigned su list is queried |
assignedSUBuffer | Buffer containing the assigned su list for the sg |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetSGFaultySUList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | sg, | ||
CL_OUT ClAmsEntityBufferT * | faultySUBuffer | ||
) |
returns the faulty su list for a sg
\param | handle Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
sg | Name of the sg whose faulty su list is queried |
faultySUBuffer | Buffer containing the faulty su list for the sg |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetSGInServiceSpareSUList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | sg, | ||
CL_OUT ClAmsEntityBufferT * | inserviceSpareSUBuffer | ||
) |
returns the in service spare su list for a sg
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
sg | Name of the sg whose inservice spare su list is queried |
inserviceSpareSUBuffer | Buffer containing the inservice spare su list for the sg |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetSGInstantiableSUList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | sg, | ||
CL_OUT ClAmsEntityBufferT * | instantiableSUBuffer | ||
) |
returns the instantiable su list for a sg
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
sg | Name of the sg whose instantiable su list is queried |
instantiableSUBuffer | Buffer containing the instantiable su list for the sg |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetSGInstantiatedSUList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | sg, | ||
CL_OUT ClAmsEntityBufferT * | instantiatedSUBuffer | ||
) |
returns the instantiated su list for a sg
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
sg | Name of the sg whose instantiated su list is queried |
instantiatedSUBuffer | Buffer containing the instantiated su list for the sg |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetSGList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_OUT ClAmsEntityBufferT * | entityBuffer | ||
) |
Get all service group names.
handle | Handle returned by the AMF on invocation of clAmsMgmtInitialize API. |
entityBuffer | Buffer containing an array of entity names |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
ClRcT clAmsMgmtGetSGSIList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | sg, | ||
CL_OUT ClAmsEntityBufferT * | siBuffer | ||
) |
returns the sg si list for a sg
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
sg | Name of the sg whose si list is queried |
siBuffer | Buffer containing the sg si list for the sg |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetSGSUList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | sg, | ||
CL_OUT ClAmsEntityBufferT * | suBuffer | ||
) |
returns the sg su list for a sg
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
sg | Name of the sg whose su list is queried |
suBuffer | Buffer containing the sg su list for the sg |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetSICSIList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | si, | ||
CL_OUT ClAmsEntityBufferT * | csiBuffer | ||
) |
returns the si-csi list for a si
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
si | Name of the si whose si-csi list is queried |
csiBuffer | Buffer containing the csi list for the si |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetSIDependenciesList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | si, | ||
CL_OUT ClAmsEntityBufferT * | dependenciesSIBuffer | ||
) |
returns the si-si dependencies list for a si
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
si | Name of the si whose si-si dependencies list is queried |
dependenciesSIBuffer | Buffer containing the si-si dependencies list for the si |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetSIList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_OUT ClAmsEntityBufferT * | entityBuffer | ||
) |
Get all service instance entity names.
handle | Handle returned by the AMF on invocation of clAmsMgmtInitialize API. |
entityBuffer | Buffer containing an array of entity names |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
ClRcT clAmsMgmtGetSISUList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | si, | ||
CL_OUT ClAmsSISURefBufferT * | suBuffer | ||
) |
returns the su list for si
\param | handle Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
si | Name of the si whose su list is queried |
suBuffer | Buffer containing the su list for the si |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetSISURankList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | si, | ||
CL_OUT ClAmsEntityBufferT * | suBuffer | ||
) |
returns the si-su rank list for a si
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
si | Name of the si whose su rank list is queried |
suBuffer | Buffer containing the su rank list for the si |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetSUAssignedSIsList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | su, | ||
CL_OUT ClAmsSUSIRefBufferT * | siBuffer | ||
) |
returns the assigned si's list for su
\param | handle Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
su | Name of the su whose assigned si's list is queried |
siBuffer | Buffer containing the si's list for the su |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetSUCompList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN ClAmsEntityT * | su, | ||
CL_OUT ClAmsEntityBufferT * | compBuffer | ||
) |
returns the component list for a su
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize API. |
su | Name of the su whose component list is queried |
compBuffer | Buffer containing the component list for the su |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_AMS_ERR_INVALID_ENTITY | The entity is not valid |
CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtGetSUList | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_OUT ClAmsEntityBufferT * | entityBuffer | ||
) |
Get all service unit entity names.
handle | Handle returned by the AMF on invocation of clAmsMgmtInitialize API. |
entityBuffer | Buffer containing an array of entity names |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
ClRcT clAmsMgmtInitialize | ( | CL_OUT ClAmsMgmtHandleT * | amsHandle, |
CL_IN const ClAmsMgmtCallbacksT * | amsMgmtCallbacks, | ||
CL_INOUT ClVersionT * | version | ||
) |
Starts the use of the management function library.
amsHandle | (out) The handle returned by the function. It identifies a particular initialization of the Availability Management Framework. This handle must be passed as the first input parameter for all further usage of the function library. |
amsCallbacks | (in) Callbacks into management function user. |
version | (in/out) In the input parameter, you must pass the current version of AMS on the client. In the output parameter, you will receive the supported version. |
CL_OK | The function executed successfully. |
CL_ERR_VERSION_MISMATCH | If the current version and the supported version are not the same. |
CL_ERR_TIMEOUT | Timeout occured before the call could complete. It is unspecified whether the call succeeded or whether it did not. |
CL_ERR_TRY_AGAIN | The service can not be provided at this time. The process may retry later. |
CL_ERR_INVALID_PARAMETER | A parameter is not set correctly. |
CL_ERR_NO_MEMORY | Either the AMS library or the provider of service is out of memory and so cannot provide the service. |
CL_ERR_NULL_POINTER | Pointer to an invalid memory space. |
ClRcT clAmsMgmtMigrateSG | ( | ClAmsMgmtHandleT | handle, |
const ClCharT * | sg, | ||
const ClCharT * | prefix, | ||
ClUint32T | activeSUs, | ||
ClUint32T | standbySUs, | ||
ClAmsMgmtMigrateListT * | migrateList | ||
) |
Convert an SG from one redundancy model to another, without taking it offline.
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize() API. |
sg | Name of the Service Group that is being modified |
prefix | Newly created entities' names will start with this string |
activeSUs | Number of service units you want to be active. |
standbySUs | Number of service units you want to be standby. |
migrateList | All entities that were created for you to tweak before committing. |
CL_OK | Operation successful |
CL_ERR_INVALID_HANDLE | Error: AML CCB Handle is invalid |
CL_ERR_NOT_EXIST | The entity does not exist |
The function does not give you complete control over all aspects of the configuration change, notably it does not let you choose which SUs to remove (if you are reducing the number of SUs), and it does not let you choose which nodes to deploy new SUs onto (if increasing the SUs). For this reason, it may be more appropriate for you to use this function as an example implementation rather than to call it directly.
However, we do attempt to make intelligent decisions about what to remove or add. For example, the function will prefer to remove entities that are not in service (so if you want to remove particular entities, simply shut those and only those entities down before calling this function), and it will preferentially create entities on existing nodes that are not controllers and do not currently contain this SG.
ClAmsNodeConfigT* clAmsMgmtNodeGetConfig | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN const ClCharT * | entName | ||
) |
Returns the configuration information for nodes.
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize() API. |
entName | Null terminated name of the AMS entity. |
ClAmsNodeStatusT* clAmsMgmtNodeGetStatus | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN const ClCharT * | entName | ||
) |
Returns the current status information of a node.
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize() API. |
entName | NULL terminated name of the AMS entity. |
ClAmsSGConfigT* clAmsMgmtServiceGroupGetConfig | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN const ClCharT * | entName | ||
) |
Returns the configuration information for a service group.
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize() API. |
entName | Null terminated name of the AMS entity. |
ClAmsSGStatusT* clAmsMgmtServiceGroupGetStatus | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN const ClCharT * | entName | ||
) |
Returns the current status information of a service group.
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize() API. |
entName | NULL terminated name of the AMS entity. |
ClAmsSIConfigT* clAmsMgmtServiceInstanceGetConfig | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN const ClCharT * | entName | ||
) |
Returns the configuration information for a service instance.
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize() API. |
entName | Null terminated name of the AMS entity. |
ClAmsSIStatusT* clAmsMgmtServiceInstanceGetStatus | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN const ClCharT * | entName | ||
) |
Returns the current status information of a service instance.
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize() API. |
entName | NULL terminated name of the AMS entity. |
ClAmsSUConfigT* clAmsMgmtServiceUnitGetConfig | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN const ClCharT * | entName | ||
) |
Returns the configuration information for a service unit.
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize() API. |
entName | Null terminated name of the AMS entity. |
ClAmsSUStatusT* clAmsMgmtServiceUnitGetStatus | ( | CL_IN ClAmsMgmtHandleT | handle, |
CL_IN const ClCharT * | entName | ||
) |
Returns the current status information of a service unit.
handle | Handle returned by the AML on invocation of clAmsMgmtInitialize() API. |
entName | NULL terminated name of the AMS entity. |
ClRcT clAmsMgmtSetActive | ( | ClAmsMgmtHandleT | handle, |
ClAmsEntityT * | entity, | ||
ClAmsEntityT * | activeSU | ||
) |
Changes the 'Active' Service Unit.
All work (SIs) assigned active in the specified SU will be moved to another specified SU.
handle | (in) The AMS handle returned from clAmsMgmtInitialize() API. |
entity | (in) A Node or SU that should become active |
entity | (in) activeSU The currently active SU that will be deactivated. NULL can be passed if this is obvious (1+1 redundancy, for example). |
CL_OK | The API executed successfully. |
CL_CID_AMS:CL_ERR_NOT_EXIST | The entity does not exist |
ClRcT clAmsMgmtSGAdjust | ( | CL_IN ClAmsMgmtHandleT | amsHandle, |
CL_IN const ClCharT * | sg, | ||
CL_IN ClBoolT | enable | ||
) |
Restores the SG to the most preferred assignments.
amsHandle | Handle identifying the initialization of the AML by the application obtained through earlier invocation of clAmsMgmtInitialize API. |
sg | Name of the SG thats being adjusted |
enable | Flag indicating the auto adjustment setting on the SG |
CL_OK | The function executed successfully. |
CL_ERR_INVALID_HANDLE | Handle passed is not a valid handle obtained through an earlier call to clAmsMmgmtInitialize API. |
CL_ERR_NOT_EXIST | Entity on which the administrative action is requested is not found in the AMS database. |
CL_AMS_ERR_INVALID_ENTITY | Administrative operation is not valid for the entity type designated by type field in entity. |
Swaps the HA state of the appropriate CSIs contained within an SI.
amsHandle | Handle identifying the initialization of the AML by the application obtained through earlier invocation of clAmsMgmtInitialize API. |
si | Name of the SI thats being swapped |
CL_OK | The function executed successfully. |
CL_ERR_INVALID_HANDLE | Handle passed is not a valid handle obtained through an earlier call to clAmsMmgmtInitialize API. |
CL_ERR_BAD_OPERATION | Swap was attempted on an SI thats not allowed. This is returned whenever SI doesnt have standby assignments or is not active or in quiescing state. Its also returned when the parent SG for the SI has a redundancy model of N WAY active or no redundancy. |
CL_ERR_TRY_AGAIN | The swap cannot be performed at this time. This error is returned when the constituent service units of the SIs have instantiating/terminating or restarting presence states. |
CL_ERR_NOT_EXIST | Entity on which the administrative action is requested is not found in the AMS database. |
CL_AMS_ERR_INVALID_ENTITY | Administrative operation is not valid for the entity type designated by type field in entity. |