home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

Discard your changes — <discard-changes>

An example of how to use the <discard-changes> RPC to discard the changes that you made, rather than commit them.
This RPC will discard all edits that you made in your current NETCONF session — that is, it will cancel all <edit-config> operations in this session. Thus your candidate configuration will revert to match the running configuration.
Use the <discard-changes> RPC.
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <discard-changes/>
</rpc>
]]>]]>