To discard changes made to the candidate configuration and make its contents match the contents of the current running (active) configuration, a client application includes the <discard-changes/> tag in an<rpc> tag element:
<rpc>
<discard-changes/>
</rpc>
]]>]]>
This operation is equivalent to the CLI configuration mode rollback command.
The NETCONF server indicates that it discarded the changes by enclosing the <ok/> tag in the <rpc-reply> tag element:
<rpc-reply xmlns="URN" xmlns:sdx="URL">
<ok/>
</rpc-reply>
]]>]]>