ConfD User Community

Sending error message for wrong configuration data

I have a list having configurational data(RW=TRUE)
Generally when i send request from client then I get reply like as below:
/new-home/buildtools/confd/7.3/x86_64/bin/netconf-console-tcp --host= -port=2023 cmd-set-uplane.xml

<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">

Is there any option available through which on receiving the callback on my confd application, I can send in case of wrong configuration or configuration didn’t process instead of “OK”.


You can validate your configuration. If validation fails, you get error. See User Guide Chapter 11. Semantic validation. Probably you need to implement validation point, if YANG validation (must) cannot detect wrong configuration.