Chapter 7
Examples
RUGGEDCOM NETCONF
Reference Guide
82
Clearing All Alarms
This example shows how to use a NETCONF 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">
<acknowledge-all-alarms/>
</admin>
</data>
</action>
</rpc>]]>]]>
Section 7.6
Clearing All Alarms
In this example, a single
<rpc>
clears all alarms on the device with the
clear-all-alarms
action.
This example shows how to use a NETCONF 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">
<clear-all-alarms/>
</admin>
</data>
</action>
</rpc>]]>]]>
Section 7.7
Viewing Alarms
In this example, a single
<rpc>
queries the device and returns a list of active alarms.
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">
<admin xmlns="http://ruggedcom.com/ns/rmf_admin">
<alarms></alarms>
</admin>
</filter>
</get>
</rpc>]]>]]>
Section 7.8
Restoring Factory Defaults
In this example, a single
<rpc>
restores the factory default settings with the
restore-factory-defaults
action.
This example shows how to use a RUGGEDCOM ROX II action on a running device.
Summary of Contents for RUGGEDCOM MX5000RE
Page 8: ...Table of Contents RUGGEDCOM NETCONF Reference Guide viii ...
Page 12: ...Preface RUGGEDCOM NETCONF Reference Guide xii Customer Support ...
Page 26: ...Chapter 1 Introduction RUGGEDCOM NETCONF Reference Guide 14 Sample Session Editing Data ...
Page 40: ...Chapter 3 NETCONF Sessions RUGGEDCOM NETCONF Reference Guide 28 Killing a Session ...
Page 64: ...Chapter 5 Changing Configuration Data RUGGEDCOM NETCONF Reference Guide 52 Committing Changes ...
Page 148: ...Chapter 8 NETCONF XML Elements RUGGEDCOM NETCONF Reference Guide 136 validate ...