High Availability Monitors Version A.03.02 Release Notes
NOF API Verbs (QUERY Verbs)
QUERY_DSPU_TEMPLATE
Chapter 4666
QUERY_DSPU_TEMPLATE
The QUERY_DSPU_TEMPLATE verb returns information about
defined downstream PU templates used for PU concentration over
implicit links.
This verb can be used to obtain information about a specific downstream
PU template, or about a number of downstream PU templates,
depending on the options used. To obtain information about a specific
downstream PU template or multiple downstream PU templates, set the
template_name
parameter. The
template_name
parameter is ignored if
the
list_options
parameter is set to AP_FIRST_IN_LIST.
VCB Structure
typedef struct query_dspu_template
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char *buf_ptr; /* pointer to buffer */
AP_UINT32 buf_size; /* buffer size */
AP_UINT32 total_buf_size; /* total buffer size required */
AP_UINT16 num_entries; /* number of entries */
AP_UINT16 total_num_entries; /* total number of entries */
unsigned char list_options; /* listing options */
unsigned char reserv3; /* reserved */
unsigned char template_name[8]; /* name of DSPU template */
} QUERY_DSPU_TEMPLATE;
typedef struct dspu_template_data
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char template_name[8]; /* name of DSPU template */
unsigned char description; /* resource description */
unsigned char reserv1[12]; /* reserved */
AP_UINT16 max_instance; /* max active template instance */
AP_UINT16 active_instance; /* current active instances */
unsigned char num_of_dslu_templates; /* number of DSLU templates */
} DSPU_TEMPLATE_DATA;
Each dspu_template_data structure is followed by one or more