Specifying The Source And Output Format Of Configuration Information; Configuration - 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

Specifying the Source and Output Format of Configuration Information

Requesting Information from the Committed or Candidate Configuration
Copyright © 2010, Juniper Networks, Inc.
</configuration-text>
</rpc-reply>
If a Junos XML tag element is returned within an
corresponding configuration element is not documented in the Junos OS configuration
guides or officially supported by Juniper Networks. Most often, the enclosed element is
used for debugging only by support personnel. In a smaller number of cases, the element
is no longer supported or has been moved to another area of the configuration hierarchy,
but appears in the current location for backward compatibility.
For reference pages for the
tag elements, see the Junos XML API Operational Reference.
Applications can also request other configuration-related information, including an XML
schema representation of the configuration hierarchy or information about previously
committed configurations. For more information, see the following sections:
Requesting an XML Schema for the Configuration Hierarchy on page 94
Requesting a Previous (Rollback) Configuration on page 97
Comparing Two Previous (Rollback) Configurations on page 99
Requesting the Rescue Configuration on page 100
The following sections describe how a client application specifies the source, format,
and amount of information returned by the Junos XML protocol server:
Specifying the Source and Output Format of Configuration Information on page 65
Specifying the Scope of Configuration Information to Return on page 81
By including optional attributes when requesting configuration information, a client
application can specify the source and formatting of the output returned by the Junos
XML protocol server, as described in the following sections:
Requesting Information from the Committed or Candidate Configuration on page 65
Requesting Output as Formatted ASCII Text or Junos XML Tag Elements on page 68
Requesting a Change Indicator for Configuration Elements on page 70
Requesting an Indicator for Identifiers on page 73
Specifying the Output Format for Configuration Groups on page 74
To request information from the candidate configuration, the application either includes
the
database="candidate"
the candidate configuration is the default):
<rpc>
<get-configuration/>
<undocumented>
,
<configuration>
<configuration-text>
attribute or omits the attribute completely (information from
Chapter 4: Requesting Information
tag element, the
, and
<undocumented>
65

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents