forked from FRRouting/frr
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request FRRouting#14890 from louis-6wind/exabgp4
topotests: convert to exabgp 4 and python3
- Loading branch information
Showing
88 changed files
with
849 additions
and
880 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
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
|
||
[exabgp.api] | ||
ack = false | ||
encoder = text | ||
highres = false | ||
respawn = false | ||
|
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,4 +1,4 @@ | ||
#!/usr/bin/env python2 | ||
#!/usr/bin/env python3 | ||
|
||
""" | ||
exa-send.py: Send a few testroutes with ExaBGP | ||
|
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,21 +1,18 @@ | ||
group controller { | ||
|
||
process announce-routes { | ||
run "/etc/exabgp/exa-send.py 1 10"; | ||
} | ||
|
||
process receive-routes { | ||
run "/etc/exabgp/exa-receive.py 1"; | ||
receive-routes; | ||
encoder text; | ||
} | ||
process announce-routes { | ||
run /etc/exabgp/exa-send.py 1 10; | ||
encoder text; | ||
} | ||
|
||
neighbor 10.0.1.1 { | ||
router-id 10.0.1.101; | ||
local-address 10.0.1.101; | ||
local-as 99; | ||
peer-as 100; | ||
graceful-restart; | ||
} | ||
process receive-routes { | ||
run /etc/exabgp/exa-receive.py 1; | ||
encoder text; | ||
} | ||
|
||
neighbor 10.0.1.1 { | ||
router-id 10.0.1.101; | ||
local-address 10.0.1.101; | ||
local-as 99; | ||
peer-as 100; | ||
capability {graceful-restart;} | ||
api {processes [ announce-routes, receive-routes ];} | ||
} |
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,4 +1,4 @@ | ||
#!/usr/bin/env python2 | ||
#!/usr/bin/env python3 | ||
|
||
""" | ||
exa-send.py: Send a few testroutes with ExaBGP | ||
|
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,21 +1,18 @@ | ||
group controller { | ||
|
||
process announce-routes { | ||
run "/etc/exabgp/exa-send.py 10 10"; | ||
} | ||
|
||
process receive-routes { | ||
run "/etc/exabgp/exa-receive.py 10"; | ||
receive-routes; | ||
encoder text; | ||
} | ||
process announce-routes { | ||
run /etc/exabgp/exa-send.py 10 10; | ||
encoder text; | ||
} | ||
|
||
neighbor 10.0.2.1 { | ||
router-id 10.0.2.110; | ||
local-address 10.0.2.110; | ||
local-as 99; | ||
peer-as 100; | ||
graceful-restart; | ||
} | ||
process receive-routes { | ||
run /etc/exabgp/exa-receive.py 10; | ||
encoder text; | ||
} | ||
|
||
neighbor 10.0.2.1 { | ||
router-id 10.0.2.110; | ||
local-address 10.0.2.110; | ||
local-as 99; | ||
peer-as 100; | ||
capability {graceful-restart;} | ||
api {processes [ announce-routes, receive-routes ];} | ||
} |
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,4 +1,4 @@ | ||
#!/usr/bin/env python2 | ||
#!/usr/bin/env python3 | ||
|
||
""" | ||
exa-send.py: Send a few testroutes with ExaBGP | ||
|
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,21 +1,18 @@ | ||
group controller { | ||
|
||
process announce-routes { | ||
run "/etc/exabgp/exa-send.py 11 10"; | ||
} | ||
|
||
process receive-routes { | ||
run "/etc/exabgp/exa-receive.py 11"; | ||
receive-routes; | ||
encoder text; | ||
} | ||
process announce-routes { | ||
run /etc/exabgp/exa-send.py 11 10; | ||
encoder text; | ||
} | ||
|
||
neighbor 10.0.3.1 { | ||
router-id 10.0.3.111; | ||
local-address 10.0.3.111; | ||
local-as 111; | ||
peer-as 100; | ||
graceful-restart; | ||
} | ||
process receive-routes { | ||
run /etc/exabgp/exa-receive.py 11; | ||
encoder text; | ||
} | ||
|
||
neighbor 10.0.3.1 { | ||
router-id 10.0.3.111; | ||
local-address 10.0.3.111; | ||
local-as 111; | ||
peer-as 100; | ||
capability {graceful-restart;} | ||
api {processes [ announce-routes, receive-routes ];} | ||
} |
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,4 +1,4 @@ | ||
#!/usr/bin/env python2 | ||
#!/usr/bin/env python3 | ||
|
||
""" | ||
exa-send.py: Send a few testroutes with ExaBGP | ||
|
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,21 +1,18 @@ | ||
group controller { | ||
|
||
process announce-routes { | ||
run "/etc/exabgp/exa-send.py 12 10"; | ||
} | ||
|
||
process receive-routes { | ||
run "/etc/exabgp/exa-receive.py 12"; | ||
receive-routes; | ||
encoder text; | ||
} | ||
process announce-routes { | ||
run /etc/exabgp/exa-send.py 12 10; | ||
encoder text; | ||
} | ||
|
||
neighbor 10.0.3.1 { | ||
router-id 10.0.3.112; | ||
local-address 10.0.3.112; | ||
local-as 112; | ||
peer-as 100; | ||
graceful-restart; | ||
} | ||
process receive-routes { | ||
run /etc/exabgp/exa-receive.py 12; | ||
encoder text; | ||
} | ||
|
||
neighbor 10.0.3.1 { | ||
router-id 10.0.3.112; | ||
local-address 10.0.3.112; | ||
local-as 112; | ||
peer-as 100; | ||
capability {graceful-restart;} | ||
api {processes [ announce-routes, receive-routes ];} | ||
} |
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,4 +1,4 @@ | ||
#!/usr/bin/env python2 | ||
#!/usr/bin/env python3 | ||
|
||
""" | ||
exa-send.py: Send a few testroutes with ExaBGP | ||
|
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,21 +1,18 @@ | ||
group controller { | ||
|
||
process announce-routes { | ||
run "/etc/exabgp/exa-send.py 13 10"; | ||
} | ||
|
||
process receive-routes { | ||
run "/etc/exabgp/exa-receive.py 13"; | ||
receive-routes; | ||
encoder text; | ||
} | ||
process announce-routes { | ||
run /etc/exabgp/exa-send.py 13 10; | ||
encoder text; | ||
} | ||
|
||
neighbor 10.0.3.1 { | ||
router-id 10.0.3.113; | ||
local-address 10.0.3.113; | ||
local-as 113; | ||
peer-as 100; | ||
graceful-restart; | ||
} | ||
process receive-routes { | ||
run /etc/exabgp/exa-receive.py 13; | ||
encoder text; | ||
} | ||
|
||
neighbor 10.0.3.1 { | ||
router-id 10.0.3.113; | ||
local-address 10.0.3.113; | ||
local-as 113; | ||
peer-as 100; | ||
capability {graceful-restart;} | ||
api {processes [ announce-routes, receive-routes ];} | ||
} |
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,4 +1,4 @@ | ||
#!/usr/bin/env python2 | ||
#!/usr/bin/env python3 | ||
|
||
""" | ||
exa-send.py: Send a few testroutes with ExaBGP | ||
|
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,21 +1,18 @@ | ||
group controller { | ||
|
||
process announce-routes { | ||
run "/etc/exabgp/exa-send.py 14 10"; | ||
} | ||
|
||
process receive-routes { | ||
run "/etc/exabgp/exa-receive.py 14"; | ||
receive-routes; | ||
encoder text; | ||
} | ||
process announce-routes { | ||
run /etc/exabgp/exa-send.py 14 10; | ||
encoder text; | ||
} | ||
|
||
neighbor 10.0.3.1 { | ||
router-id 10.0.3.114; | ||
local-address 10.0.3.114; | ||
local-as 114; | ||
peer-as 100; | ||
graceful-restart; | ||
} | ||
process receive-routes { | ||
run /etc/exabgp/exa-receive.py 14; | ||
encoder text; | ||
} | ||
|
||
neighbor 10.0.3.1 { | ||
router-id 10.0.3.114; | ||
local-address 10.0.3.114; | ||
local-as 114; | ||
peer-as 100; | ||
capability {graceful-restart;} | ||
api {processes [ announce-routes, receive-routes ];} | ||
} |
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,4 +1,4 @@ | ||
#!/usr/bin/env python2 | ||
#!/usr/bin/env python3 | ||
|
||
""" | ||
exa-send.py: Send a few testroutes with ExaBGP | ||
|
Oops, something went wrong.