summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bfd_profiles_topo1/r1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bfd_profiles_topo1/r1')
-rw-r--r--tests/topotests/bfd_profiles_topo1/r1/bfd-peers-initial.json38
-rw-r--r--tests/topotests/bfd_profiles_topo1/r1/bfdd.conf15
-rw-r--r--tests/topotests/bfd_profiles_topo1/r1/ospfd.conf11
-rw-r--r--tests/topotests/bfd_profiles_topo1/r1/zebra.conf9
4 files changed, 73 insertions, 0 deletions
diff --git a/tests/topotests/bfd_profiles_topo1/r1/bfd-peers-initial.json b/tests/topotests/bfd_profiles_topo1/r1/bfd-peers-initial.json
new file mode 100644
index 0000000..86a7e51
--- /dev/null
+++ b/tests/topotests/bfd_profiles_topo1/r1/bfd-peers-initial.json
@@ -0,0 +1,38 @@
+[
+ {
+ "detect-multiplier": 3,
+ "diagnostic": "ok",
+ "id": "*",
+ "interface": "r1-eth1",
+ "multihop": false,
+ "peer": "172.16.100.2",
+ "receive-interval": 800,
+ "remote-detect-multiplier": 3,
+ "remote-diagnostic": "ok",
+ "remote-id": "*",
+ "remote-receive-interval": 300,
+ "remote-transmit-interval": 300,
+ "status": "up",
+ "transmit-interval": 800,
+ "uptime": "*",
+ "vrf": "default"
+ },
+ {
+ "detect-multiplier": 3,
+ "diagnostic": "ok",
+ "id": "*",
+ "interface": "r1-eth0",
+ "multihop": false,
+ "peer": "172.16.0.1",
+ "receive-interval": 800,
+ "remote-detect-multiplier": 3,
+ "remote-diagnostic": "ok",
+ "remote-id": "*",
+ "remote-receive-interval": 800,
+ "remote-transmit-interval": 800,
+ "status": "up",
+ "transmit-interval": 800,
+ "uptime": "*",
+ "vrf": "default"
+ }
+]
diff --git a/tests/topotests/bfd_profiles_topo1/r1/bfdd.conf b/tests/topotests/bfd_profiles_topo1/r1/bfdd.conf
new file mode 100644
index 0000000..c2ac9c1
--- /dev/null
+++ b/tests/topotests/bfd_profiles_topo1/r1/bfdd.conf
@@ -0,0 +1,15 @@
+! debug bfd peer
+! debug bfd network
+! debug bfd zebra
+!
+bfd
+ profile slowtx
+ receive-interval 800
+ transmit-interval 800
+ echo receive-interval 400
+ !
+ peer 172.16.0.1 interface r1-eth0
+ profile slowtx
+ no shutdown
+ !
+!
diff --git a/tests/topotests/bfd_profiles_topo1/r1/ospfd.conf b/tests/topotests/bfd_profiles_topo1/r1/ospfd.conf
new file mode 100644
index 0000000..373a0c5
--- /dev/null
+++ b/tests/topotests/bfd_profiles_topo1/r1/ospfd.conf
@@ -0,0 +1,11 @@
+interface r1-eth1
+ ip ospf area 0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 10
+ ip ospf bfd
+ ip ospf bfd profile slowtx
+!
+router ospf
+ ospf router-id 10.254.254.1
+ redistribute connected
+!
diff --git a/tests/topotests/bfd_profiles_topo1/r1/zebra.conf b/tests/topotests/bfd_profiles_topo1/r1/zebra.conf
new file mode 100644
index 0000000..4b7982b
--- /dev/null
+++ b/tests/topotests/bfd_profiles_topo1/r1/zebra.conf
@@ -0,0 +1,9 @@
+interface lo
+ ip address 10.254.254.1/32
+!
+interface r1-eth0
+ ip address 172.16.0.2/24
+!
+interface r1-eth1
+ ip address 172.16.100.1/24
+!