Hello,
confd_load tool has two options to load and xml.
- When used with -m argument, it merges the existing configuration with the incoming one.
- Without -m, it replaces the original configuration, with the new one.
When second option(without -m, that is replace) is used, how does the delete notification to subscribers work?
Will confd sends delete for all original configurations and create for the new configuration
OR
Delete only for the configurations that are not present in new configuration? With some smart diff approach.
For example in current configuration I have
ip_interface_01
ip_interface_02
ip_interface_03
ip_interface_04
And in new configuration
ip_interface_01
ip_interface_02
ip_interface_03
ip_interface_05
and I load the new config with confd_load -l new.xml,
will I get
4 deletes and 4 create?
OR
1 delete and 1 create?
Thanks, Prasanth