Changing The Configuration; Committing The 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

Junos 10.3 Junos XML Management Protocol Guide

Changing the Configuration

Committing the Configuration

58
tag to prevent any other users or applications from altering the candidate configuration
at the same time. To confirm that the candidate configuration is locked, the Junos XML
protocol server returns an
them.
Client Application
Junos XML Protocol Server
<rpc>
<lock-configuration/>
</rpc>
<rpc-reply xmlns:junos="URL ">
</rpc-reply>
The client application emits the tag elements that add the new
class to the candidate configuration. The Junos XML protocol server returns the
<load-configuration-results>
outcome of the load operation. (Understanding the meaning of these tag elements is
not necessary for the purposes of this example, but for information about them, see
"Changing Configuration Information" on page 103.)
Client Application
<rpc>
<load-configuration>
<configuration>
<system>
<login>
<class>
<name>network-mgmt</name>
<permissions>configure</permissions>
<permissions>snmp</permissions>
<permissions>system</permissions>
</class>
</login>
</system>
</configuration>
</load-configuration>
</rpc>
The client application commits the candidate configuration. The Junos XML protocol
server returns the
<commit-results>
outcome of the commit operation (for information about these tag elements, see
"Committing a Configuration" on page 133).
and an
<rpc-reply>
</rpc-reply>
tag element to enclose a tag element that reports the
Junos XML Protocol Server
<rpc-reply xmlns:junos="URL ">
<load-configuration-results>
<load-success/>
</load-configuration-results>
</rpc-reply>
tag element to enclose tag elements that report the
tag with nothing between
privilege
network-mgmt
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents