Creating a Policy Rule

Policy rules are created and modified using the policy wizard in the CMP system. After the rule is created or modified, the rule is stored in the policy library. The policy wizard guides you step by step to creating a new policy rule. The wizard displays only the options available at each step.

The following procedure describes how to create a new policy rule, using this wireless policy as an example:

And
     where the request is creating a new session
     where the session is an application session
     where the APN matches one of imode.g1t2
     where the subscriber profile data is not available
set gg to `op`

reject message

To create a new policy rule:

  1. From the Policy Management section of the navigation pane, select Policy Library.

    The content tree displays a list of policy library groups; the default is ALL.

  2. From the content tree, select the ALL group.

    The Policy Administration page opens in the work area.

  3. Click Create Policy.

    The Create Policy page opens.

  4. Select a starting point for the new policy rule:

    • Blank — The policy rule is created from the beginning, without any attributes being pre-defined.
    • Use Template — The policy rule is created based on a user-defined template that can have policy parameters pre-defined. This template can be modified.
    • Copy Existing Policy — The policy rule is created based on an existing policy rule, which you can modify.

  5. Click Next.

    The Tables page opens.

  6. Specify the tables you want to use in the policy. For more details on associating a table with a policy, see Associating a Policy Table with a Policy Rule.

    If no tables are associated with the policy rule, click Next.

    • To specify multiple tables, click the selection icon () multiple times
    • To move a table so that it is evaluated earlier in the rule, click the up icon ()
    • To move a table so that it is evaluated later in the rule, click the down icon ()
    • To delete a table, click (trash can icon) located to the left of the table.

  7. Click Next.

    The Conditions page opens.

  8. Select the policy conditions.

    As a condition is selected, it appears in the Description area at the bottom of the page.

    You can select multiple conditions, enter multiple instances of each condition, change the order of conditions, group conditions logically, or remove conditions:

    • To enter multiple instances of a condition, click the selection icon () in the Conditions window multiple times.
    • To combine a logical group of conditions, click And or Or, located in the upper right corner of the Description window, and drag the conditions into the container that appears (represented by a folder icon). You can toggle a container between And and Or by double-clicking on the folder.
    • To change a the evaluation order of a condition or to include the condition within a logical container, drag and drop the condition within the Description area. You cannot drop a container onto itself or one of its sub-containers.
    • To negate a condition, change the is parameter if present, or click Not, located in the upper right corner of the Description area, and drag the condition into the container that appears (represented by a folder icon).
    • To delete a condition or container from the rule, select the condition and click Delete. A confirmation message displays. Click OK.

    Tip: To add conditions directly to an existing container, select the container first.
    Example of Selected Policy Conditions

  9. Configure parameters information. If a policy condition includes a parameter that requires input, it displays red underlined text in the Description area.
    1. Click the red underlined text. A window opens, from which you can do one of the following:

      • Select one or more options; for example:
        Example of Parameter Option Selections
      • Enter a value (such as a traffic bit rate or percentage) for example:
        Example of Parameter Value Entry

    2. Click OK.

    The popup window closes and the input is added to the policy condition.

  10. Click Next.

    The Actions page opens.

  11. Select the required action and any optional actions that the MPE device should execute if the policy request matches the defined conditions of the policy rule.

    For example:

    Example of Selected Policy Actions

    • To enter multiple instances of an action, click the selection icon () multiple times
    • To move an action so that it is evaluated earlier in the rule, click the up icon ()
    • To move an action so that it is evaluated later in the rule, click the down icon ()
    • To delete an action from the rule, click (trash can icon) located to the left of the action.

  12. Click Next.

    The Name page opens.

  13. Assign a unique name (uniqueness is not case sensitive) to the new policy rule.

    Note: The name can be up to 255 characters long and cannot contain the following characters: < > \ ; & ' " =

  14. Click Include in Analytics to generate an analytics data stream for the policy.

    See the Analytics Data Stream Reference for more information on the Oracle Communications Policy Management Analytics product.

  15. Click Finish.

    The Create Policy page closes.

The policy rule is saved to the policy library in the CMP database.
After a policy rule is created, you must deploy it to MPE devices so it can take effect. Reference policy rules (rules called by parent policy rules) do not need to be deployed because they are deployed automatically when called by a parent rule. See Using Reference Policies.