]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests: Add pytest.mark.bgpd for tests missing this mark
authorDonald Sharp <sharpd@nvidia.com>
Wed, 28 Jul 2021 13:37:28 +0000 (09:37 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 28 Jul 2021 13:45:38 +0000 (09:45 -0400)
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
52 files changed:
tests/topotests/bgp-evpn-overlay-index-gateway/test_bgp_evpn_overlay_index_gateway.py
tests/topotests/bgp_aggregate_address_topo1/test_bgp_aggregate_address_topo1.py
tests/topotests/bgp_community_alias/test_bgp-community-alias.py
tests/topotests/bgp_community_change_update/test_bgp_community_change_update.py
tests/topotests/bgp_conditional_advertisement/test_bgp_conditional_advertisement.py
tests/topotests/bgp_default_afi_safi/test_bgp-default-afi-safi.py
tests/topotests/bgp_default_route/test_bgp_default-originate.py
tests/topotests/bgp_default_route_route_map_match/test_bgp_default-originate_route-map_match.py
tests/topotests/bgp_default_route_route_map_match2/test_bgp_default-originate_route-map_match2.py
tests/topotests/bgp_default_route_route_map_match_set/test_bgp_default-originate_route-map_match_set.py
tests/topotests/bgp_default_route_route_map_set/test_bgp_default-originate_route-map_set.py
tests/topotests/bgp_distance_change/test_bgp_distance_change.py
tests/topotests/bgp_ebgp_common_subnet_nexthop_unchanged/test_bgp-ebgp-common-subnet-nexthop-unchanged.py
tests/topotests/bgp_ebgp_requires_policy/test_bgp_ebgp_requires_policy.py
tests/topotests/bgp_evpn_mh/test_evpn_mh.py
tests/topotests/bgp_evpn_rt5/test_bgp_evpn.py
tests/topotests/bgp_gr_functionality_topo1/test_bgp_gr_functionality_topo1.py
tests/topotests/bgp_gr_functionality_topo2/test_bgp_gr_functionality_topo2.py
tests/topotests/bgp_gshut/test_bgp_gshut.py
tests/topotests/bgp_gshut_topo1/test_ebgp_gshut_topo1.py
tests/topotests/bgp_gshut_topo1/test_ibgp_gshut_topo1.py
tests/topotests/bgp_large_community/test_bgp_large_community_topo_1.py
tests/topotests/bgp_large_community/test_bgp_large_community_topo_2.py
tests/topotests/bgp_link_bw_ip/test_bgp_linkbw_ip.py
tests/topotests/bgp_listen_on_multiple_addresses/test_bgp_listen_on_multiple_addresses.py
tests/topotests/bgp_local_as_private_remove/test_bgp_local_as_private_remove.py
tests/topotests/bgp_maximum_prefix_invalid_update/test_bgp_maximum_prefix_invalid_update.py
tests/topotests/bgp_maximum_prefix_out/test_bgp_maximum_prefix_out.py
tests/topotests/bgp_multi_vrf_topo1/test_bgp_multi_vrf_topo1.py
tests/topotests/bgp_multiview_topo1/test_bgp_multiview_topo1.py
tests/topotests/bgp_path_attributes_topo1/test_bgp_path_attributes.py
tests/topotests/bgp_peer_type_multipath_relax/test_bgp_peer-type_multipath-relax.py
tests/topotests/bgp_prefix_list_topo1/test_prefix_lists.py
tests/topotests/bgp_prefix_sid/test_bgp_prefix_sid.py
tests/topotests/bgp_prefix_sid2/test_bgp_prefix_sid2.py
tests/topotests/bgp_reject_as_sets/test_bgp_reject_as_sets.py
tests/topotests/bgp_route_aggregation/test_bgp_aggregation.py
tests/topotests/bgp_route_map/test_route_map_topo1.py
tests/topotests/bgp_route_map/test_route_map_topo2.py
tests/topotests/bgp_rr_ibgp/test_bgp_rr_ibgp_topo1.py
tests/topotests/bgp_set_local_preference_add_subtract/test_bgp_set_local-preference_add_subtract.py
tests/topotests/bgp_srv6l3vpn_to_bgp_vrf/test_bgp_srv6l3vpn_to_bgp_vrf.py
tests/topotests/bgp_suppress_fib/test_bgp_suppress_fib.py
tests/topotests/bgp_tcp_mss/test_bgp_tcp_mss.py
tests/topotests/bgp_update_delay/test_bgp_update_delay.py
tests/topotests/bgp_vrf_dynamic_route_leak/test_bgp_vrf_dynamic_route_leak_topo1.py
tests/topotests/bgp_vrf_dynamic_route_leak/test_bgp_vrf_dynamic_route_leak_topo2.py
tests/topotests/bgp_vrf_lite_ipv6_rtadv/test_bgp_vrf_lite_ipv6_rtadv.py
tests/topotests/bgp_vrf_netns/test_bgp_vrf_netns_topo.py
tests/topotests/bgp_vrf_route_leak_basic/test_bgp-vrf-route-leak-basic.py
tests/topotests/static_routing_with_ebgp/test_static_routes_topo4_ebgp.py
tests/topotests/zebra_opaque/test_zebra_opaque.py

index fbce2809e0db9ee76cf05ea2e42904d745b9b95f..6728f76004eda8e5bd39c988cab577ec736f5c69 100755 (executable)
@@ -77,6 +77,9 @@ from lib.common_config import (
 # Required to instantiate the topology builder class.
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
+
 #Global variables
 PES = ['PE1', 'PE2']
 HOSTS = ['host1', 'host2']
index 089b1acb1c888e1fe5b175e6589396365db40d97..9f269782594ef7bcead61b4ba971a349c2190033 100644 (file)
@@ -42,6 +42,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class BgpAggregateAddressTopo1(Topo):
     def build(self, *_args, **_opts):
index c41ba810f18e956b1a0391b9e4d00529dfcebb28..6aadff1cfa4a27a012eb340fdb20dd31eba8f049 100644 (file)
@@ -40,6 +40,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index 95e63c617e7d11dce73adc20aeb5e078ef2ed705..9f449d79790388888cb6860dbd232076a7f3414c 100644 (file)
@@ -59,7 +59,7 @@ from mininet.topo import Topo
 from lib.common_config import step
 from time import sleep
 
-pytestmark = [pytest.mark.bgpd, pytest.mark.bgpd]
+pytestmark = [pytest.mark.bgpd]
 
 
 class TemplateTopo(Topo):
index 0e31ab19952d0960519fdfada1e9a99de6e45ffd..44f54c7b515d11f0f718cbac0b49229e1abc3c82 100644 (file)
@@ -139,6 +139,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class BgpConditionalAdvertisementTopo(Topo):
     def build(self, *_args, **_opts):
index 28117b7fe4eea51f9db6f504a427fbcc104c44dc..6ed7023044ab7c0fd34362fa9aabcca2d25b1bde 100644 (file)
@@ -47,6 +47,8 @@ from lib.topolog import logger
 from mininet.topo import Topo
 from lib.common_config import step
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index 19632162b4922d0df9e167351bbc6efe87edd374..6fbdfbe78a539baaaf875e6cb76a684ff39755bb 100644 (file)
@@ -38,6 +38,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index 089c9a964e6540638c9d5bc656149accce7610c1..e7e3512b17131dd80da22a8f8455210e7af5fecd 100644 (file)
@@ -38,6 +38,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index 42a6b6edf6a4d440dd871793478f835579b107cb..5852ac268b5284ecda286a508f4d889b2d0ef16c 100644 (file)
@@ -41,6 +41,8 @@ from lib.topolog import logger
 from mininet.topo import Topo
 from lib.common_config import step
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index 12d1d01bfb6ea26b7c8516b63b5496ff2d8e9288..e2fa89fccb79f73f828c517ffa80ed4f7d14dad9 100644 (file)
@@ -40,6 +40,9 @@ from lib.topolog import logger
 from mininet.topo import Topo
 
 
+pytestmark = [pytest.mark.bgpd]
+
+
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
         tgen = get_topogen(self)
index 2622c33f5bf9cd4605cd2d37f89a3c73d8c08059..be87dc61cf3ebe40ffcd172e92ae9f4a929456f3 100644 (file)
@@ -38,6 +38,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index f338d52e70f109baadb75b018daf395507e5a499..bf267140870bbf36bd8d950edd588853560f28a6 100644 (file)
@@ -49,6 +49,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index 3b99065fe078e55f506490801b5c8e35c3ff38c4..6db2697e754afeadf70699bb139b57c6690334b6 100644 (file)
@@ -51,6 +51,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index fa155dd5fe43201c837ddb95975511f0c9e42f53..2731d37fb04148f755dcebbc8e7d0d34e9cb7b9c 100644 (file)
@@ -57,6 +57,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index f389632b1e86b7596c5db92398d76560b9ba54ff..c66b353c98311a34689a8a7ba3e8111cb1e36102 100644 (file)
@@ -50,6 +50,9 @@ from lib.topolog import logger
 # Required to instantiate the topology builder class.
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd, pytest.mark.pimd]
+
+
 #####################################################
 ##
 ##   Network Topology Definition
index 36605d44f07ef7ca57d303a7733abe2e2966a7cc..59024f7b71c15265896ec0e7b0cd03e2c271000a 100644 (file)
@@ -46,6 +46,7 @@ from lib.topolog import logger
 # Required to instantiate the topology builder class.
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
 
 class BGPEVPNTopo(Topo):
     "Test topology builder"
index ee57b9c4796e633fe1e05a9624fde17c2646c6df..330ae5e437607b915ed98b881f6504b4ab28af8c 100644 (file)
@@ -139,6 +139,9 @@ from lib.common_config import (
     required_linux_kernel_version,
 )
 
+pytestmark = [pytest.mark.bgpd]
+
+
 # Reading the data from JSON File for topology and configuration creation
 jsonFile = "{}/bgp_gr_topojson_topo1.json".format(CWD)
 try:
index b6f8bf4cd9246404d5cb8b3bebb6006315fa65ee..e7ce2160423107cfbf19621be477a917e4b37c36 100644 (file)
@@ -138,6 +138,9 @@ from lib.common_config import (
     required_linux_kernel_version,
 )
 
+pytestmark = [pytest.mark.bgpd]
+
+
 # Reading the data from JSON File for topology and configuration creation
 jsonFile = "{}/bgp_gr_topojson_topo2.json".format(CWD)
 try:
index fe945a4565b76f0c8750537146e7b7926381fc87..77f86a0bb801bc072774195b32fbe3b87529e78d 100644 (file)
@@ -75,6 +75,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index 868aec9f3e46aa77ec8a7ff4c8b022c39ad1ac77..fcfeaab6132cd450eab516bda6020683475c388c 100644 (file)
@@ -75,6 +75,9 @@ from lib.bgp import (
 )
 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 and configuration creation
 jsonFile = "{}/ebgp_gshut_topo1.json".format(CWD)
 try:
index 69f491637453cef20b5f532f2da931335893c905..d83e9e25a1e046aacd4a1721af7889c6f7f3dd79 100644 (file)
@@ -75,6 +75,9 @@ from lib.bgp import (
 )
 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 and configuration creation
 jsonFile = "{}/ibgp_gshut_topo1.json".format(CWD)
 try:
index 31fbdcd4b5a02b4c4fd0556e63825d966dd64f59..69eba23e0fe47f925f053680504ca1cc8368c902 100644 (file)
@@ -73,6 +73,9 @@ from lib.topolog import logger
 from lib.bgp import verify_bgp_convergence, create_router_bgp, clear_bgp_and_verify
 from lib.topojson import build_topo_from_json, build_config_from_json
 
+pytestmark = [pytest.mark.bgpd]
+
+
 # Save the Current Working Directory to find configuration files.
 CWD = os_path.dirname(os_path.realpath(__file__))
 sys.path.append(os_path.join(CWD, "../"))
index 84d9c48f354c4506181142e09e423396ed0d0932..b033c7e5cdb902754035e0219e19c1ce93792cdb 100644 (file)
@@ -97,6 +97,9 @@ from lib.topolog import logger
 from lib.bgp import verify_bgp_convergence, create_router_bgp, clear_bgp_and_verify
 from lib.topojson import build_topo_from_json, build_config_from_json
 
+pytestmark = [pytest.mark.bgpd]
+
+
 # Reading the data from JSON File for topology and configuration creation
 jsonFile = "{}/bgp_large_community_topo_2.json".format(CWD)
 
index f09ff206516d07619bd976dd66d3a1c4ad3e42ac..3fcc3bec9a43d87640607c669ee4c25fc343a196 100644 (file)
@@ -46,6 +46,9 @@ from lib.topolog import logger
 # Required to instantiate the topology builder class.
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
+
 """
 This topology is for validating one of the primary use cases for
 weighted ECMP (a.k.a. Unequal cost multipath) using BGP link-bandwidth:
index a3ca1408e2c2ed920734e0a6cdc236bd9588f5f2..8c628b02e937e453fcb444afe4d32cea90115564 100755 (executable)
@@ -55,6 +55,8 @@ from lib.topotest import router_json_cmp, run_and_expect
 from mininet.topo import Topo
 from functools import partial
 
+pytestmark = [pytest.mark.bgpd]
+
 
 LISTEN_ADDRESSES = {
     "r1": ["10.0.0.1"],
index 32e7a4df61a021fdc0419c771330ebc7089c11fd..7c5ed87dd0771a4d72c540c249dcbb5146a5e66f 100644 (file)
@@ -43,6 +43,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index 8494653dfe1fa89f9b0b3884d9cf3a06ca2b9f41..0fde32a68bec14b789f406d5d99aada9452840c3 100644 (file)
@@ -47,6 +47,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index b99664e7008863b61b775c00a067eacb5cc096d7..5c939107886a4770330c72122c116e1b7d65e0cc 100644 (file)
@@ -43,6 +43,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index 7ea5a24fd73f5663ee7b7a54990982859d0a63a6..c9a93bd75f34ea20286c6b307f563f51eeb4ddbf 100644 (file)
@@ -145,6 +145,7 @@ from lib.bgp import (
 )
 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 = "{}/bgp_multi_vrf_topo1.json".format(CWD)
 
index d8815a0d39b7e6bd64b1e96fc89f814a0158c994..01e90fb4b8ce418bd93cdd4c934c52e824b122d0 100644 (file)
@@ -81,6 +81,10 @@ from functools import partial
 sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
 from lib import topotest
 
+
+pytestmark = [pytest.mark.bgpd]
+
+
 fatal_error = ""
 
 
index a9541a55c5c41bc38de71455d6e953a43f8d1530..a591c2f3f4ff4216c1bd17badeb6745917d13e36 100644 (file)
@@ -94,6 +94,9 @@ from lib.bgp import (
 )
 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 = "{}/bgp_path_attributes.json".format(CWD)
 
index 39a0beeb118c483400166bde3647f05544f47e3d..743fcf7b3a00a6d4e996353f07a905e38bf936f7 100755 (executable)
@@ -73,6 +73,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
+
 
 class PeerTypeRelaxTopo(Topo):
     def build(self, *_args, **_opts):
index 22952f645c4a0e12393b84bf852244c7c45a8e08..10dee0f77bea4f4c4ebb7ec79714b74b1775de01 100644 (file)
@@ -73,6 +73,9 @@ from lib.topolog import logger
 from lib.bgp import verify_bgp_convergence, create_router_bgp, clear_bgp_and_verify
 from lib.topojson import build_topo_from_json, build_config_from_json
 
+pytestmark = [pytest.mark.bgpd]
+
+
 # Reading the data from JSON File for topology creation
 jsonFile = "{}/prefix_lists.json".format(CWD)
 
index ceac84709b7e382d1663d40ae8fe57da1c86693a..fffe135b77dc6bb3b16012ebb4340bfd6505510c 100644 (file)
@@ -41,6 +41,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, **_opts):
index 25362530d41c090854602ec5d42e3e4bc1802f0a..703dcd7e2dbdc4c9c4c74398353228cadaa8ba62 100755 (executable)
@@ -41,6 +41,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, **_opts):
index d514dccd4aee5ddb38fa8b0862fc0ad81c8865b3..c644d2104f35eb990399c4fdd00e17993afcb123 100644 (file)
@@ -50,6 +50,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index 0467bf1bfbc1f54ec28cb8a8e5002214445c2c86..ecf1ed521c4aa84ced6ee404bbaaae4cdd7b254c 100644 (file)
@@ -70,6 +70,9 @@ from lib.bgp import (
 )
 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 and configuration creation
 jsonFile = "{}/bgp_aggregation.json".format(CWD)
 try:
index 74172501dbabdda74f1ceded88c435835d5b0476..7de56849c81c443f67512b953845aca1333a88af 100644 (file)
@@ -67,6 +67,9 @@ from lib.bgp import (
 )
 from lib.topojson import build_topo_from_json, build_config_from_json
 
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
+
+
 #################################
 # TOPOLOGY
 #################################
index 958eceba62b75cf392cb94e87d12f37ac9d0e5b8..230a89ace1560ec7e005839ff6021b51d7e5494a 100644 (file)
@@ -149,6 +149,9 @@ from lib.bgp import (
 )
 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 and configuration creation
 jsonFile = "{}/bgp_route_map_topo2.json".format(CWD)
 
index 6a604765ca1baa2c5ea075924967cfe8eb5c057c..664c9dc91a131a8ebe3a98825ef883012b037b5d 100644 (file)
@@ -49,6 +49,9 @@ from lib.topolog import logger
 # Required to instantiate the topology builder class.
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
+
 #####################################################
 ##
 ##   Network Topology Definition
index af646489519a1431dfc519b1302f4edd6453e830..b4af911d91dd09cc289e06dd01156df9669e7302 100644 (file)
@@ -44,6 +44,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index 2d80c66b0bdcdd17481b24c231000f6a010d5ed0..3251484514e945b78133d9df78aba664c8f663d8 100755 (executable)
@@ -39,6 +39,8 @@ from lib.topolog import logger
 from lib.common_config import required_linux_kernel_version
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class Topology(Topo):
     """
index c75055c26f8dbe4fc5d3ee6719ac145497e7fa79..476f6b556b70d7bef53554ed4e64f57f763eca74 100644 (file)
@@ -40,6 +40,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index 7500c3b3ad1c9048c3084257006cc544bf8376ef..cb1d28cc06388a2d915510ec531d2d36fd90d666 100644 (file)
@@ -51,6 +51,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index 71bd58bf7345602c05f9e9773200cb5bcda85cb7..2972a25f38dcacb2b7ac56d2fc18523238cea08b 100644 (file)
@@ -73,6 +73,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):
index 83682fb36d37460117be33cec49bea9b49dac16a..d6f1058a982bbda3f06dd222b45302f4348d70eb 100644 (file)
@@ -81,6 +81,9 @@ from lib.bgp import (
 )
 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 = "{}/bgp_vrf_dynamic_route_leak_topo1.json".format(CWD)
 try:
index 6e7495d929a082dd127bacca22fbf9e7b5948488..f701529b525572c39aae283fe6726f08bd9f1a00 100644 (file)
@@ -78,6 +78,9 @@ from lib.bgp import (
 )
 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 = "{}/bgp_vrf_dynamic_route_leak_topo2.json".format(CWD)
 try:
index a17819f74751e8c4718739226743cbfbf29ffabe..57ba87e887e3de8b78e029c74d8b1447c720c60e 100644 (file)
@@ -47,6 +47,8 @@ from lib.common_config import required_linux_kernel_version
 # Required to instantiate the topology builder class.
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class BGPIPV6RTADVVRFTopo(Topo):
     "Test topology builder"
index 30bb9595b7041a066581c37562380e482e611347..9889e1cdd5a501284c8cb04b9cda91f0524a1302 100644 (file)
@@ -44,6 +44,9 @@ from lib.topolog import logger
 # Required to instantiate the topology builder class.
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
+
 total_ebgp_peers = 1
 CustomizeVrfWithNetns = True
 
index 71f64e9b706aa7324a287639cf7efc5c3483a29b..fcec0c23af2c84ac8fbc34103165eb8a6b452a12 100644 (file)
@@ -41,6 +41,8 @@ from lib.topolog import logger
 
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class BGPVRFTopo(Topo):
     def build(self, *_args, **_opts):
index 812b39797fc843d57bc882163348fc2dee75062c..626de6b422f8a3b96b41f23f958fa9014c18f34c 100644 (file)
@@ -72,6 +72,9 @@ from lib.bgp import (
 )
 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_topo4_ebgp.json".format(CWD)
 try:
index cc52fbd1a7e4ae24f815e8d3b45ec95acf64d6e7..2339b0f5b0bfaf65084f74e9401d7f40b2ce5a2e 100644 (file)
@@ -38,6 +38,8 @@ from lib.topogen import Topogen, TopoRouter, get_topogen
 from lib.topolog import logger
 from mininet.topo import Topo
 
+pytestmark = [pytest.mark.bgpd]
+
 
 class TemplateTopo(Topo):
     def build(self, *_args, **_opts):