Yes, I just wanted to make sure everything is working as expected when you do not use external DB (disable callback temporarily) as troubleshooting with callback is more difficult. I agree the scenario is different as you have issue with set callback.
Here are also netconf-console -i
commands (add <defaultHandlingMode>report-all</defaultHandlingMode>
to confd.conf
as described I entered a default value in my YANG module, but it doesn’t show )
netconf-console -i
<edit-config>
<target>
<running/>
</target>
<config>
<c1 xmlns="http://tail-f.com/ns/example/datamodel"
xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0">
<attrib-type>2</attrib-type>
</c1>
</config>
</edit-config>
<get>
<filter xmlns="http://tail-f.com/ns/example/datamodel">
<c1/>
</filter>
</get>
the output
<?xml version="1.0" encoding="UTF-8"?> │$
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2"> │
<data> │
<c1 xmlns="http://tail-f.com/ns/example/datamodel"> │
<attrib-type>2</attrib-type> │
<attrib-val-int>1</attrib-val-int> │
</c1> │
</data> │
</rpc-reply>