type setof policy-algebra

Mode: Configuration Mode

Description:

The policy-algebra type specifies complex algebra expressions.

For backward compatibility, these attributes must be setof policy-algebra.

Example:

        object newbie {
            help "Newbie settings";

            attribute complex-logic {
                help "Test complex logic";
                type setof policy-algebra;
            }
        }

Display:

        user@router# set example newbie complex-logic ?
        Possible completions:
          <value>              Test complex logic
          (                    Open an expression
          [                    Open a set of values
        [edit]
        user@router# set example newbie complex-logic [ ( one ?
        Possible completions:
          &&                   Logical AND operation
          )                    Close an expression
          ||                   Logical OR operation
        [edit]
        user@router# set example newbie complex-logic [ ( one || ! two ) ?  
        Possible completions:
          <value>              Test complex logic
          (                    Open an expression
          ( one || two )       Test complex logic
          ]                    Close the current set
        [edit]
        user@router# set example newbie complex-logic [ ( one || ! two ) (three && four) ]

        [edit]
        user@router# show example
        newbie {
            complex-logic [ ( one || two ) three ( one || ! two ) ( three && four ) ];
        }

        [edit]

See also:

Reference (to programmers guide/style guide):


2007-2008 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are trademarks of Juniper Networks, Inc.
Generated on Sun May 30 20:23:13 2010 for DDL Reference Guide by doxygen 1.4.5