-
Notifications
You must be signed in to change notification settings - Fork 661
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[masic support] 'show run bgp' support for multi-asic (#2427)
Support 'show run bgp' for multi-asics Add mock tables and UTs for single-asic, multi-asic, bgp not running cases
- Loading branch information
1 parent
4bd35e6
commit 2d773e1
Showing
7 changed files
with
368 additions
and
4 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
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 @@ | ||
Error response from daemon: Container 70e3d3bafd1ab5faf796892acff3e2ccbea3dcd5dcfefcc34f25f7cc916b67bb is not running |
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,12 @@ | ||
neighbor 10.0.0.1 remote-as 65200 | ||
neighbor 10.0.0.1 peer-group TIER2_V4 | ||
neighbor 10.0.0.1 description ARISTA01T2 | ||
neighbor 10.0.0.5 remote-as 65200 | ||
neighbor 10.0.0.5 peer-group TIER2_V4 | ||
neighbor 10.0.0.5 description ARISTA03T2 | ||
neighbor fc00::2 remote-as 65200 | ||
neighbor fc00::2 peer-group TIER2_V6 | ||
neighbor fc00::2 description ARISTA01T2 | ||
neighbor fc00::6 remote-as 65200 | ||
neighbor fc00::6 peer-group TIER2_V6 | ||
neighbor fc00::6 description ARISTA03T2 |
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,12 @@ | ||
neighbor 10.0.0.9 remote-as 65200 | ||
neighbor 10.0.0.9 peer-group TIER2_V4 | ||
neighbor 10.0.0.9 description ARISTA05T2 | ||
neighbor 10.0.0.13 remote-as 65200 | ||
neighbor 10.0.0.13 peer-group TIER2_V4 | ||
neighbor 10.0.0.13 description ARISTA07T2 | ||
neighbor fc00::a remote-as 65200 | ||
neighbor fc00::a peer-group TIER2_V6 | ||
neighbor fc00::a description ARISTA05T2 | ||
neighbor fc00::e remote-as 65200 | ||
neighbor fc00::e peer-group TIER2_V6 | ||
neighbor fc00::e description ARISTA07T2 |
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,64 @@ | ||
router bgp 65100 | ||
bgp router-id 10.1.0.32 | ||
bgp log-neighbor-changes | ||
no bgp ebgp-requires-policy | ||
no bgp default ipv4-unicast | ||
bgp graceful-restart restart-time 240 | ||
bgp graceful-restart select-defer-time 45 | ||
bgp graceful-restart | ||
bgp graceful-restart preserve-fw-state | ||
bgp bestpath as-path multipath-relax | ||
neighbor BGPSLBPassive peer-group | ||
neighbor BGPSLBPassive remote-as 65432 | ||
neighbor BGPSLBPassive passive | ||
neighbor BGPSLBPassive ebgp-multihop 255 | ||
neighbor BGPSLBPassive update-source 10.1.0.32 | ||
neighbor BGPVac peer-group | ||
neighbor BGPVac remote-as 65432 | ||
neighbor BGPVac passive | ||
neighbor BGPVac ebgp-multihop 255 | ||
neighbor BGPVac update-source 10.1.0.32 | ||
neighbor PEER_V4 peer-group | ||
neighbor PEER_V6 peer-group | ||
neighbor 10.0.0.57 remote-as 64600 | ||
neighbor 10.0.0.57 peer-group PEER_V4 | ||
neighbor 10.0.0.57 description ARISTA01T1 | ||
neighbor 10.0.0.57 timers 3 10 | ||
neighbor 10.0.0.57 timers connect 10 | ||
neighbor 10.0.0.59 remote-as 64600 | ||
neighbor 10.0.0.59 peer-group PEER_V4 | ||
neighbor 10.0.0.59 description ARISTA02T1 | ||
neighbor 10.0.0.59 timers 3 10 | ||
neighbor 10.0.0.59 timers connect 10 | ||
neighbor 10.0.0.61 remote-as 64600 | ||
neighbor 10.0.0.61 peer-group PEER_V4 | ||
neighbor 10.0.0.61 description ARISTA03T1 | ||
neighbor 10.0.0.61 timers 3 10 | ||
neighbor 10.0.0.61 timers connect 10 | ||
neighbor 10.0.0.63 remote-as 64600 | ||
neighbor 10.0.0.63 peer-group PEER_V4 | ||
neighbor 10.0.0.63 description ARISTA04T1 | ||
neighbor 10.0.0.63 timers 3 10 | ||
neighbor 10.0.0.63 timers connect 10 | ||
neighbor fc00::72 remote-as 64600 | ||
neighbor fc00::72 peer-group PEER_V6 | ||
neighbor fc00::72 description ARISTA01T1 | ||
neighbor fc00::72 timers 3 10 | ||
neighbor fc00::72 timers connect 10 | ||
neighbor fc00::76 remote-as 64600 | ||
neighbor fc00::76 peer-group PEER_V6 | ||
neighbor fc00::76 description ARISTA02T1 | ||
neighbor fc00::76 timers 3 10 | ||
neighbor fc00::76 timers connect 10 | ||
neighbor fc00::7a remote-as 64600 | ||
neighbor fc00::7a peer-group PEER_V6 | ||
neighbor fc00::7a description ARISTA03T1 | ||
neighbor fc00::7a timers 3 10 | ||
neighbor fc00::7a timers connect 10 | ||
neighbor fc00::7e remote-as 64600 | ||
neighbor fc00::7e peer-group PEER_V6 | ||
neighbor fc00::7e description ARISTA04T1 | ||
neighbor fc00::7e timers 3 10 | ||
neighbor fc00::7e timers connect 10 | ||
bgp listen range 10.255.0.0/25 peer-group BGPSLBPassive | ||
bgp listen range 192.168.0.0/21 peer-group BGPVac |
Oops, something went wrong.