HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DELETE_DSPU_TEMPLATE
secondary_rc
Possible values are:
AP_INVALID_LU_NAME
There were no LUs dened with names in the specied range.
AP_DSLU_ACTIVE
One or more of the LUs in the range cannot be deleted because it is currently active.
Appendix B,
Common Return Codes lists further secondary return codes associated with
AP_STATE_CHECK
, which
are common to all NOF verbs.
3.58.6 Returned Parameters: Function Not Supported
If the verb does not execute because the nodes conguration does not support it, SNAplus2 returns the following
parameters:
primary_rc
AP_FUNCTION_NOT_SUPPORTED
The local node does not support PU concentration; this is dened by the pu_conc_support parameter
on the DEFINE_NODE verb.
3.58.7 Returned Parameters: Other Conditions
Appendix B, Common Return Codes lists further combinations of primary and secondary return codes that are
common to all NOF verbs.
3.59 DELETE_DSPU_TEMPLATE
The DELETE_DSPU_TEMPLATE verb deletes a specic downstream physical unit (DSPU) template that was
previously dened using a DEFINE_DSPU_TEMPLATE verb, or deletes one or more downstream LU (DSLU)
templates from a DSPU template.
3.59.1 VCB Structure
typedef struct delete_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 template_name[8]; /* name of template */
AP_UINT16 num_of_dslu_templates; /* number of dslu templates */
unsigned char reserv1[10]; /* reserved */
} DELETE_DSPU_TEMPLATE;
typedef struct dslu_template
}
unsigned char min_nau; /* Minimum NAU address in range */
unsigned char max_nau; /* Maximum NAU address in range */
285