Junos 10.3 Junos XML Management Protocol Guide
Mapping for Leaf Statements with Multiple Values
18
Some leaf statements consist of a fixed-form keyword only, without an associated
variable-form value. The Junos XML API represents such statements with an empty tag.
The following example shows the Junos XML tag elements for the
the
[edit forwarding-options sampling]
Some Junos leaf statements accept multiple values, which can be either user-defined
or drawn from a set of predefined values. CLI notation uses square brackets to enclose
all values in a single statement, as in the following:
statement [ value1 value2 value3 ...];
The Junos XML API instead encloses each value in its own tag element. The following
example shows the Junos XML tag elements for a CLI statement with multiple
user-defined values. The
import
in the configuration. For complete information about changing routing platform
configuration, see "Changing Configuration Information" on page 103.
hierarchy level.
statement imports two routing policies defined elsewhere
Copyright © 2010, Juniper Networks, Inc.
statement at
disable
Need help?
Do you have a question about the JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010 and is the answer not in the manual?
Questions and answers