Well, what did you give for
<source> in the copy-config? Looking at the "unformatted" version of your message, it looks like
< > - what's that supposed to mean? From https://tools.ietf.org/html/rfc6241#section-7.3:
source: Name of the configuration datastore to use as the source
of the <copy-config> operation, or the <config> element
containing the complete configuration to copy.
Thus an empty "complete configuration" can be given as
<config/>, or for the complete rpc:
Seems to work fine now that I actually tested it. If you use the
netconf-console tool that comes with ConfD, it can conveniently be done as:
netconf-console --copy-config=/dev/null --db=candidate
netconf-console -h to see all the nifty options.
Yes, the forum software "eats" everything that looks like XML - check the preview before you post, and use the
</> "Preformatted text" option for XML chunks (for "inline" preformatted text, you can just enclose it in "back-tics", i.e.