Discard Commit
This capability is used to cancel or abort an ongoing <confirmed-commit> operation. For example, before confirmation of the <commit> operation times out or when the <commit> operation is being performed, the <discard-commit> operation can be performed to discard all the two-phase cache data, data in the <candidate/> database.
Capability ID
<capability>http://www.huawei.com/netconf/capability/discard-commit/1.0</capability>
The following example shows how the ongoing <commit> operation is cancelled.
RPC request
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <discard-commit xmlns="http://www.huawei.com/netconf/capability/discard-commit/1.0"/> </rpc>
RPC reply
<rpc-reply message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <ok/> </rpc-reply>