forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add W-ECMP to BGP OA (sonic-net#18533)
- Why I did it W-ECMP feature implementation is according to the HLD - How I did it Added W-ECMP YANG model implementation Added W-ECMP BGP OA implementation - How to verify it Run UTs Verified manually with the feature qualification Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
- Loading branch information
1 parent
19853db
commit 57818d2
Showing
11 changed files
with
477 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
! | ||
! template: bgpd/wcmp/bgpd.wcmp.conf.j2 | ||
! | ||
route-map TO_BGP_PEER_V4 permit 100 | ||
{%- if wcmp_enabled == 'true' %} | ||
set extcommunity bandwidth num-multipaths | ||
{%- else %} | ||
no set extcommunity bandwidth | ||
{%- endif %} | ||
exit | ||
! | ||
route-map TO_BGP_PEER_V6 permit 100 | ||
{%- if wcmp_enabled == 'true' %} | ||
set extcommunity bandwidth num-multipaths | ||
{%- else %} | ||
no set extcommunity bandwidth | ||
{%- endif %} | ||
exit | ||
! | ||
! end of template: bgpd/wcmp/bgpd.wcmp.conf.j2 | ||
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
! | ||
! template: bgpd/wcmp/bgpd.wcmp.conf.j2 | ||
! | ||
route-map TO_BGP_PEER_V4 permit 100 | ||
set extcommunity bandwidth num-multipaths | ||
exit | ||
! | ||
route-map TO_BGP_PEER_V6 permit 100 | ||
set extcommunity bandwidth num-multipaths | ||
exit | ||
! | ||
! end of template: bgpd/wcmp/bgpd.wcmp.conf.j2 | ||
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
! | ||
! template: bgpd/wcmp/bgpd.wcmp.conf.j2 | ||
! | ||
route-map TO_BGP_PEER_V4 permit 100 | ||
no set extcommunity bandwidth | ||
exit | ||
! | ||
route-map TO_BGP_PEER_V6 permit 100 | ||
no set extcommunity bandwidth | ||
exit | ||
! | ||
! end of template: bgpd/wcmp/bgpd.wcmp.conf.j2 | ||
! |
Oops, something went wrong.