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.

Get state information — <get>

An example of how to use the <get> RPC to get state information. State information is marked in YANG as config: false and is read-only.
In this example we get the system platform information.
Use the <get> RPC.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
    <filter type="subtree">
          <platform xmlns="urn:vyatta.com:mgmt:vyatta-system:1"/>
The reply will look something like this (an unreleased build in this case):
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
    <system xmlns="urn:vyatta.com:mgmt:vyatta-system:1">
          <os-name>DANOS - Vyatta NOS Edition</os-name>