Chapter 8
NETCONF XML Elements
RUGGEDCOM NETCONF
Reference Guide
132
<ok/>
Section 8.13
<ok/>
Description:
Appears in an <rpc-reply> message to indicate successful completion of a NETCONF request.
Example:
An <rpc-reply> message indicating the successful completion of a NETCONF request:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="104">
<ok/>
</rpc-reply>
]]>]]>
Section 8.14
<rpc>
Description:
Encloses NETCONF requests sent to the NETCONF server. The
netconf:base
namespace declaration and the
message-id
attributes are mandatory.
The
message-id
attribute is an arbitrary string identifying the request. The
message-id
string is returned as
part of the <rpc-reply> message in response to the request, helping to map the response to the request. The
message-id
strings do not need to be unique within a session.
Example:
The <rpc> element in a request, and the resulting <rpc-reply> message. Note the <message-id> attribute in the
request and the reply.
<rpc message-id="103" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<validate>
<source>
<running/>
</source>
</validate>
</rpc>
]]>]]>
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
message-id="103"
><ok/></
rpc-reply>]]>]]>
Section 8.15
<rpc-error>
Description:
Indicates that the NETCONF server encountered an error processing an <rpc> request. The <rpc-error> element
appears within <rpc-request> messages.
For more information on NETCONF errors, see
Internet Engineering Task Force RFC 6241
Parameters:
The <rpc-error> element includes the following information:
<error-type> : indicates the conceptual layer where the error occurred: transport | rpc | protocol | application
<error-tag> : identifies the error condition.
<error-severity> : indicates the severity of the error: error | warning
<error-app-tag> : indicates the data-model or implementation error condition, if there is one. This element does
not appear if no application error tag is associated with the error condition.
<error-path> : shows the XPath to the element associated with the error, if there is one. This element does not
appear if no element is associated with the error condition.
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 ...