Get state information — <get>
<get>
RPC to get state information. State information is marked in YANG as config: false
and is read-only. <get>
RPC.<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
<get>
<filter type="subtree">
<system>
<state>
<platform xmlns="urn:vyatta.com:mgmt:vyatta-system:1"/>
</state>
</system>
</filter>
</get>
</rpc>
]]>]]>
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
<data>
<system xmlns="urn:vyatta.com:mgmt:vyatta-system:1">
<state>
<platform>
<os-name>DANOS - Vyatta NOS Edition</os-name>
<os-release>Vyatta:Master</os-release>
<os-version>9999</os-version>
</platform>
</state>
</system>
</data>
</rpc-reply>
]]>]]>