EasyManua.ls Logo

Siemens RX1400 - Rpc; Rpc-Error

Siemens RX1400
148 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 [http://tools.ietf.org/
html/rfc6241].
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.

Table of Contents

Related product manuals