flag unquoted

Mode: Configuration Mode

Description:

The unquoted flag indicates that when the data value is exported, it should never be delimited by quotation marks. Without the flag, quotation marks are added if the string being exported is lexically ambiguous according to the CLI's lexical rules. This flag is most often used in cases where a complex statement is parsed by the back-end parser but is treated as a single string in the CLI (regular expression, for example).

Example:

        object community {
            help BGP community properties associated with a route";
            flag setof list;
            flag oneliner;
            choice community_action {
                xml-name community-name community-action;
                flag identifier nokeyword;
                attribute "set" {
                    type toggle;
                    help "Set the BGP communities in the route";
                }
                attribute "+" {
                    xml-name plus-literal;
                    flag unquoted;
                    type toggle;
                    help "Add BGP communities to the route";
                    cname ddc_plus_attr;
                }
                attribute "-" {
                    xml-name minus-literal;
                    flag unquoted;
                    type toggle;
                    help "Remove BGP communities from the route";
                    cname ddc_minus_attr;
                }
            }
        }

Topics for further reading:

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:12 2010 for DDL Reference Guide by doxygen 1.4.5