EasyManua.ls Logo

Siemens RX1400 - <discard-changes>; <edit-config>

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
128 <discard-changes>
Section8.6
<discard-changes>
Description: Discards changes to the candidate configuration and reverts the candidate configuration to the currently running
configuration.
Example: To discard changes to the candidate configuration:
<rpc>
<discard-changes/>
</rpc>
]]>]]>
Section8.7
<edit-config>
Description: Changes the specified data in a specified configuration.
Parameters: <target> : the configuration to edit: candidate or running.
<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.
Response: If the NETCONF device can complete the request, it sends an <rpc-reply> document containing the <data>
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.
Example: To change the system name parameter in the running configuration:
<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>]]>]]>
Section8.8
<error-info>
Description: In an <rpc-error> element, <error-info> contains information describing an error returned by the NETCONF server.
Elements within <error-info> may indicate specific errors. For more information on NETCONF errors, see Internet
Engineering Task Force RFC 6241 [http://tools.ietf.org/html/rfc6241].
Example: An <rpc-reply> response with <error-info> indicating an error due to attribute and element problems:
<rpc-reply>
<rpc-error>
<error-type>rpc</error-type>
<error-tag>missing-attribute</error-tag>
<error-severity>error</error-severity>
<error-info>

Table of Contents

Related product manuals