This structure holds the information about the attributes that need to be provided in the alarm payload. More...
#include <clAlarmUtils.h>
Public Attributes | |
ClUint32T | numTlvs |
Number of attribute information needed for the trap generation on resource. | |
ClCorMOIdPtrT | pMoId |
The pointer to the MOID of the resource. | |
ClAlarmUtilTlvPtrT | pTlv |
Pointer to the structure containing attribute information. |
This structure holds the information about the attributes that need to be provided in the alarm payload.
This payload is then used by the SNMP subagent for reporting the trap. This is a structure which contains the information about the traps. This structure is similar to the ClAlarmUtilTlvInfoT but this has the MOId of the resource as an extra field. The SNMP subagent extracts the payload information using this structure So a user planning to report an alarm as trap he/she should provide the attribute information in this structure only.
ClCorMOIdPtrT ClAlarmUtilPayLoad::pMoId |
The pointer to the MOID of the resource.
It is the identifier of the resource in the COR object tree. This needs to be allocated before populating it.
ClAlarmUtilTlvPtrT ClAlarmUtilPayLoad::pTlv |
Pointer to the structure containing attribute information.
This has to be allocated based on the number of attributes which is the value of numTlvs.