diff options
Diffstat (limited to 'tests/topotests/bfd_vrf_topo1/r4')
-rw-r--r-- | tests/topotests/bfd_vrf_topo1/r4/bfdd.conf | 12 | ||||
-rw-r--r-- | tests/topotests/bfd_vrf_topo1/r4/bgp_prefixes.json | 52 | ||||
-rw-r--r-- | tests/topotests/bfd_vrf_topo1/r4/bgp_summary.json | 11 | ||||
-rw-r--r-- | tests/topotests/bfd_vrf_topo1/r4/bgpd.conf | 10 | ||||
-rw-r--r-- | tests/topotests/bfd_vrf_topo1/r4/peers.json | 6 | ||||
-rw-r--r-- | tests/topotests/bfd_vrf_topo1/r4/zebra.conf | 3 |
6 files changed, 94 insertions, 0 deletions
diff --git a/tests/topotests/bfd_vrf_topo1/r4/bfdd.conf b/tests/topotests/bfd_vrf_topo1/r4/bfdd.conf new file mode 100644 index 0000000..119e5e5 --- /dev/null +++ b/tests/topotests/bfd_vrf_topo1/r4/bfdd.conf @@ -0,0 +1,12 @@ +! +! debug bfd network +! debug bfd peer +! debug bfd zebra +! +bfd + peer 192.168.2.2 vrf r4-bfd-cust1 + transmit-interval 2000 + receive-interval 2000 + no shutdown + ! +! diff --git a/tests/topotests/bfd_vrf_topo1/r4/bgp_prefixes.json b/tests/topotests/bfd_vrf_topo1/r4/bgp_prefixes.json new file mode 100644 index 0000000..efe7d47 --- /dev/null +++ b/tests/topotests/bfd_vrf_topo1/r4/bgp_prefixes.json @@ -0,0 +1,52 @@ +{ + "routes": { + "10.254.254.1/32": [ + { + "path": "102 101", + "prefix": "10.254.254.1", + "valid": true, + "peerId": "192.168.2.2", + "prefixLen": 32, + "nexthops": [ + { + "ip": "192.168.2.2", + "used": true, + "afi": "ipv4" + } + ] + } + ], + "10.254.254.2/32": [ + { + "path": "102", + "prefix": "10.254.254.2", + "valid": true, + "peerId": "192.168.2.2", + "prefixLen": 32, + "nexthops": [ + { + "ip": "192.168.2.2", + "used": true, + "afi": "ipv4" + } + ] + } + ], + "10.254.254.3/32": [ + { + "path": "102 103", + "prefix": "10.254.254.3", + "valid": true, + "peerId": "192.168.2.2", + "prefixLen": 32, + "nexthops": [ + { + "ip": "192.168.2.2", + "used": true, + "afi": "ipv4" + } + ] + } + ] + } +} diff --git a/tests/topotests/bfd_vrf_topo1/r4/bgp_summary.json b/tests/topotests/bfd_vrf_topo1/r4/bgp_summary.json new file mode 100644 index 0000000..7d81784 --- /dev/null +++ b/tests/topotests/bfd_vrf_topo1/r4/bgp_summary.json @@ -0,0 +1,11 @@ +{ + "ipv4Unicast": { + "as": 104, + "peers": { + "192.168.2.2": { + "remoteAs": 102, + "state": "Established" + } + } + } +} diff --git a/tests/topotests/bfd_vrf_topo1/r4/bgpd.conf b/tests/topotests/bfd_vrf_topo1/r4/bgpd.conf new file mode 100644 index 0000000..03353e4 --- /dev/null +++ b/tests/topotests/bfd_vrf_topo1/r4/bgpd.conf @@ -0,0 +1,10 @@ +router bgp 104 vrf r4-bfd-cust1 + no bgp ebgp-requires-policy + no bgp network import-check + neighbor 192.168.2.2 remote-as 102 + neighbor 192.168.2.2 timers 3 10 + neighbor 192.168.2.2 bfd + address-family ipv4 unicast + network 10.254.254.4/32 + exit-address-family +! diff --git a/tests/topotests/bfd_vrf_topo1/r4/peers.json b/tests/topotests/bfd_vrf_topo1/r4/peers.json new file mode 100644 index 0000000..3714008 --- /dev/null +++ b/tests/topotests/bfd_vrf_topo1/r4/peers.json @@ -0,0 +1,6 @@ +[ + { + "peer": "192.168.2.2", + "status": "up" + } +] diff --git a/tests/topotests/bfd_vrf_topo1/r4/zebra.conf b/tests/topotests/bfd_vrf_topo1/r4/zebra.conf new file mode 100644 index 0000000..15d3ec1 --- /dev/null +++ b/tests/topotests/bfd_vrf_topo1/r4/zebra.conf @@ -0,0 +1,3 @@ +interface r4-eth0 vrf r4-bfd-cust1 + ip address 192.168.2.1/24 +! |