dellemc.enterprise_sonic icon indicating copy to clipboard operation
dellemc.enterprise_sonic copied to clipboard

[FEATURE]: BGP AF Route Aggregation

Open fzakfeld opened this issue 11 months ago • 1 comments

Describe the solution you'd like I need to configure BGP route aggregation.

e.g.

router bgp 64701
...
 address-family ipv6 unicast
  network 2a00:12e8:700:103::/64
  aggregate-address 2a00:12e8:700:103::/64

This can be done with the RESTCONF resource sonic-bgp-global:sonic-bgp-global/BGP_GLOBALS_AF_AGGREGATE_ADDR

Describe alternatives you've considered Use sonic_api module

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

fzakfeld avatar Feb 27 '24 23:02 fzakfeld

We will update our sonic_bgp_af resource module to add support for the "aggregate-address" configuration option.

kerry-meyer avatar Apr 03 '24 06:04 kerry-meyer

Instead of using the "sonic REST" path shown above, we are implementing this feature using the corresponding Openconfig path:

Example:

path: /openconfig-network-instance:network-instances/network-instance[name=Vrf1]/protocols/protocol[identifier=BGP][name=bgp]/bgp/global/afi-safis/afi-safi[afi-safi-name=IPV6_UNICAST]/aggregate-address-config

payload ={"aggregate-address-config": {"aggregate-address": [{"prefix": "2a00:12e8::/60", "config": {"prefix": "2a00:12e8::/60"}}]}}

kerry-meyer avatar Jun 12 '24 22:06 kerry-meyer

This request has been fulfilled by the merging of Add aggregate address configuration support to BGP AF module #398.

kerry-meyer avatar Jul 28 '24 00:07 kerry-meyer