Hi,
From confd-cli I am doing the following:
evyatar_Host1(config)# routing control-plane-protocols control-plane-protocol bgp master bgp global as 345
evyatar_Host1(config-control-plane-protocol-bgp/master)# commit
Commit complete.
evyatar_Host1(config-control-plane-protocol-bgp/master)#
The traces I got are as below:
TRACE CALL data create(thandle=27,/routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/enabled, false) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/as, 345) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/default-route-flap-damping/half-life-reachable, 15) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/default-route-flap-damping/half-life-unreachable, 15) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/default-route-flap-damping/max-suppress, 60) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/default-route-flap-damping/reuse, 750) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/default-route-flap-damping/suppress, 3000) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/ebgp-fast-failover, false) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/local-preference, 100) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/bgp-routes-limit/bgp-max-routes, 10000) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/bgp-routes-limit/bgp-routes-tca-pct, 75) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/apply-policy/default-export-policy, REJECT-ROUTE) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/default-route-distance/external-route-distance, 170) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/default-route-distance/internal-route-distance, 200) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/graceful-restart/enabled, false) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/graceful-restart/restart-time, 200) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/graceful-restart/stale-routes-time, 240) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/graceful-restart/helper-only, false) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/graceful-restart/helper-stale-routes-time, 240) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/graceful-restart/max-restart-time, 4095) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/route-selection-options/always-compare-med, false) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/route-selection-options/missing-med-worst, false) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/route-selection-options/ignore-as-path-length, false) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/route-selection-options/ignore-next-hop-igp-metric, false) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/route-selection-options/advertise-inactive-routes, false) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/route-selection-options/prefer-existing-route, false) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/route-selection-options/deterministic-med, true) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/enable-events-notifications/enable-session-events-notification, false) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/enable-events-notifications/enable-prefix-tca-notitification, false) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/enable-events-notifications/enable-bgp-rib-tca, false) --> CONFD_ACCUMULATE
TRACE CALL data set_elem(thandle=27, /routing/control-plane-protocols/control-plane-protocol{eci-bgp:bgp master}/bgp/global/route-reflector/enabled, false) --> CONFD_ACCUMULATE
As you can see Confd sending many SET operation although I set only 1 container and 1 attribute.
I was expected to get 1 create to the container and another set to the attribute.
Regards,
Evyatar Wiesel