Unlocking the Configuration
Closing the Junos XML Protocol Session
Copyright © 2010, Juniper Networks, Inc.
Client Application
<rpc>
<commit-configuration/>
</rpc>
The client application unlocks (and by implication closes) the candidate configuration.
As when it opens the configuration, the Junos XML protocol server confirms successful
closure of the configuration only by returning an opening
</rpc-reply>
tag with nothing between them.
Client Application
Junos XML Protocol Server
<rpc>
<unlock-configuration/>
</rpc>
<rpc-reply xmlns:junos="URL ">
</rpc-reply>
The client application closes the Junos XML protocol session.
Client Application
<rpc>
<request-end-session/>
</rpc>
</junoscript>
Chapter 3: Controlling the Junos XML Management Protocol Session
Junos XML Protocol Server
<rpc-reply xmlns:junos="URL ">
<commit-results>
<routing-engine>
<name>re0</name>
<commit-success/>
</routing-engine>
</commit-results>
</rpc-reply>
Junos XML Protocol Server
<rpc-reply xmlns:junos="URL ">
<end-session/>
</rpc-reply>
</junoscript>
and closing
<rpc-reply>
59