Policy Logical Operators

The policy wizard supports creation of rules using an explicit AND logical operator that contains a set of conditions. An AND operator must include at least two conditions. The actions are taken if all conditions are evaluated as true. For example, you can use an AND operator two define two conditions as follows:

And
     where the request is re-authorizing an existing session
     where the enforcement session is a DPI enforcement session
.
.
.

The policy wizard supports creation of rules using an OR logical operator that contains a set of conditions. An OR operator must include at least two conditions. The actions are taken if any condition is evaluated as true. For example, you can define the following set of conditions using an OR operator:

Or
     where the request is creating a new session
     where the session is an enforcement session
     where the APN matches one of imode.g1t2
     where the subscriber profile data is not available
.
.
.

The policy wizard supports creation of rules using a NOT logical operator that contains a single condition. The actions are taken if the condition is evaluated as false. For example, you can define the following using a NOT operator:

Not
     where today is a weekend day using CONFIGURED LOCAL TIME
.
.
.
Note: Many conditions also include optional is and is not parameters. These parameters are functionally equivalent to (that is, synonymous with) using the NOT operator, and you are free to use or mix NOT with is and is not as you prefer.

Finally, the policy wizard supports creation of rules using combinations of logical operators. You can nest operators. For example, you can define the following rule:

Or
     And
          Not
               where the service info status is one of FINAL_SERVICE_INFORMATION
          where the session is an enforcement session
     where the session is an application session
     Not
          where the session is an application session

evaluate policy 5555
reject message

The policy wizard validates condition trees.