mjethanandani / ietf-bgp-yang

Repository to collaborate on the IETF BGP YANG module.
1 stars 1 forks source link

send-community scoping issues #361

Open jhaas-pfrc opened 1 year ago

jhaas-pfrc commented 1 year ago

Raised in the context of OC which has similar structuring: https://github.com/openconfig/public/issues/945

Fundamentally, the send-community option is a leaf-list. When configured at a less specific scope (global/group) the current paradigm doesn't provide good guidance as to how to revert back to "send-community none" for a more specific scope using inheritance.

An option suggested in OC is to leverage an empty leaf-list. This would require documenting the behavior in the leaf-list description.