-
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.
- Loading branch information
Showing
3 changed files
with
12 additions
and
8 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
12 changes: 6 additions & 6 deletions
12
03_routing/06_bgp_convergence/generate_routes.sh
100644 → 100755
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
#!/bin/bash | ||
# https://github.com/rtbrick/BGP-CP-DP-Testing/blob/main/generate_routes.sh | ||
|
||
bgpupdate -a 65001 -f rx1-withdraw.bgp --local-pref 100 -n 172.16.2.2 -N 1 -p 11.0.0.0/24 -P 900000 --withdraw --end-of-rib & | ||
bgpupdate -a 65001 -f rx2.bgp --local-pref 10 -n 172.16.3.2 -N 1 -p 11.0.0.0/24 -P 900000 --end-of-rib & | ||
bgpupdate -a 65001 -f rx2-withdraw.bgp --local-pref 10 -n 172.16.3.2 -N 1 -p 11.0.0.0/24 -P 900000 --withdraw --end-of-rib & | ||
bgpupdate -a 65001 -l 100 -f rx1.bgp --local-pref 100 -n 172.16.2.2 -N 1 -p 11.0.0.0/24 -P 900000 --end-of-rib \ | ||
-s streams.json \ | ||
--stream-direction downstream \ | ||
--stream-pps 1 \ | ||
--stream-interface veth4:10 | ||
|
||
bgpupdate -a 65001 -f rx1-withdraw.bgp --local-pref 100 -n 172.16.2.2 -N 1 -p 11.0.0.0/24 -P 900000 --withdraw --end-of-rib | ||
bgpupdate -a 65001 -f rx2.bgp --local-pref 10 -n 172.16.3.2 -N 1 -p 11.0.0.0/24 -P 900000 --end-of-rib | ||
bgpupdate -a 65001 -f rx2-withdraw.bgp --local-pref 10 -n 172.16.3.2 -N 1 -p 11.0.0.0/24 -P 900000 --withdraw --end-of-rib | ||
--stream-pps 0.1 \ | ||
--stream-interface veth4:10 |
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,4 @@ | ||
curl -i --location --request POST 'http://127.0.1:8001/api/v1/instances/E03_06_BGP_CONVERGENCE/_stop' \ | ||
--header 'Content-Type: application/json' \ | ||
--data-raw '{}' | ||
curl -i --location --request DELETE 'http://127.0.1:8001/api/v1/instances/E03_06_BGP_CONVERGENCE' |