diff options
Diffstat (limited to 'tests/topotests/bgp_gshut/r2')
-rw-r--r-- | tests/topotests/bgp_gshut/r2/bgp_sum_1.json | 15 | ||||
-rw-r--r-- | tests/topotests/bgp_gshut/r2/bgp_sum_2.json | 15 | ||||
-rw-r--r-- | tests/topotests/bgp_gshut/r2/bgpd.conf | 20 | ||||
-rw-r--r-- | tests/topotests/bgp_gshut/r2/zebra.conf | 13 |
4 files changed, 63 insertions, 0 deletions
diff --git a/tests/topotests/bgp_gshut/r2/bgp_sum_1.json b/tests/topotests/bgp_gshut/r2/bgp_sum_1.json new file mode 100644 index 00000000..9d8948a1 --- /dev/null +++ b/tests/topotests/bgp_gshut/r2/bgp_sum_1.json @@ -0,0 +1,15 @@ +{ +"ipv4Unicast":{ + "peers":{ + "192.168.254.2":{ + "remoteAs":65003, + "state":"Established" + }, + "192.168.255.2":{ + "remoteAs":65001, + "state":"Established" + } + }, + "totalPeers":2 +} +} diff --git a/tests/topotests/bgp_gshut/r2/bgp_sum_2.json b/tests/topotests/bgp_gshut/r2/bgp_sum_2.json new file mode 100644 index 00000000..7183db63 --- /dev/null +++ b/tests/topotests/bgp_gshut/r2/bgp_sum_2.json @@ -0,0 +1,15 @@ +{ +"ipv4Unicast":{ + "peers":{ + "192.168.252.2":{ + "remoteAs":65005, + "state":"Established" + }, + "192.168.253.2":{ + "remoteAs":65004, + "state":"Established" + } + }, + "totalPeers":2 +} +} diff --git a/tests/topotests/bgp_gshut/r2/bgpd.conf b/tests/topotests/bgp_gshut/r2/bgpd.conf new file mode 100644 index 00000000..b0ca4e6e --- /dev/null +++ b/tests/topotests/bgp_gshut/r2/bgpd.conf @@ -0,0 +1,20 @@ +! +router bgp 65001 + no bgp ebgp-requires-policy + timers bgp 3 9 + neighbor 192.168.255.2 remote-as 65001 + neighbor 192.168.254.2 remote-as 65003 + neighbor 192.168.255.2 timers connect 10 + neighbor 192.168.254.2 timers connect 10 + address-family ipv4 unicast + redistribute connected + exit-address-family +! +router bgp 65001 vrf vrf1 + no bgp ebgp-requires-policy + timers bgp 3 9 + neighbor 192.168.253.2 remote-as 65004 + neighbor 192.168.253.2 timers connect 10 + neighbor 192.168.252.2 remote-as 65005 + neighbor 192.168.252.2 timers connect 10 +! diff --git a/tests/topotests/bgp_gshut/r2/zebra.conf b/tests/topotests/bgp_gshut/r2/zebra.conf new file mode 100644 index 00000000..0da0501d --- /dev/null +++ b/tests/topotests/bgp_gshut/r2/zebra.conf @@ -0,0 +1,13 @@ +! spine +interface r2-eth0 + ip address 192.168.255.1/30 +! +interface r2-eth1 + ip address 192.168.254.1/30 +! +interface r2-eth2 vrf vrf1 + ip address 192.168.253.1/30 +! +interface r2-eth3 vrf vrf1 + ip address 192.168.252.1/30 +! |