HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_CN
primary_rc
AP_OK
3.13.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
Possible values are:
AP_DEF_LINK_INVALID_SECURITY
The
security parameter was not set to one of the valid values.
AP_EXCEEDS_MAX_ALLOWED
Adding the specied number of ports would exceed the maximum total number of ports on a CN.
AP_INVALID_CN_NAME
The fqcn_name parameter contained a character that was not valid or was not in the correct format.
AP_INVALID_NUM_PORTS_SPECIFIED
The num_ports parameter was not set to a valid value.
AP_INVALID_PORT_NAME
One or more of the port names specied did not match the name of a dened port.
AP_INVALID_PORT_TYPE
One or more of the specied ports cannot be on a CN because its DLC type is a point-to-point type
(such as SDLC) rather than a network type.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.13.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_PORT_ACTIVE
The specied port cannot be modied 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.13.6 Returned Parameters: Function Not Supported
If the verb does not execute successfully because the local node is a LEN node, SNAplus2 returns the following
parameters:
primary_rc
114