RepeaterRoutingRule - addRoutingRule_1


RepeaterRoutingRule - addRoutingRule

Description :

This command adds a routing rule to the end of the repeater routing policy, assigning it the specified repeater.

All Available operator strings are listed below:

  • equals
  • does not equal
  • starts with
  • does not start with
  • ends with
  • does not end with
  • contains
  • is substring of
  • does not contain
  • is not substring of
  • is one of
  • is not one of
  • matches
  • does not match
  • equals (case sensitive)
  • does not equal (case sensitive)
  • starts with (case sensitive)
  • does not start with (case sensitive)
  • ends with (case sensitive)
  • does not end with (case sensitive)
  • contains (case sensitive)
  • is substring of (case sensitive)
  • does not contain (case sensitive)
  • is not substring of (case sensitive)

Note : For operator "is one of" specify the list of values as [value1,value2, . . .,valueN]. Property values for all other operators are self explanatory.

For more information about formatting the RHS property value for the various types of LHS properties and operators, see Formats for specifying property values in conditions in the BMC Server Automation online documentation.

Return type : java.lang.Object

Command Input :

Variable Name

Variable Type

Description

name

String

Name of the repeater routing rule.

description

String

Description of the repeater routing rule.

propName

String

Property name to be used in the rule condition.

operator

String

Operator string to be used in the rule condition.

propValue

String

Property value to be used in the rule condition.

repeaterName

String

Name of the repeater.

Example

The following example adds a repeater routing rule with a condition of "TARGET.NAME" "starts with" "lin", with the repeater disasterRecoveryRepeater. To prevent the asterisk * from being interpreted as a wildcard, enclose it between double quotes.

Script

RepeaterRoutingRule addRoutingRule myDisasterRecoveryRepeaterRule "rule for disaster recovery repeater" "TARGET.NAME" "starts with" lin disasterRecoveryRepeater



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.7