+

Search Tips   |   Advanced Search

Intelligent Management: rules for ODR service policy administrative tasks

Use administrative tasks to configure Session Initiation Protocol (SIP) or HTTP rules for an on demand router service policy.


Command list

We can specify SIP or HTTP protocols in the commands. The following examples use SIP as the protocol:


addServiceRule

The addServiceRule command adds a service policy rule.

Required parameters:

-protocol

Name of the protocol to associate with a rule. (String, required)

-priority

Positive integer value representing the priority of a rule. Zero is the highest priority. (String, required)

-expression

Rule expression. The expression must be enclosed in double quotes. (String, required)

-transactionClass

Transaction class to associate with a rule. (String, required)

Optional parameters:

-odrname

Name of the ODR to which the service policy work class applies. The -odrname parameter is required only if we modify an ODR.

-nodename

Name of the node on which the ODR resides. The -nodename parameter is required only if we modify an ODR.

-clustername

Name of the cluster to which the rule applies. The -clustername parameter is required only if we modify an ODR cluster.

Batch mode example usage

Interactive mode example usage


removeServiceRule

The removeServiceRule command removes a service policy rule.

Required parameters:

-protocol

Name of the protocol to associate with a rule. (String, required)

-expression

Rule expression. The expression must be enclosed in double quotes. (String, required)

Optional parameters:

-odrname

Name of the ODR to which the service policy work class applies. The -odrname parameter is required only if we modify an ODR.

-nodename

Name of the node on which the ODR resides. The -nodename parameter is required only if we modify an ODR.

-clustername

Name of the cluster to which the rule applies. The -clustername parameter is required only if we modify an ODR cluster.

Batch mode example usage

Interactive mode example usage


createServiceRules

The createServiceRules command creates a rule list for the service policy.

Required parameters:

-protocol

Name of the protocol to associate with a rule. (String, required)

Optional parameters:

-odrname

Name of the ODR to which the service policy work class applies. The -odrname parameter is required only if we modify an ODR.

-nodename

Name of the node on which the ODR resides. The -nodename parameter is required only if we modify an ODR.

-clustername

Name of the cluster to which the rule applies. The -clustername parameter is required only if we modify an ODR cluster.

Batch mode example usage

Interactive mode example usage


listServiceRules

The listServiceRules lists service policy rules.

Required parameters:

-protocol

Name of the protocol to associate with a rule. (String, required)

Optional parameters:

-odrname

Name of the ODR to which the service policy work class applies. The -odrname parameter is required only if we modify an ODR.

-nodename

Name of the node on which the ODR resides. The -nodename parameter is required only if we modify an ODR.

-clustername

Name of the cluster to which the rule applies. The -clustername parameter is required only if we modify an ODR cluster.

Batch mode example usage

Interactive mode example usage


changeServiceRuleAction

The changeServiceRuleAction command changes the service policy action for a rule.

Restriction: The use of the changeServiceRuleAction command with HTTP is not supported.

Required parameters:

-protocol

Name of the protocol to associate with a rule. (String, required)

-priority

Positive integer value representing the priority of a rule. Zero is the highest priority. (String, required)

-transactionClass

Transaction class to associate with a rule. (String, required)

Optional parameters:

-odrname

Name of the ODR to which the service policy work class applies. The -odrname parameter is required only if we modify an ODR.

-nodename

Name of the node on which the ODR resides. The -nodename parameter is required only if we modify an ODR.

-clustername

Name of the cluster to which the rule applies. The -clustername parameter is required only if we modify an ODR cluster.

Batch mode example usage

Interactive mode example usage


changeServiceDefaultRulesAction

The changeServiceDefaultRulesAction command changes the default action of a service policy rule.

Restriction: The use of the changeServiceDefaultRulesAction command with HTTP is not supported.

Required parameters:

-protocol

Name of the protocol to associate with a rule. (String, required)

-transactionClass

Transaction class to associate with a rule. (String, required)

Optional parameters:

-odrname

Name of the ODR to which the service policy work class applies. The -odrname parameter is required only if we modify an ODR.

-nodename

Name of the node on which the ODR resides. The -nodename parameter is required only if we modify an ODR.

-clustername

Name of the cluster to which the rule applies. The -clustername parameter is required only if we modify an ODR cluster.

Batch mode example usage

Interactive mode example usage


changeServiceRuleExpression

The changeServiceRuleExpression command changes a rule expression of a service policy.

Required parameters:

-protocol

Name of the protocol to associate with a rule. (String, required)

-priority

Positive integer value representing the priority of a rule. Zero is the highest priority. (String, required)

-expression

Rule expression. The expression must be enclosed in double quotes. (String, required)

-transactionClass

Transaction class to associate with a rule. (String, required)

Optional parameters:

-odrname

Name of the ODR to which the service policy work class applies. The -odrname parameter is required only if we modify an ODR.

-nodename

Name of the node on which the ODR resides. The -nodename parameter is required only if we modify an ODR.

-clustername

Name of the cluster to which the rule applies. The -clustername parameter is required only if we modify an ODR cluster.

Batch mode example usage

Interactive mode example usage


changeServiceRulePriority

The changeServiceRulePriority command changes the priority of a service policy rule.

Required parameters:

-protocol

Name of the protocol to associate with a rule. (String, required)

-priority

Positive integer value representing the priority of a rule. Zero is the highest priority. (String, required)

-expression

Rule expression. The expression must be enclosed in double quotes. (String, required)

Optional parameters:

-odrname

Name of the ODR to which the service policy work class applies. The -odrname parameter is required only if we modify an ODR.

-nodename

Name of the node on which the ODR resides. The -nodename parameter is required only if we modify an ODR.

-clustername

Name of the cluster to which the rule applies. The -clustername parameter is required only if we modify an ODR cluster.

Batch mode example usage

Interactive mode example usage


Related:

  • Overview of request flow prioritization
  • Configure ODRs
  • Create a static cluster of ODRs
  • Intelligent Management: routing and service policies