HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_COS
The number of ISR sessions exceeds the threshold value.
cos_node_row.weight
Weight associated with this node row.
3.14.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
3.14.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_INVALID_COS_NAME
The
cos_name parameter contained a character that was not valid.
AP_INVALID_NUMBER_OF_NODE_ROWS
The num_of_node_rows parameter was not in the valid range.
AP_INVALID_NUMBER_OF_TG_ROWS
The num_of_tg_rows parameter was not in the valid range.
AP_NODE_ROW_WGT_LESS_THAN_LAST
The node rows were not listed in ascending order of weight.
AP_TG_ROW_WGT_LESS_THAN_LAST
The TG rows were not listed in ascending order of weight.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.14.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
AP_COS_TABLE_FULL
You cannot dene a new COS because this would exceed the maximum number of COS denitions
permitted for the node (specied by the cos_cache_size parameter on DEFINE_NODE).
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_STATE_CHECK, which
are common to all NOF verbs.
120