<reboot>
(system RPC)
Use this RPC to reboot Vyatta NOS or hardware, if available.
- Module
vyatta-system-v1
- Available elements
<type>
This field is not mandatory, but without it the command will do nothing.
Where
<type>
is one of:os
: Reboot the Vyatta NOS immediately.hardware
: Reboot hardware, if available (so not on software-only vrouter).
- Example XML input
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1"> <reboot xmlns="urn:vyatta.com:mgmt:vyatta-system-reboot:1"> <type>os</type> </reboot> </rpc> ]]>]]>
- Example output
<?xml version="1.0"?> <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1"> <msg xmlns="urn:vyatta.com:mgmt:vyatta-system-reboot:1">The system is going down for reboot </msg> </rpc-reply> ]]>]]>