flag implicit

Mode: Operational Mode

Description:

The implicit flag directs mgd to remove the keyword before it forwards the information to any of the router's daemons.

Example:

src/junos/lib/ddl/input/pfe.cmd.dd

    command show {
        command pfe {
            help "Show Packet Forwarding Engine information";
            option "";          /* Drop the pfe */

            ....

            command interfaces {
                help "Show Packet Forwarding Engine interfaces";
                hidden support;
                PFED_CPROD_ACTION; 
                ARG_SFM(interfaces);
                ARG_RFEB(interfaces);
                ARG_GFPC(interfaces);

                argument statistics {
                    flag nokeyword implicit;
                    type enum int {
                        choice "statistics" {
                            help "Show interface statistics";
                        }
                    }
                }

                argument interface-name {
                    flag nokeyword;
                    type string;
                    help "Name of interface";
                }
            }
        }
    }

Display:

From the CLI, users will not be able to know whether flag implicit/explicit
is used. It is only used between mgd and other daemons (in this case, pfed).

        user@router> show pfe interfaces ?
        Possible completions:
          <[Enter]>            Execute this command
          <interface-name>     Name of interface
          |     
        user@router>

Topics for further reading:

See also:
flag explicit

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