Test a new configuration with the confirmed commit facility
An example of how to use the <confirmed/>
element in the initial <commit>
RPC, to test a new configuration.
This is particularly useful when you wish to make configuration changes that risk loss of connectivity to Vyatta NOS.
The default timeout period is 600 seconds, but you may use the <confirm-timeout>
option to change this.
If you specify a persist ID, then the confirming commit may be from another session but must include the ID in the <persist-id>
tag.
<commit>
RPC without a <confirmed>
tag.In this example, we use the confirmed commit facility with a timeout period and a persist ID.