diff options
Diffstat (limited to 'tests/topotests/bgp_gshut/r3')
-rw-r--r-- | tests/topotests/bgp_gshut/r3/bgp_route_1.json | 9 | ||||
-rw-r--r-- | tests/topotests/bgp_gshut/r3/bgp_route_2.json | 16 | ||||
-rw-r--r-- | tests/topotests/bgp_gshut/r3/bgpd.conf | 11 | ||||
-rw-r--r-- | tests/topotests/bgp_gshut/r3/zebra.conf | 9 |
4 files changed, 45 insertions, 0 deletions
diff --git a/tests/topotests/bgp_gshut/r3/bgp_route_1.json b/tests/topotests/bgp_gshut/r3/bgp_route_1.json new file mode 100644 index 0000000..94de01a --- /dev/null +++ b/tests/topotests/bgp_gshut/r3/bgp_route_1.json @@ -0,0 +1,9 @@ +{ + "prefix":"11.1.1.1\/32", + "paths":[ + { + "origin":"IGP", + "valid":true + } + ] +} diff --git a/tests/topotests/bgp_gshut/r3/bgp_route_2.json b/tests/topotests/bgp_gshut/r3/bgp_route_2.json new file mode 100644 index 0000000..f918265 --- /dev/null +++ b/tests/topotests/bgp_gshut/r3/bgp_route_2.json @@ -0,0 +1,16 @@ +{ + "prefix":"11.1.1.1\/32", + "paths":[ + { + "origin":"IGP", + "locPrf":0, + "valid":true, + "community":{ + "string":"graceful-shutdown", + "list":[ + "gracefulShutdown" + ] + } + } + ] +} diff --git a/tests/topotests/bgp_gshut/r3/bgpd.conf b/tests/topotests/bgp_gshut/r3/bgpd.conf new file mode 100644 index 0000000..5d7c0cd --- /dev/null +++ b/tests/topotests/bgp_gshut/r3/bgpd.conf @@ -0,0 +1,11 @@ +! +router bgp 65003 + no bgp ebgp-requires-policy + no bgp network import-check + timers bgp 3 9 + neighbor 192.168.254.1 remote-as 65001 + neighbor 192.168.254.1 timers connect 10 + address-family ipv4 unicast + network 13.1.1.1/32 + exit-address-family +! diff --git a/tests/topotests/bgp_gshut/r3/zebra.conf b/tests/topotests/bgp_gshut/r3/zebra.conf new file mode 100644 index 0000000..f490d97 --- /dev/null +++ b/tests/topotests/bgp_gshut/r3/zebra.conf @@ -0,0 +1,9 @@ +! exit2 +interface lo + ip address 172.16.254.254/32 +! +interface r3-eth0 + ip address 192.168.254.2/30 +! +ip forwarding +! |