HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DELETE_LS
unsigned char ls_name[8]; /* name of link station */
} DELETE_LS;
3.64.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_DELETE_LS
ls_name
Name of link station being deleted. This is an 8-byte ASCII string, padded on the right with spaces if the
name is shorter than 8 characters.
3.64.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
3.64.4 Returned Parameters: Parameter Check
If the verb does not execute because of a parameter error, SNAplus2 returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
AP_INVALID_LINK_NAME
The supplied LS name contains a character that was not valid.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.64.5 Returned Parameters: State Check
If the verb does not execute because of a state error, SNAplus2 returns the following parameters.
primary_rc
AP_STATE_CHECK
secondary_rc
Possible values are:
AP_LS_ACTIVE
The LS cannot be deleted because it is currently active.
AP_INVALID_LINK_NAME
The supplied LS name is not the name of an LS dened on the SNAplus2 system.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_STATE_CHECK, which
are common to all NOF verbs.
294