Vyatta NOS documentation

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

<rollback> (system RPC)

Use this RPC to return the configuration of Vyatta NOS to a particular commit that you specify.

Note: To determine the revision ID that you need, first use the get-commit-history RPC and review the output.
Available elements
Use this to specify the commit version that you want to roll back to. (Mandatory. Must be a 32-bit unsigned integer.)
Use this to specify a comment to associate with the rollback. (Optional.)
Example XML input
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
    <rollback xmlns="urn:vyatta.com:mgmt:vyatta-config-rollback:1">
        <comment>Rollback via RPC</comment>
Example output
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
If you want to verify this, look at the commit history on the Vyatta NOS system. The history will look something like this:
user@system:~$ show system commit
0 2022-01-14 12:52:59 by configd
Rollback via RPC
1 2022-01-14 12:48:20 by vyatta
Change loopback description