Home > Configuration > NS > bindnstimer_policy

bindnstimer_policy

Use this method to bind policy to ns timer.

Syntax



Parameters

name

Timer name.
This is mandatory parameter.

priority

Priority with which the policy is to be bound.
This is mandatory parameter.
Minimum value = 1.
Maximum value = 2147483647.

policyname

The timer policy associated with the timer.
This is mandatory parameter.

priority

Priority with which the policy is to be bound.
This is mandatory parameter.
Minimum value = 1.
Maximum value = 2147483647.

gotopriorityexpression

Expression specifying the priority of the next policy which will get evaluated if the current policy rule evaluates to TRUE. o If gotoPriorityExpression is not present or if it is equal to END then the policy bank evaluation ends here o Else if the gotoPriorityExpression is equal to NEXT then the next policy in the priority order is evaluated. o Else gotoPriorityExpression is evaluated. The result of gotoPriorityExpression (which has to be a number) is processed as follows: - An UNDEF event is triggered if . gotoPriorityExpression cannot be evaluated . gotoPriorityExpression evaluates to number which is smaller than the maximum priority in the policy bank but is not same as any policy's priority . gotoPriorityExpression evaluates to a priority that is smaller than the current policy's priority - If the gotoPriorityExpression evaluates to the priority of the current policy then the next policy in the priority order is evaluated. - If the gotoPriorityExpression evaluates to the priority of a policy further ahead in the list then that policy will be evaluated next.

vserver

Name of the vserver which provides the context for the rule in timer policy. When not specified it is treated as a Global Default context.

samplesize

Denotes the sample size. Sample size value of 'x' means that previous '(x - 1)' policy's rule evaluation results and the current evaluation result are present with the binding. For example, sample size of 10 means that there is a state of previous 9 policy evaluation results and also the current policy evaluation result.
Default value = 3.
Minimum value = 1.
Maximum value = 32.

threshold

Denotes the threshold. If the rule of the policy in the binding relation evaluates 'threshold size' number of times in 'sample size' to true, then the corresponding action is taken. Its value needs to be less than or equal to the sample size value.
Default value = 3.
Minimum value = 1.
Maximum value = 32.

Return Value

Returns simpleResult

See Also