On the fly bgp peer add/remove: through UpdateConfig devices/bgp #338
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check documentation: here
use-case
mentioned here
proposal
peer_enabled
flag.Example:
Comments:
property_names
field of update_config/devices/bgp.property_names
does not have a path associated. Hence consumer ofupdate_config
api (controller for ixia-c/keng solution), need to find out each of the mentioned attribute(s) in the provided config-node (e.g. devices/bgp) or in any nested child of same - it would result in a performance hit.(note: in similar scenario, looks like, gnmi updates the attributes with key-value pair of
<absolute-path-to-attribute>:<new value>
(reference here) but I believe it is not good for UX and hence similar methodology is avoided in OTG model altogether)Bgp.V4Peer
andBgp.V6Peer
under devices/bgp have same attribute-names) - hence as there is no associated path with the attribute, it might result in some undesired updates.update_config
api calls.go get github.com/open-traffic-generator/snappi/gosnappi@dev-fly-updatecfg