diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:53:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:53:30 +0000 |
commit | 2c7cac91ed6e7db0f6937923d2b57f97dbdbc337 (patch) | |
tree | c05dc0f8e6aa3accc84e3e5cffc933ed94941383 /tests/topotests/bfd_vrf_topo1/r1 | |
parent | Initial commit. (diff) | |
download | frr-upstream.tar.xz frr-upstream.zip |
Adding upstream version 8.4.4.upstream/8.4.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/topotests/bfd_vrf_topo1/r1')
-rw-r--r-- | tests/topotests/bfd_vrf_topo1/r1/bfdd.conf | 15 | ||||
-rw-r--r-- | tests/topotests/bfd_vrf_topo1/r1/bgp_prefixes.json | 52 | ||||
-rw-r--r-- | tests/topotests/bfd_vrf_topo1/r1/bgp_summary.json | 11 | ||||
-rw-r--r-- | tests/topotests/bfd_vrf_topo1/r1/bgpd.conf | 11 | ||||
-rw-r--r-- | tests/topotests/bfd_vrf_topo1/r1/peers.json | 8 | ||||
-rw-r--r-- | tests/topotests/bfd_vrf_topo1/r1/zebra.conf | 3 |
6 files changed, 100 insertions, 0 deletions
diff --git a/tests/topotests/bfd_vrf_topo1/r1/bfdd.conf b/tests/topotests/bfd_vrf_topo1/r1/bfdd.conf new file mode 100644 index 0000000..0476df7 --- /dev/null +++ b/tests/topotests/bfd_vrf_topo1/r1/bfdd.conf @@ -0,0 +1,15 @@ +! +! debug bfd network +! debug bfd peer +! debug bfd zebra +! +bfd + peer 192.168.0.2 vrf r1-bfd-cust1 + receive-interval 1000 + transmit-interval 1000 + echo-mode + echo transmit-interval 1000 + echo receive-interval 1000 + no shutdown + ! +! diff --git a/tests/topotests/bfd_vrf_topo1/r1/bgp_prefixes.json b/tests/topotests/bfd_vrf_topo1/r1/bgp_prefixes.json new file mode 100644 index 0000000..1262f5e --- /dev/null +++ b/tests/topotests/bfd_vrf_topo1/r1/bgp_prefixes.json @@ -0,0 +1,52 @@ +{ + "routes": { + "10.254.254.2/32": [ + { + "path": "102", + "prefix": "10.254.254.2", + "valid": true, + "peerId": "192.168.0.2", + "prefixLen": 32, + "nexthops": [ + { + "ip": "192.168.0.2", + "used": true, + "afi": "ipv4" + } + ] + } + ], + "10.254.254.3/32": [ + { + "path": "102 103", + "prefix": "10.254.254.3", + "valid": true, + "peerId": "192.168.0.2", + "prefixLen": 32, + "nexthops": [ + { + "ip": "192.168.0.2", + "used": true, + "afi": "ipv4" + } + ] + } + ], + "10.254.254.4/32": [ + { + "path": "102 104", + "prefix": "10.254.254.4", + "valid": true, + "peerId": "192.168.0.2", + "prefixLen": 32, + "nexthops": [ + { + "ip": "192.168.0.2", + "used": true, + "afi": "ipv4" + } + ] + } + ] + } +} diff --git a/tests/topotests/bfd_vrf_topo1/r1/bgp_summary.json b/tests/topotests/bfd_vrf_topo1/r1/bgp_summary.json new file mode 100644 index 0000000..fa07d60 --- /dev/null +++ b/tests/topotests/bfd_vrf_topo1/r1/bgp_summary.json @@ -0,0 +1,11 @@ +{ + "ipv4Unicast": { + "as": 101, + "peers": { + "192.168.0.2": { + "remoteAs": 102, + "state": "Established" + } + } + } +} diff --git a/tests/topotests/bfd_vrf_topo1/r1/bgpd.conf b/tests/topotests/bfd_vrf_topo1/r1/bgpd.conf new file mode 100644 index 0000000..cf72f30 --- /dev/null +++ b/tests/topotests/bfd_vrf_topo1/r1/bgpd.conf @@ -0,0 +1,11 @@ +router bgp 101 vrf r1-bfd-cust1 + no bgp ebgp-requires-policy + no bgp network import-check + neighbor 192.168.0.2 remote-as 102 + neighbor 192.168.0.2 timers 3 10 +! neighbor 192.168.0.2 ebgp-multihop 10 + neighbor 192.168.0.2 bfd + address-family ipv4 unicast + network 10.254.254.1/32 + exit-address-family +! diff --git a/tests/topotests/bfd_vrf_topo1/r1/peers.json b/tests/topotests/bfd_vrf_topo1/r1/peers.json new file mode 100644 index 0000000..57cea71 --- /dev/null +++ b/tests/topotests/bfd_vrf_topo1/r1/peers.json @@ -0,0 +1,8 @@ +[ + { + "remote-receive-interval": 1000, + "remote-transmit-interval": 1000, + "peer": "192.168.0.2", + "status": "up" + } +] diff --git a/tests/topotests/bfd_vrf_topo1/r1/zebra.conf b/tests/topotests/bfd_vrf_topo1/r1/zebra.conf new file mode 100644 index 0000000..62ed36f --- /dev/null +++ b/tests/topotests/bfd_vrf_topo1/r1/zebra.conf @@ -0,0 +1,3 @@ +interface r1-eth0 vrf r1-bfd-cust1 + ip address 192.168.0.1/24 +! |