Report-All-Tagged Mode
To use this mode, the client must send the with-defaults tag with the value “report-all-tagged”:
<get-config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<source>
<running/>
</source>
<with-defaults xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults">report-all-tagged</with-defaults>
</get-config>
This mode is similar to “report-all” mode, but the leaves that are considered the default are tagged with the ‘default’ attribute:
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:wd="urn:ietf:params:xml:ns:netconf:default:1.0" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:a2be19b7-e61a-405b-b844-59f99702316d" last-modified="2021-08-13T08:56:01Z">
<data>
<interfaces xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-interface">
<interface>
<name>eth1</name>
<config>
<name>eth1</name>
<enabled wd:default="true">true</enabled>
<switchport-status wd:default="true">false</switchport-status>
</config>
</interface>
</interfaces>
</data>
</rpc-reply>
Last modified date: 06/08/2023