RUGGEDCOM NETCONF
Reference Guide
Chapter 8
NETCONF XML Elements
<validate> 135
]]>]]>
Section8.19
<validate>
Description: Validates the syntax of the specified configuration. After making changes to the candidate configuration, use
<validate> to make sure the syntax is correct.
Parameters: <source> : specifies the configuration to validate: <candidate/> or <running/>.
Response: If the NETCONF device can complete the request, it sends an <rpc-reply> document containing the <ok> element.
If the NETCONF device cannot complete the request, it sends an <rpc-reply> document containing the <rpc-error>
element. The <rpc-error> element will contain information on the syntax errors found in the configuration.
Example: To verify the candidate configuration:
<rpc message-id="103" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<validate>
<source>
<candidate/>
</source>
</validate>
</rpc>
]]>]]>