Discard-Changes; Edit-Config; Error-Info; Section 8.6, "<Discard-Changes - Siemens RX1400 Reference Manual

Ruggedcom series
Hide thumbs Also See for RX1400:
Table of Contents

Advertisement

Chapter 8
NETCONF XML Elements
Section 8.6
<discard-changes>
Description: Discards changes to the candidate configuration and reverts the candidate configuration to the currently running
Example: To discard changes to the candidate configuration:
Section 8.7
<edit-config>
Description: Changes the specified data in a specified configuration.
Parameters: <target> : the configuration to edit: candidate or running.
Response: If the NETCONF device can complete the request, it sends an <rpc-reply> document containing the <data>
Example: To change the system name parameter in the running configuration:
Section 8.8
<error-info>
Description: In an <rpc-error> element, <error-info> contains information describing an error returned by the NETCONF server.
Example: An <rpc-reply> response with <error-info> indicating an error due to attribute and element problems:
128
configuration.
<rpc>
<discard-changes/>
</rpc>
]]>]]>
<config> : identifies the configuration segments to edit. The filter element contains elements describing the
configuration parameters to set and the date values to set in the configuration.
element and results of the query.
If the NETCONF device cannot complete the request, it sends an <rpc-reply> document containing the <rpc-error>
element.
<rpc message-id="233" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<admin xmlns="http://ruggedcom.com/ns/rmf_admin"><system-name>Lorem Ipsum</
system-name></admin>
</config>
</edit-config>
</rpc>]]>]]>
Elements within <error-info> may indicate specific errors. For more information on NETCONF errors, see
Engineering Task Force RFC 6241
<rpc-reply>
<rpc-error>
<error-type>rpc</error-type>
<error-tag>missing-attribute</error-tag>
<error-severity>error</error-severity>
<error-info>
[http://tools.ietf.org/html/rfc6241].
RUGGEDCOM NETCONF
Reference Guide
Internet
<discard-changes>

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx1500Rx1511Rx1512Rx5000Mx5000Mx5000re ... Show all

Table of Contents