Skip to content

[202503] BGP confederation support for Disaggregated T2#2189

Open
bingwang-ms wants to merge 1 commit into
Azure:202503from
bingwang-ms:bingwang/cherry-pick-26761-bgp-confederation-202503
Open

[202503] BGP confederation support for Disaggregated T2#2189
bingwang-ms wants to merge 1 commit into
Azure:202503from
bingwang-ms:bingwang/cherry-pick-26761-bgp-confederation-202503

Conversation

@bingwang-ms
Copy link
Copy Markdown
Contributor

Summary

Cherry-pick of sonic-net/sonic-buildimage#26761 onto the 202503 branch.

Original PR: sonic-net/sonic-buildimage#26761


Merge Conflict

File: src/sonic-bgpcfgd/tests/test_sonic-cfggen.py

  • 202503 (base): file ended at test_bgpd_main_conf_defaults_router_id() — no radian or confederation test cases.
  • PR #26761: adds new test functions: test_prefix_list_add_radian, test_prefix_list_del_radian, test_bgp_confed_ut2_multi_asic, test_bgp_confed_ut2_single_asic, test_bgp_confed_lt2_single_asic, test_bgp_confed_ft2_single_asic.

Resolution: Accepted all incoming additions from the PR — the 202503 base simply lacked these new tests, so all new test functions were appended.

Port of sonic-net/sonic-buildimage#26427 to 202511 branch.

Add BGP confederation configuration support for disaggregated T2 devices
(LowerSpineRouter, UpperSpineRouter, FabricSpineRouter).

Changes:
- YANG model: Add CONFED container to sonic-bgp-device-global with asn and
  members fields
- FRR templates: Add confederation identifier and peers config to
  bgpd.main.conf.j2, instance.conf.j2, and peer-group.conf.j2
- Constants: Add hide_internal_community for disaggregated T2 topologies
- Documentation: Update Configuration.md with CONFED schema
- Unit tests: Add bgpcfgd, config-engine, and YANG model test cases

Signed-off-by: arlakshm <arlakshm@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants