Mapping For Multiple Options On One Or More Lines - Juniper JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010 Manual

Junos xml management protocol guide
Hide thumbs Also See for JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010:
Table of Contents

Advertisement

Mapping for Multiple Options on One or More Lines

Copyright © 2010, Juniper Networks, Inc.
Chapter 2: Using Junos XML Management Protocol and Junos XML Tag Elements
The following example shows the Junos XML tag elements for a CLI statement with
multiple predefined values. The
permissions to members of the
For some Junos configuration objects, the standard CLI syntax places multiple options
on a single line, usually for greater legibility and conciseness. In most such cases, the first
option identifies the object and does not have a keyword, but later options are paired
keywords and values. The Junos XML API encloses each option in its own tag element.
Because the first option has no keyword in the CLI statement, the Junos XML API assigns
a name to its tag element.
The following example shows the Junos XML tag elements for a CLI configuration
statement with multiple options on a single line. The Junos XML API defines a tag element
for both options and assigns a name to the tag element for the first option (
which has no CLI keyword.
The syntax for some configuration objects includes more than one multioption line. Again,
the Junos XML API defines a separate tag element for each option. The following example
shows Junos XML tag elements for a
hierarchy level. The statement has three child statements, each with multiple options.
statement grants three predefined
permissions
login class.
user-accounts
statement at the
traceoptions
),
10.0.0.1
[edit protocols isis]
19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents