]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests: Add pytest.mark.staticd to topotests
authorDonald Sharp <sharpd@nvidia.com>
Sat, 23 Jan 2021 23:49:05 +0000 (18:49 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 4 Feb 2021 23:35:42 +0000 (18:35 -0500)
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/ospf_basic_functionality/test_ospf_chaos.py
tests/topotests/static_routing_with_ebgp/test_static_routes_topo1_ebgp.py
tests/topotests/static_routing_with_ebgp/test_static_routes_topo2_ebgp.py
tests/topotests/static_routing_with_ebgp/test_static_routes_topo3_ebgp.py
tests/topotests/static_routing_with_ebgp/test_static_routes_topo4_ebgp.py
tests/topotests/static_routing_with_ibgp/test_static_routes_topo1_ibgp.py
tests/topotests/static_routing_with_ibgp/test_static_routes_topo2_ibgp.py
tests/topotests/static_routing_with_ibgp/test_static_routes_topo3_ibgp.py
tests/topotests/static_routing_with_ibgp/test_static_routes_topo4_ibgp.py

index b044bd0eeb9a4a59d06c7140542a7a14b16070e0..ca7cb736f92557bbde2d2faa31983e641b96a558 100644 (file)
@@ -63,7 +63,7 @@ from lib.topolog import logger
 from lib.topojson import build_topo_from_json, build_config_from_json
 from ipaddress import IPv4Address
 
-pytestmark = [pytest.mark.ospfd]
+pytestmark = [pytest.mark.ospfd, pytest.mark.staticd]
 
 # Global variables
 topo = None
index a33257de65f85a64e39164ec6b99a34eefefbdbe..712a40c738501c477c9bc30119204cf462ade2f0 100644 (file)
@@ -63,6 +63,8 @@ from lib.topolog import logger
 from lib.bgp import verify_bgp_convergence, create_router_bgp, verify_bgp_rib
 from lib.topojson import build_topo_from_json, build_config_from_json
 
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
+
 # Reading the data from JSON File for topology creation
 jsonFile = "{}/static_routes_topo1_ebgp.json".format(CWD)
 try:
index 93320df3272dde0c4416cff0aefb049a7f22dcea..c009929a48440aa782c7bff93bd91b6acbd14ebc 100644 (file)
@@ -73,6 +73,8 @@ from lib.topolog import logger
 from lib.bgp import verify_bgp_convergence, create_router_bgp, verify_bgp_rib
 from lib.topojson import build_topo_from_json, build_config_from_json
 
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
+
 # Reading the data from JSON File for topology creation
 jsonFile = "{}/static_routes_topo2_ebgp.json".format(CWD)
 try:
index 255bb073b462b256d4b7e3674cc868b76d13feb6..175a1123d78eea9860cd1aeadfac4a832bbf1b50 100644 (file)
@@ -68,6 +68,8 @@ from lib.topolog import logger
 from lib.bgp import verify_bgp_convergence, create_router_bgp, verify_bgp_rib
 from lib.topojson import build_topo_from_json, build_config_from_json
 
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
+
 # Reading the data from JSON File for topology creation
 jsonFile = "{}/static_routes_topo3_ebgp.json".format(CWD)
 try:
index 75657a8895df4d167b07eae0d7633b861d879432..3d41d89443d58e5fb930fee93dddeb15b6102800 100644 (file)
@@ -86,6 +86,7 @@ ADDR_TYPES = check_address_types()
 NETWORK = {"ipv4": "2.2.2.2/32", "ipv6": "22:22::2/128"}
 NEXT_HOP_IP = {}
 
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
 
 class CreateTopo(Topo):
     """
index 130f4fd9aa92a3785e8088667ef25a17874621a1..ca67ff66456d08125d55c0285e50a9defe7e06cc 100644 (file)
@@ -66,6 +66,8 @@ from lib.topolog import logger
 from lib.bgp import verify_bgp_convergence, create_router_bgp, verify_bgp_rib
 from lib.topojson import build_topo_from_json, build_config_from_json
 
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
+
 # Reading the data from JSON File for topology creation
 jsonFile = "{}/static_routes_topo1_ibgp.json".format(CWD)
 try:
index 0a757c9f289272a01a2125f5b3da5098c1c8a6e1..2dc0a60d510abfb1f9bba3f9f3298f6619d7d1d2 100644 (file)
@@ -75,6 +75,8 @@ from lib.bgp import verify_bgp_convergence, create_router_bgp, verify_bgp_rib
 from lib.topojson import build_topo_from_json, build_config_from_json
 from lib.topotest import version_cmp
 
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
+
 # Reading the data from JSON File for topology creation
 jsonFile = "{}/static_routes_topo2_ibgp.json".format(CWD)
 try:
index 924fb3a59873fc3853dec38e93c4ed6b89a61237..3eb431d64f0e21e1add08fe35a723711d6efcd20 100644 (file)
@@ -69,6 +69,8 @@ from lib.topolog import logger
 from lib.bgp import verify_bgp_convergence, create_router_bgp, verify_bgp_rib
 from lib.topojson import build_topo_from_json, build_config_from_json
 
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
+
 # Reading the data from JSON File for topology creation
 jsonFile = "{}/static_routes_topo3_ibgp.json".format(CWD)
 try:
index fdbfad25b3fe51104277160fac9524b07919e441..01fdff69e60ff0e20e9a1ab3e319aa0edb9fefd5 100644 (file)
@@ -83,6 +83,7 @@ ADDR_TYPES = check_address_types()
 NETWORK = {"ipv4": "2.2.2.2/32", "ipv6": "22:22::2/128"}
 NEXT_HOP_IP = {}
 
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
 
 class CreateTopo(Topo):
     """