Administration Commands
define_cos
UNCONGESTED
The number of ISR sessions is less than the isr_sessions_upper_threshold value in the node’s configuration.
CONGESTED
The number of ISR sessions exceeds the isr_sessions_upper_threshold value.
weight
Weight associated with this node row.
2.12.2 Returned Parameters
No parameters are returned by SNAplus2 when this command executes successfully.
2.12.3 Error Return Codes
If the command cannot be executed, SNAplus2 returns a primary return code to indicate the type of error and a secondary return code to provide specific details about the reason for unsuccessful execution.
Parameter Check
If the command does not execute because of a parameter error, SNAplus2 returns the following parameters:
primary_rc
PARAMETER_CHECK
secondary_rc
Possible values are:
INVALID_COS_NAME
The cos_name parameter contained a character that was not valid.
INVALID_NUMBER_OF_NODE_ROWS
Too many node rows were specified.
INVALID_NUMBER_OF_TG_ROWS
Too many TG rows were specified.
NODE_ROW_WGT_LESS_THAN_LAST
The node rows were not listed in ascending order of weight.
TG_ROW_WGT_LESS_THAN_LAST
The TG rows were not listed in ascending order of weight.
State Check
If the command does not execute because of a state error, SNAplus2 returns the following parameters:
primary_rc
STATE_CHECK
secondary_rc
COS_TABLE_FULL
You cannot define a new COS because you would exceed the maximum number of COS definitions allowed for the node (specified by the cos_cache_size parameter on the define_node command).
69