summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bfd_profiles_topo1/r3
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bfd_profiles_topo1/r3')
-rw-r--r--tests/topotests/bfd_profiles_topo1/r3/bfd-peers-initial.json40
-rw-r--r--tests/topotests/bfd_profiles_topo1/r3/bfdd.conf10
-rw-r--r--tests/topotests/bfd_profiles_topo1/r3/bgpd.conf14
-rw-r--r--tests/topotests/bfd_profiles_topo1/r3/isisd.conf17
-rw-r--r--tests/topotests/bfd_profiles_topo1/r3/zebra.conf12
5 files changed, 93 insertions, 0 deletions
diff --git a/tests/topotests/bfd_profiles_topo1/r3/bfd-peers-initial.json b/tests/topotests/bfd_profiles_topo1/r3/bfd-peers-initial.json
new file mode 100644
index 0000000..d987a0a
--- /dev/null
+++ b/tests/topotests/bfd_profiles_topo1/r3/bfd-peers-initial.json
@@ -0,0 +1,40 @@
+[
+ {
+ "detect-multiplier": 3,
+ "diagnostic": "ok",
+ "id": "*",
+ "interface": "r3-eth0",
+ "multihop": false,
+ "peer": "172.16.1.2",
+ "receive-interval": 300,
+ "remote-detect-multiplier": 3,
+ "remote-diagnostic": "ok",
+ "remote-id": "*",
+ "remote-receive-interval": 250,
+ "remote-transmit-interval": 250,
+ "remote-echo-receive-interval": 0,
+ "status": "up",
+ "transmit-interval": 300,
+ "uptime": "*",
+ "vrf": "default"
+ },
+ {
+ "detect-multiplier": 3,
+ "diagnostic": "ok",
+ "id": "*",
+ "interface": "r3-eth1",
+ "local": "*",
+ "multihop": false,
+ "peer": "*",
+ "receive-interval": 250,
+ "remote-detect-multiplier": 3,
+ "remote-diagnostic": "ok",
+ "remote-id": "*",
+ "remote-receive-interval": 300,
+ "remote-transmit-interval": 300,
+ "status": "up",
+ "transmit-interval": 250,
+ "uptime": "*",
+ "vrf": "default"
+ }
+]
diff --git a/tests/topotests/bfd_profiles_topo1/r3/bfdd.conf b/tests/topotests/bfd_profiles_topo1/r3/bfdd.conf
new file mode 100644
index 0000000..f3a86ed
--- /dev/null
+++ b/tests/topotests/bfd_profiles_topo1/r3/bfdd.conf
@@ -0,0 +1,10 @@
+! debug bfd peer
+! debug bfd network
+! debug bfd zebra
+!
+bfd
+ profile fasttx
+ receive-interval 250
+ transmit-interval 250
+ !
+!
diff --git a/tests/topotests/bfd_profiles_topo1/r3/bgpd.conf b/tests/topotests/bfd_profiles_topo1/r3/bgpd.conf
new file mode 100644
index 0000000..65647b3
--- /dev/null
+++ b/tests/topotests/bfd_profiles_topo1/r3/bgpd.conf
@@ -0,0 +1,14 @@
+router bgp 100
+ bgp router-id 10.254.254.3
+ neighbor 172.16.1.2 remote-as 100
+ neighbor 172.16.1.2 timers 3 10
+ neighbor 172.16.1.2 bfd profile DOES_NOT_EXIST
+ address-family ipv4 unicast
+ redistribute connected
+ exit-address-family
+ address-family ipv6 unicast
+ redistribute connected
+ neighbor 172.16.1.2 activate
+ exit-address-family
+ !
+!
diff --git a/tests/topotests/bfd_profiles_topo1/r3/isisd.conf b/tests/topotests/bfd_profiles_topo1/r3/isisd.conf
new file mode 100644
index 0000000..3bba2b0
--- /dev/null
+++ b/tests/topotests/bfd_profiles_topo1/r3/isisd.conf
@@ -0,0 +1,17 @@
+hostname r3
+!
+! debug isis adj-packets
+! debug isis events
+! debug isis update-packets
+!
+interface r3-eth1
+ ipv6 router isis lan
+ isis circuit-type level-1
+ isis bfd
+ isis bfd profile fasttx
+!
+router isis lan
+ lsp-gen-interval 2
+ net 10.0000.0000.0000.0000.0000.0000.0000.0000.0001.00
+ redistribute ipv6 connected level-1
+!
diff --git a/tests/topotests/bfd_profiles_topo1/r3/zebra.conf b/tests/topotests/bfd_profiles_topo1/r3/zebra.conf
new file mode 100644
index 0000000..2297bfa
--- /dev/null
+++ b/tests/topotests/bfd_profiles_topo1/r3/zebra.conf
@@ -0,0 +1,12 @@
+ipv6 forwarding
+!
+interface lo
+ ip address 10.254.254.3/32
+!
+interface r3-eth0
+ ip address 172.16.1.1/24
+ ipv6 address 2001:db8:1::1/64
+!
+interface r3-eth1
+ ipv6 address 2001:db8:2::1/64
+!