Chapter 1
Introduction
RUGGEDCOM NETCONF
Reference Guide
4
Sample Session: Getting Data
•
Section 1.5.1, “Sample Session: Getting Data”
describes a simple session where you connect to a device, get
data from the device, and close the session
•
Section 1.5.2, “Sample Session: Performing an Action”
describes a simple session where you connect to a device,
perform an action on the device, and close the session
•
Section 1.5.3, “Sample Session: Editing Data”
describes a more complex session where you connect to a device,
prepare the device data-stores for editing, edit the data, commit the data, and close the session
Each sample provides an overview of the primary steps in the session, a schematic illustration of the primary steps,
and the actual NETCONF code sent to and received from the device.
Read these sections to become familiar with the general flow of typical NETCONF sessions. Also, review these
sections to become familiar with examples of working NETCONF XML code. The text in these examples can be
copied and tested on an operating RUGGEDCOM NETCONF device.
The XML code in these examples has been formatted for legibility. Line breaks and white space have been added
to the XML text to make the lines easier to read and to show the element hierarchy. When sending XML text to the
device, the line breaks and whitespace are not required. You can send XML text to the device in a single line, as
long as the XML is well-formed.
Text returned from the device has also been formatted for legibility. The text returned from the device typically
appears in a single line, without whitespace between the elements.
In these examples, the
<hello>
message from the device has been truncated for clarity.
CONTENTS
•
Section 1.5.1, “Sample Session: Getting Data”
•
Section 1.5.2, “Sample Session: Performing an Action”
•
Section 1.5.3, “Sample Session: Editing Data”
Section 1.5.1
Sample Session: Getting Data
To retrieve data from a device, do the following:
Figure 2: Getting Data
Содержание 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 ...