ConfD User Community

Can confd supports sending notification with changed values to north bound interfaces


I used netconf-console --create-subscription option to subscribe for notifications from confd when there is config change. Though i am able to get the notification but there is no details on what value got changed. Only changed operation is mentioned

 ./netconf-console --create-subscription=NETCONF -u 
abc -p password --port 2022 
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">

<?xml version="1.0" encoding="UTF-8"?>
<notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
  <netconf-config-change xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-


Using confd following changes were made for the above notification

cd46bc971f83(config)# servers server test1 ip port 900 
cd46bc971f83(config-server-test1)# commit 
Commit complete.

Can we get the details of what values changed and is there any other alternative for this


No, I don’t think you can get details of the configuration change using the NETCONF default notifications. You can employ CDB subscriptions or YANG-Push; see also here.

An alternative is that you can issue notifications containing all the information you would like to have the client receive from an application. You would have a CDB subscriber, and when it is invoked because of changes in the configuration, then a notification can be sent.