Chapter 7
Examples
RUGGEDCOM NETCONF
Reference Guide
116
Retreiving All Data From Running Database Including
Default Values
<rpc message-id="2" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get>
<filter type="subtree">
<interfaces xmlns="http://ruggedcom.com/ns/rmf_ifs">
<ip>
<name>fe-4-1</name>
<ipv4>
<address>
<local></local>
</address>
</ipv4>
</ip>
</interfaces>
</filter>
</get>
</rpc>]]>]]>
Section 7.39
Retreiving All Data From Running Database
Including Default Values
In this example, a single
<rpc>
request retrieves information (including default values) from a specified
configuration on a running database.
The following is the recommended procedure for querying data from a running database.
•
Request data from the running databse:
<rpc message-id="1" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" with-defaults="true">
<get-config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<source>
<running/>
</source>
</get-config>
</rpc>
Section 7.40
Retreiving All Data From Running Database
Including Default Tags and Values
In this example, a single
<rpc>
request retrieves information (including default tags and values) from a specified
configuration on a running database.
The following is the recommended procedure for querying data from a running database:
•
Request data from the running databse:
<rpc message-id="1" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<source>
<running/>
</source>
<with-defaults xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults">report-all-tagged</
with-defaults>
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 ...