flag no-xml

Mode: Operational Mode

Description:

The no-xml flag indicates that the resulting output from the forked process or the daemon is not xmlized.

Example:

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

    command clear {
        help "Clear information in the system";
        require clear;

        ...

        
        command route {
            hidden support;
            help "Clear routing table information";
            require wheel;

            command forwarding-table {
                help "Clear entries in the forwarding table";
                flag positional;

                action execute spawn PATH_ROUTE {
                    flag no-xml;
                    prefix-arg "delete";
                }

                ...

            }
        }
    }

Display:

        user@router> clear route forwarding-table 10.150.0.0/16 | display xml
        <rpc-reply xmlns:junos="http://xml.juniper.net/junos/7.6I0/junos">
            <output>
                delete 10.150.0.0/16: gateway 192.168.14.254: No route to host
            </output>
            <cli>
                <banner></banner>
            </cli>
        </rpc-reply>

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