Requesting A Change Indicator For 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

Requesting a Change Indicator for Configuration Elements

70
Client Application
<rpc>
<get-configuration format="text">
<configuration>
<policy-options/>
</configuration>
</get-configuration>
</rpc>
To request that the Junos XML protocol server indicate which configuration elements
have changed since the last commit, a client application includes the
attribute in the
<get-configuration/>
the request in an
tag element:
<rpc>
<rpc>
<get-configuration changed="changed"/>
<!-- OR -->
<get-configuration changed="changed">
<!-- tag elements for the configuration elements to return -->
</get-configuration>
</rpc>
For information about the tag elements to enclose in the
see "Specifying the Scope of Configuration Information to Return" on page 81.
The Junos XML protocol server indicates which elements have changed by including the
junos:changed="changed"
path to the changed configuration element. If the changed configuration element is
represented by a single (empty) tag, the
the tag. If the changed element is represented by a container tag element, the
junos:changed="changed"
opening tag for each child tag element enclosed in the container tag element.
Junos XML Protocol Server
<rpc-reply xmlns:junos="URL ">
<configuration-text>
policy-options {
policy-statement load-balancing-policy {
from {
route-filter 192.168.10/24 orlonger;
route-filter 10.114/16 orlonger;
}
then {
load-balance per-packet;
}
}
}
</configuration-text>
</rpc-reply>
tag or opening
<get-configuration>
attribute in the opening tag of every parent tag element in the
junos:changed="changed"
attribute appears in the opening container tag and also in the
changed="changed"
tag. It encloses
tag element,
<get-configuration>
attribute appears in
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents