diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-09 13:16:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-09 13:16:35 +0000 |
commit | e2bbf175a2184bd76f6c54ccf8456babeb1a46fc (patch) | |
tree | f0b76550d6e6f500ada964a3a4ee933a45e5a6f1 /tests/topotests/babel_topo1/r1 | |
parent | Initial commit. (diff) | |
download | frr-e2bbf175a2184bd76f6c54ccf8456babeb1a46fc.tar.xz frr-e2bbf175a2184bd76f6c54ccf8456babeb1a46fc.zip |
Adding upstream version 9.1.upstream/9.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/topotests/babel_topo1/r1')
-rw-r--r-- | tests/topotests/babel_topo1/r1/babeld.conf | 20 | ||||
-rw-r--r-- | tests/topotests/babel_topo1/r1/show_ip_route.json_ref | 80 | ||||
-rw-r--r-- | tests/topotests/babel_topo1/r1/zebra.conf | 22 |
3 files changed, 122 insertions, 0 deletions
diff --git a/tests/topotests/babel_topo1/r1/babeld.conf b/tests/topotests/babel_topo1/r1/babeld.conf new file mode 100644 index 0000000..4058362 --- /dev/null +++ b/tests/topotests/babel_topo1/r1/babeld.conf @@ -0,0 +1,20 @@ + +interface r1-eth0 + babel hello-interval 1000 + babel wired + babel update-interval 50 +! +interface r1-eth1 + babel hello-interval 1000 + babel wired + babel update-interval 50 +! +router babel + network r1-eth0 + network r1-eth1 + redistribute ipv4 connected + redistribute ipv6 connected +! +line vty +! + diff --git a/tests/topotests/babel_topo1/r1/show_ip_route.json_ref b/tests/topotests/babel_topo1/r1/show_ip_route.json_ref new file mode 100644 index 0000000..0d52b67 --- /dev/null +++ b/tests/topotests/babel_topo1/r1/show_ip_route.json_ref @@ -0,0 +1,80 @@ +{ + "192.168.1.0/24":[ + { + "prefix":"192.168.1.0/24", + "protocol":"connected", + "selected":true, + "nexthops":[ + { + "fib":true, + "directlyConnected":true, + "interfaceName":"r1-eth0", + "active":true + } + ] + } + ], + "192.168.2.0/24":[ + { + "prefix":"192.168.2.0/24", + "prefixLen":24, + "protocol":"babel", + "selected":true, + "nexthops":[ + { + "fib":true, + "ip":"193.1.1.2", + "afi":"ipv4", + "interfaceName":"r1-eth1" + } + ] + } + ], + "192.168.3.0/24":[ + { + "prefix":"192.168.3.0/24", + "protocol":"babel", + "selected":true, + "nexthops":[ + { + "fib":true, + "ip":"193.1.1.2", + "afi":"ipv4", + "interfaceName":"r1-eth1", + "active":true + } + ] + } + ], + "193.1.1.0/26":[ + { + "prefix":"193.1.1.0/26", + "protocol":"connected", + "selected":true, + "nexthops":[ + { + "fib":true, + "directlyConnected":true, + "interfaceName":"r1-eth1", + "active":true + } + ] + } + ], + "193.1.2.0/24":[ + { + "prefix":"193.1.2.0/24", + "protocol":"babel", + "selected":true, + "nexthops":[ + { + "fib":true, + "ip":"193.1.1.2", + "afi":"ipv4", + "interfaceName":"r1-eth1", + "active":true + } + ] + } + ] +} diff --git a/tests/topotests/babel_topo1/r1/zebra.conf b/tests/topotests/babel_topo1/r1/zebra.conf new file mode 100644 index 0000000..5eda3e2 --- /dev/null +++ b/tests/topotests/babel_topo1/r1/zebra.conf @@ -0,0 +1,22 @@ +log file zebra.log +! debug zebra rib detail +! +hostname r1 +! +interface r1-eth0 + ip address 192.168.1.1/24 + ipv6 address 192:168:1::1/64 +! +interface r1-eth1 + description to sw2 - babel interface + ip address 193.1.1.1/26 + ipv6 address 193:1:1::1/64 + no link-detect +! +ip forwarding +ipv6 forwarding +! +! +line vty +! + |