diff options
Diffstat (limited to 'tests/topotests/bfd_topo3/r2')
-rw-r--r-- | tests/topotests/bfd_topo3/r2/bfd-peers.json | 46 | ||||
-rw-r--r-- | tests/topotests/bfd_topo3/r2/bfdd.conf | 15 | ||||
-rw-r--r-- | tests/topotests/bfd_topo3/r2/bgpd.conf | 17 | ||||
-rw-r--r-- | tests/topotests/bfd_topo3/r2/zebra.conf | 14 |
4 files changed, 92 insertions, 0 deletions
diff --git a/tests/topotests/bfd_topo3/r2/bfd-peers.json b/tests/topotests/bfd_topo3/r2/bfd-peers.json new file mode 100644 index 0000000..a40f7e4 --- /dev/null +++ b/tests/topotests/bfd_topo3/r2/bfd-peers.json @@ -0,0 +1,46 @@ +[ + { + "detect-multiplier": 3, + "diagnostic": "ok", + "echo-receive-interval": 50, + "echo-transmit-interval": 0, + "id": "*", + "interface": "r2-eth0", + "local": "2001:db8:1::2", + "multihop": false, + "passive-mode": false, + "peer": "2001:db8:1::1", + "receive-interval": 600, + "remote-detect-multiplier": 3, + "remote-diagnostic": "ok", + "remote-echo-receive-interval": 50, + "remote-id": "*", + "remote-receive-interval": 600, + "remote-transmit-interval": 600, + "status": "up", + "uptime": "*", + "transmit-interval": 600 + }, + { + "detect-multiplier": 3, + "diagnostic": "ok", + "echo-receive-interval": 50, + "echo-transmit-interval": 0, + "id": "*", + "interface": "r2-eth1", + "local": "2001:db8:2::2", + "multihop": false, + "passive-mode": false, + "peer": "2001:db8:2::1", + "receive-interval": 2000, + "remote-detect-multiplier": 3, + "remote-diagnostic": "ok", + "remote-echo-receive-interval": 50, + "remote-id": "*", + "remote-receive-interval": 2000, + "remote-transmit-interval": 2000, + "status": "up", + "uptime": "*", + "transmit-interval": 2000 + } +] diff --git a/tests/topotests/bfd_topo3/r2/bfdd.conf b/tests/topotests/bfd_topo3/r2/bfdd.conf new file mode 100644 index 0000000..8297043 --- /dev/null +++ b/tests/topotests/bfd_topo3/r2/bfdd.conf @@ -0,0 +1,15 @@ +! +! debug bfd network +! debug bfd peer +! debug bfd zebra +! +bfd + profile fast-tx + receive-interval 600 + transmit-interval 600 + ! + profile slow-tx + receive-interval 2000 + transmit-interval 2000 + ! +! diff --git a/tests/topotests/bfd_topo3/r2/bgpd.conf b/tests/topotests/bfd_topo3/r2/bgpd.conf new file mode 100644 index 0000000..7522576 --- /dev/null +++ b/tests/topotests/bfd_topo3/r2/bgpd.conf @@ -0,0 +1,17 @@ +router bgp 100 + no bgp ebgp-requires-policy + neighbor 2001:db8:1::1 remote-as internal + neighbor 2001:db8:1::1 timers 3 10 + neighbor 2001:db8:1::1 bfd profile fast-tx + neighbor 2001:db8:2::1 remote-as external + neighbor 2001:db8:2::1 timers 3 10 + neighbor 2001:db8:2::1 bfd profile slow-tx + address-family ipv4 unicast + redistribute connected + exit-address-family + address-family ipv6 unicast + redistribute connected + neighbor 2001:db8:1::1 activate + neighbor 2001:db8:2::1 activate + exit-address-family +! diff --git a/tests/topotests/bfd_topo3/r2/zebra.conf b/tests/topotests/bfd_topo3/r2/zebra.conf new file mode 100644 index 0000000..c7e22d4 --- /dev/null +++ b/tests/topotests/bfd_topo3/r2/zebra.conf @@ -0,0 +1,14 @@ +ip forwarding +ipv6 forwarding +! +interface lo + ip address 10.254.254.2/32 +! +interface r2-eth0 + ip address 192.168.1.2/24 + ipv6 address 2001:db8:1::2/64 +! +interface r2-eth1 + ip address 192.168.2.2/24 + ipv6 address 2001:db8:2::2/64 +! |