flag mustquote

Mode: Operational Mode


The mustquote flag specifies that the attribute value must be quoted on output. This flag is typically used when the back-end parser that reads the exported file has different lexical rules from the CLI that would cause different tokenization. The flag is also used when the arguement or attribute value might conflict with a keyword in the back-end parser. Using the mustquote flag forces mgd to encapsulate an element's name in quotes as it propagates that name to other daemons (DCD, for instance). This allows the daemon to recognize the value as a name rather than a keyword.

Quotation marks are generated only if the daemon to which the file is exported is flagged as requiring it.


            command newbie {
                help "Show newbie";

                argument constant-text {
                    type string;
                    flag mustquote;
                    help "Example newbie display";

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