Displaying The Source Group For Inherited Configuration Elements - 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

Junos 10.3 Junos XML Management Protocol Guide
76
When the client includes the
information as the output from the following CLI configuration mode command:
user@host# show | display inheritance defaults | except ##
In both cases, the Junos XML protocol server encloses its output in the
element and either the
<configuration>
<configuration-text>
tag element (for formatted ASCII output). For information about
the attributes in the opening
Committed or Candidate Configuration" on page 65.
<rpc-reply xmlns:junos="URL">
<!-- EITHER -->
<configuration attributes>
<!-- Junos XML tag elements representing configuration elements -->
</configuration>
<!-- OR -->
<configuration-text>
<!-- formatted ASCII configuration statements -->
</configuration-text>
</rpc-reply>
The
attribute can be combined with one or more of the following attributes in the
inherit
tag or opening
<get-configuration/>
, which is described in "Requesting a Change Indicator for Configuration
changed
Elements" on page 70
database
, which is described in "Requesting Information from the Committed or
Candidate Configuration" on page 65
, which is described in "Requesting Output as Formatted ASCII Text or Junos
format
XML Tag Elements" on page 68
groups
, which is described in "Displaying the Source Group for Inherited Configuration
Elements" on page 76
The application can also include the
identifiers (as described in "Requesting an Indicator for Identifiers" on page 73).

Displaying the Source Group for Inherited Configuration Elements

To request that the Junos XML protocol server indicate the configuration group from
which configuration elements are inherited, a client application combines the
groups="groups"
attribute with the
opening
<get-configuration>
<rpc>
<get-configuration inherit="(defaults | inherit)" groups="groups"/>
<!-- OR -->
<get-configuration inherit="(defaults | inherit)" groups="groups">
<!-- tag elements for the configuration elements to return -->
</get-configuration>
attribute, the output includes the same
inherit="defaults"
tag element (for Junos XML-tagged output) or
tag, see "Requesting Information from the
<configuration>
<get-configuration>
attribute after requesting an indicator for
inherit
inherit
attribute in the
tag. It encloses the request in an
Copyright © 2010, Juniper Networks, Inc.
<rpc-reply>
tag:
<get-configuration/>
tag or
<rpc>
tag element:
tag

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents