| bindcspolicylabel_gotopriorityexpression |
Use this method to bind gotopriorityexpression to cs policylabel. |
Syntax |
Parameters |
labelname |
Name of the policy label to which to bind a content switching policy. This is mandatory parameter. |
policyname |
Name of the content switching policy to bind to the content switching policy label. This is mandatory parameter. |
priority |
Unsigned integer that determines the priority of the policy relative to other policies in this policy label. Smaller the number, higher the priority. This is mandatory parameter. Minimum value = 1. Maximum value = 2147483647. |
gotopriorityexpression |
Expression or other value specifying the priority of the next policy to be evaluated if the current policy rule evaluates to TRUE. Alternatively, you can specify one of the following values:
* NEXT - Go to the policy with the next higher priority.
* END - End evaluation. (This is the default. Evaluation stops if the gotoPriorityExpression parameter is not set.)
* USE_INVOCATION_RESULT - Applicable if this entry invokes another policy label. If the final goto in the invoked policy label has a value of END, evaluation stops. If the final goto is anything other than END, the current policy label performs a NEXT.
If you specify an expression, its result must be a number. In that case, the next action is determined as follows:
* If the expression evaluates to the priority of a policy with a lower priority (larger priority number) than the current policy, that policy is evaluated next.
* If the expression evaluates to a priority of the current policy, policy with the next highest priority is evaluated.
An UNDEF event is triggered if:
* The expression cannot be evaluated.
* The expression evaluates to a number that is smaller than the highest priority in the policy bank but is not same as any policy's priority.
* The expression evaluates to a number that is smaller than the current policy's priority. |
Return Value |
Returns simpleResult |
See Also |