Skip to content

Commit

Permalink
Adding the missed route-map calls for idf isolation (sonic-net#19752)
Browse files Browse the repository at this point in the history
Fixes sonic-net#19380
To enable idf_isolation route-map towards BGP peer
  • Loading branch information
tjchadaga authored Aug 29, 2024
1 parent 13e3f80 commit 0b5f71f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ route-map FROM_BGP_PEER_V6 permit 11
route-map FROM_BGP_PEER_V4 permit 100
!
route-map TO_BGP_PEER_V4 permit 100
call CHECK_IDF_ISOLATION
!
!
route-map FROM_BGP_PEER_V6 permit 1
Expand All @@ -59,6 +60,9 @@ route-map FROM_BGP_PEER_V6 permit 1
route-map FROM_BGP_PEER_V6 permit 100
!
route-map TO_BGP_PEER_V6 permit 100
call CHECK_IDF_ISOLATION
!
route-map CHECK_IDF_ISOLATION permit 10
!
! end of template: bgpd/templates/general/policies.conf.j2
!
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ route-map FROM_BGP_PEER_V6 permit 11
route-map FROM_BGP_PEER_V4 permit 100
!
route-map TO_BGP_PEER_V4 permit 100
call CHECK_IDF_ISOLATION
!
route-map FROM_BGP_PEER_V6 permit 1
on-match next
Expand All @@ -39,6 +40,9 @@ route-map FROM_BGP_PEER_V6 permit 1
route-map FROM_BGP_PEER_V6 permit 100
!
route-map TO_BGP_PEER_V6 permit 100
call CHECK_IDF_ISOLATION
!
route-map CHECK_IDF_ISOLATION permit 10
!
! end of template: bgpd/templates/general/policies.conf.j2
!
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
route-map FROM_BGP_PEER_V4 permit 100
!
route-map TO_BGP_PEER_V4 permit 100
call CHECK_IDF_ISOLATION
!
route-map FROM_BGP_PEER_V6 permit 1
on-match next
Expand All @@ -12,6 +13,9 @@ route-map FROM_BGP_PEER_V6 permit 1
route-map FROM_BGP_PEER_V6 permit 100
!
route-map TO_BGP_PEER_V6 permit 100
call CHECK_IDF_ISOLATION
!
route-map CHECK_IDF_ISOLATION permit 10
!
! end of template: bgpd/templates/general/policies.conf.j2
!
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ route-map FROM_BGP_PEER_V6 permit 11
route-map FROM_BGP_PEER_V4 permit 100
!
route-map TO_BGP_PEER_V4 permit 100
call CHECK_IDF_ISOLATION
!
route-map FROM_BGP_PEER_V6 permit 1
on-match next
Expand All @@ -39,6 +40,9 @@ route-map FROM_BGP_PEER_V6 permit 1
route-map FROM_BGP_PEER_V6 permit 100
!
route-map TO_BGP_PEER_V6 permit 100
call CHECK_IDF_ISOLATION
!
route-map CHECK_IDF_ISOLATION permit 10
!
! end of template: bgpd/templates/general/policies.conf.j2
!

0 comments on commit 0b5f71f

Please sign in to comment.