Juniper JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010 Manual page 99

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

Copyright © 2010, Juniper Networks, Inc.
</rpc>
For information about the tag elements to enclose in the
see "Specifying the Scope of Configuration Information to Return" on page 81.
When the
groups="groups"
output includes the same information as the output from the following CLI configuration
mode command, and does not include configuration elements inherited from the
group:
junos-defaults
user@host# show | display inheritance
When the
groups="groups"
the output includes the same information as the output from the following CLI
configuration mode command:
user@host# show | display inheritance defaults
The
inherit
and
groups
attributes can be combined with one or more of the following other
attributes in the
<get-configuration/>
changed
, which is described in "Requesting a Change Indicator for Configuration
Elements" on page 70.
, which is described in "Requesting Information from the Committed or
database
Candidate Configuration" on page 65.
format
, which is described in "Requesting Output as Formatted ASCII Text or Junos
XML Tag Elements" on page 68. The application can request either Junos XML-tagged
or formatted ASCII output:
If the output is tagged with Junos XML tag elements (the
included or the
format
the
junos:group="source-group"
that are inherited from configuration groups and encloses its response in
and
<configuration>
<rpc-reply>
in the opening
<configuration>
or Candidate Configuration" on page 65.
<rpc-reply xmlns:junos="URL">
<configuration attributes>
<!-- For each inherited element -->
<!-- opening-tags-for-parents-of-the-element -->
<inherited-element junos:group="source-group">
<inherited-child-of-inherited-element junos:group="source-group">
<!-- inherited-children-of-child junos:group="source-group" -->
</inherited-child-of-inherited-element>
</inherited-element>
<!-- closing-tags-for-parents-of-the-element -->
</configuration>
</rpc-reply>
If the output is formatted ASCII text (the
Junos XML protocol server encloses its response in
tag elements, and inserts three commented lines immediately above
<rpc-reply>
each inherited element, as in the following:
<rpc-reply xmlns:junos="URL">
attribute is combined with the
attribute is combined with the
tag or opening
<get-configuration>
attribute is omitted), the Junos XML protocol server includes
attribute in the opening tags of configuration elements
tag elements. For information about the attributes
tag, see "Requesting Information from the Committed
format="text"
Chapter 4: Requesting Information
<get-configuration>
tag element,
attribute, the
inherit="inherit"
inherit="defaults"
attribute,
tag:
attribute is
format="xml"
attribute is included), the
and
<configuration-text>
77

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents