RUGGEDCOM NETCONF
Reference Guide
Chapter 7
Examples
Getting the Chassis Status
81
<get>
<filter type="subtree">
<chassis xmlns="http://ruggedcom.com/ns/rmf_chassis">
<chassis-status>
<rox-release></rox-release>
</chassis-status>
</chassis>
</filter>
</get>
</rpc>]]>]]>
Section 7.3
Getting the Chassis Status
In this example, a single
<rpc>
queries retrieves the chassis status information from the device.
This example shows how to issue a query for state information directly from the device.
<rpc message-id="2"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get>
<filter type="subtree">
<chassis xmlns="http://ruggedcom.com/ns/rmf_chassis">
<status></status>
</chassis>
</filter>
</get>
</rpc>]]>]]>
Section 7.4
Setting the System Clock
In this example, a single
<rpc>
sets the system clock with the
set-system-clock
action.
This example shows how to use a RUGGEDCOM ROX II action on a running device.
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<action xmlns="http://tail-f.com/ns/netconf/actions/1.0">
<data>
<admin xmlns="http://ruggedcom.com/ns/rmf_admin">
<set-system-clock>
<time>2011-01-12 17:52:25</time>
</set-system-clock>
</admin>
</data>
</action>
</rpc>]]>]]>
Section 7.5
Acknowledging Alarms
In this example, a single
<rpc>
acknowledges all alarms on the device with the
acknowledge-all-alarms
action.
Содержание RUGGEDCOM MX5000RE
Страница 8: ...Table of Contents RUGGEDCOM NETCONF Reference Guide viii ...
Страница 12: ...Preface RUGGEDCOM NETCONF Reference Guide xii Customer Support ...
Страница 26: ...Chapter 1 Introduction RUGGEDCOM NETCONF Reference Guide 14 Sample Session Editing Data ...
Страница 40: ...Chapter 3 NETCONF Sessions RUGGEDCOM NETCONF Reference Guide 28 Killing a Session ...
Страница 64: ...Chapter 5 Changing Configuration Data RUGGEDCOM NETCONF Reference Guide 52 Committing Changes ...
Страница 148: ...Chapter 8 NETCONF XML Elements RUGGEDCOM NETCONF Reference Guide 136 validate ...