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

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.
The Junos XML protocol server encloses its response in
tag elements. For information about the standard attributes in the opening
tag, see "Requesting Information from the Committed or Candidate Configuration" on
page 65.
<rpc-reply xmlns:junos="URL">
<configuration standard-attributes junos:changed="changed">
<!-- opening-tag-for-each-parent-level junos:changed="changed" -->
<!-- For each changed element, EITHER -->
<element junos:changed="changed"/>
<!-- OR -->
<element junos:changed="changed">
<first-child-of-element junos:changed="changed">
<second-child-of-element junos:changed="changed">
<!-- additional children of element -->
</element>
<!-- closing-tag-for-each-parent-level -->
</configuration>
</rpc-reply>
NOTE: When a commit operation succeeds, the Junos XML protocol server removes
the
junos:changed="changed"
generated during the commit, the attribute is not removed. In this case, the
junos:changed="changed"
commit as well as those that changed after the commit.
An example of a commit-time warning is the message explaining that a configuration
element will not actually apply until the device is rebooted. The warning appears in the
tag string that the Junos XML protocol server returns to confirm the success of the
commit, enclosed in an
<xnm:warning>
To remove the
junos:changed="changed"
the commit, the client application must take any action necessary to eliminate the
cause of the warning, and commit the configuration again.
The
changed
attribute can be combined with one or more of the following other attributes
in the
<get-configuration/>
database
, which is described in "Requesting Information from the Committed or
Candidate Configuration" on page 65. Request change indicators in either the candidate
or active configuration:
When the
database="candidate"
omitted, the output is from the candidate configuration. Elements added to the
candidate configuration after the last commit operation are marked with the
junos:changed="changed"
attribute from all tag elements. However, if warnings are
attribute appears on tag elements that changed before the
tag element.
attribute from elements that changed before
tag or opening
<get-configuration>
attribute is included or the
attribute.
Chapter 4: Requesting Information
<rpc-reply>
and
<configuration>
<configuration>
tag:
attribute is
database
71

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents