]> git.proxmox.com Git - mirror_frr.git/commit - tests/topotests/bgp_vrf_dynamic_route_leak/test_bgp_vrf_dynamic_route_leak_topo1.py
tests: uniq vrf names when using netns
authorChristian Hopps <chopps@labn.net>
Sat, 21 Aug 2021 07:04:42 +0000 (03:04 -0400)
committerChristian Hopps <chopps@labn.net>
Sat, 21 Aug 2021 10:13:52 +0000 (06:13 -0400)
commit6a95bfc8b063709b3980e289654e11f6772f334e
treee978d2022b424e7a998608dda6516ce790d60fd1
parent2570a9f16531ff1307cd6bcda2250ace49b1cf76
tests: uniq vrf names when using netns

- In order to run tests in parallel the netns-based vrfs need to
have unique names primarily bc they are all tracked/looked-up in
`/run/netns` which is not network namespace nesting friendly

- use ip(8) exclusively rather than a mix of `ip` and `ifconfig`
and `vconfig`, reducing required pkg count by a couple.

Signed-off-by: Christian Hopps <chopps@labn.net>
44 files changed:
tests/topotests/bfd_vrf_topo1/r1/bfdd.conf
tests/topotests/bfd_vrf_topo1/r1/bgpd.conf
tests/topotests/bfd_vrf_topo1/r1/zebra.conf
tests/topotests/bfd_vrf_topo1/r2/bfdd.conf
tests/topotests/bfd_vrf_topo1/r2/bgpd.conf
tests/topotests/bfd_vrf_topo1/r2/zebra.conf
tests/topotests/bfd_vrf_topo1/r3/bfdd.conf
tests/topotests/bfd_vrf_topo1/r3/bgpd.conf
tests/topotests/bfd_vrf_topo1/r3/zebra.conf
tests/topotests/bfd_vrf_topo1/r4/bfdd.conf
tests/topotests/bfd_vrf_topo1/r4/bgpd.conf
tests/topotests/bfd_vrf_topo1/r4/zebra.conf
tests/topotests/bfd_vrf_topo1/test_bfd_vrf_topo1.py
tests/topotests/bgp_multi_vrf_topo1/test_bgp_multi_vrf_topo1.py
tests/topotests/bgp_multi_vrf_topo2/test_bgp_multi_vrf_topo2.py
tests/topotests/bgp_recursive_route_ebgp_multi_hop/test_bgp_recursive_route_ebgp_multi_hop.py
tests/topotests/bgp_vrf_dynamic_route_leak/test_bgp_vrf_dynamic_route_leak_topo1.py
tests/topotests/bgp_vrf_netns/r1/bgpd.conf
tests/topotests/bgp_vrf_netns/r1/summary.txt
tests/topotests/bgp_vrf_netns/r1/summary20.txt
tests/topotests/bgp_vrf_netns/r1/zebra.conf
tests/topotests/bgp_vrf_netns/test_bgp_vrf_netns_topo.py
tests/topotests/lib/common_config.py
tests/topotests/multicast_pim_bsm_topo2/test_mcast_pim_bsmp_02.py
tests/topotests/ospf_basic_functionality/test_ospf_single_area.py
tests/topotests/ospf_topo1_vrf/r1/ospfd.conf
tests/topotests/ospf_topo1_vrf/r1/ospfroute.txt
tests/topotests/ospf_topo1_vrf/r1/ospfroute_down.txt
tests/topotests/ospf_topo1_vrf/r1/zebra.conf
tests/topotests/ospf_topo1_vrf/r1/zebraroute.txt
tests/topotests/ospf_topo1_vrf/r1/zebraroutedown.txt
tests/topotests/ospf_topo1_vrf/r2/ospfd.conf
tests/topotests/ospf_topo1_vrf/r2/ospfroute.txt
tests/topotests/ospf_topo1_vrf/r2/ospfroute_down.txt
tests/topotests/ospf_topo1_vrf/r2/zebra.conf
tests/topotests/ospf_topo1_vrf/r2/zebraroute.txt
tests/topotests/ospf_topo1_vrf/r2/zebraroutedown.txt
tests/topotests/ospf_topo1_vrf/r3/ospfd.conf
tests/topotests/ospf_topo1_vrf/r3/ospfroute.txt
tests/topotests/ospf_topo1_vrf/r3/ospfroute_down.txt
tests/topotests/ospf_topo1_vrf/r3/zebra.conf
tests/topotests/ospf_topo1_vrf/r3/zebraroute.txt
tests/topotests/ospf_topo1_vrf/r3/zebraroutedown.txt
tests/topotests/ospf_topo1_vrf/test_ospf_topo1_vrf.py