From 5a50b85e481c7d6555ded3c784d0a0a42ddf5cca Mon Sep 17 00:00:00 2001 From: Yutong Zhang Date: Wed, 4 Dec 2024 11:24:40 +0800 Subject: [PATCH] add physical mark --- tests/cacl/test_ebtables_application.py | 3 ++- tests/drop_packets/test_configurable_drop_counters.py | 3 ++- tests/dualtor/test_orchagent_slb.py | 3 ++- tests/dualtor_io/test_grpc_server_failure.py | 3 ++- tests/dualtor_io/test_normal_op.py | 3 ++- tests/dualtor_io/test_tor_failure.py | 3 ++- tests/dualtor_mgmt/test_egress_drop_nvidia.py | 3 ++- tests/ecmp/test_ecmp_sai_value.py | 3 ++- tests/ecmp/test_fgnhg.py | 3 ++- tests/generic_config_updater/test_pfcwd_interval.py | 1 + tests/ixia/ecn/test_dequeue_ecn.py | 5 ++++- tests/ixia/ecn/test_red_accuracy.py | 5 ++++- tests/ixia/ixanvl/test_bgp_conformance.py | 3 ++- tests/ixia/pfc/test_global_pause.py | 5 ++++- tests/ixia/pfc/test_pfc_congestion.py | 5 ++++- tests/ixia/pfc/test_pfc_pause_lossless.py | 5 ++++- tests/ixia/pfc/test_pfc_pause_lossy.py | 5 ++++- tests/ixia/pfcwd/test_pfcwd_a2a.py | 5 ++++- tests/ixia/pfcwd/test_pfcwd_basic.py | 5 ++++- tests/ixia/pfcwd/test_pfcwd_burst_storm.py | 5 ++++- tests/ixia/pfcwd/test_pfcwd_m2o.py | 5 ++++- tests/ixia/pfcwd/test_pfcwd_runtime_traffic.py | 5 ++++- tests/ixia/test_ixia_traffic.py | 3 ++- tests/ixia/test_tgen.py | 3 ++- tests/k8s/test_config_reload.py | 3 ++- tests/k8s/test_disable_flag.py | 3 ++- tests/k8s/test_join_available_master.py | 3 ++- tests/macsec/test_interop_wan_isis.py | 1 + tests/mclag/test_mclag_l3.py | 3 ++- tests/mvrf/test_mgmtvrf.py | 3 ++- tests/nat/test_dynamic_nat.py | 3 ++- tests/nat/test_static_nat.py | 3 ++- tests/ospf/test_ospf.py | 3 ++- tests/ospf/test_ospf_bfd.py | 3 ++- tests/pfc_asym/test_pfc_asym.py | 3 ++- tests/platform_tests/mellanox/test_check_sfp_eeprom.py | 3 ++- tests/platform_tests/mellanox/test_check_sfp_presence.py | 3 ++- .../mellanox/test_check_sfp_using_ethtool.py | 3 ++- tests/platform_tests/mellanox/test_check_sysfs.py | 3 ++- .../platform_tests/mellanox/test_hw_management_service.py | 3 ++- tests/platform_tests/mellanox/test_psu_power_threshold.py | 3 ++- tests/platform_tests/mellanox/test_reboot_cause.py | 3 ++- tests/platform_tests/test_intf_fec.py | 3 ++- tests/read_mac/test_read_mac_metadata.py | 3 ++- tests/restapi/test_restapi.py | 3 ++- tests/sai_qualify/test_brcm_t0.py | 3 ++- tests/sai_qualify/test_community.py | 3 ++- tests/sai_qualify/test_sai_ptf.py | 3 ++- tests/sai_qualify/test_sai_ptf_warm_reboot.py | 3 ++- tests/sai_qualify/test_sai_t0_warm_reboot.py | 3 ++- tests/sflow/test_sflow.py | 3 ++- tests/snappi_tests/bgp/test_bgp_convergence_performance.py | 5 ++++- tests/snappi_tests/bgp/test_bgp_local_link_failover.py | 5 ++++- tests/snappi_tests/bgp/test_bgp_remote_link_failover.py | 5 ++++- tests/snappi_tests/bgp/test_bgp_rib_in_capacity.py | 5 ++++- tests/snappi_tests/bgp/test_bgp_rib_in_convergence.py | 5 ++++- tests/snappi_tests/bgp/test_bgp_scalability.py | 5 ++++- tests/snappi_tests/ecn/test_dequeue_ecn_with_snappi.py | 5 ++++- tests/snappi_tests/ecn/test_ecn_marking_cisco8000.py | 5 ++++- tests/snappi_tests/ecn/test_red_accuracy_with_snappi.py | 5 ++++- tests/snappi_tests/lacp/test_add_remove_link_from_dut.py | 5 ++++- tests/snappi_tests/lacp/test_add_remove_link_physically.py | 5 ++++- tests/snappi_tests/lacp/test_lacp_timers_effect.py | 5 ++++- .../multidut/bgp/test_bgp_outbound_downlink_port_flap.py | 5 ++++- .../bgp/test_bgp_outbound_downlink_process_crash.py | 5 ++++- tests/snappi_tests/multidut/bgp/test_bgp_outbound_tsa.py | 5 ++++- .../multidut/bgp/test_bgp_outbound_uplink_multi_po_flap.py | 5 ++++- .../bgp/test_bgp_outbound_uplink_po_member_flap.py | 5 ++++- .../multidut/bgp/test_bgp_outbound_uplink_process_crash.py | 5 ++++- .../multidut/ecn/test_multidut_dequeue_ecn_with_snappi.py | 5 ++++- .../multidut/ecn/test_multidut_red_accuracy_with_snappi.py | 5 ++++- .../pfc/test_lossless_response_to_external_pause_storms.py | 5 ++++- .../test_lossless_response_to_throttling_pause_storms.py | 5 ++++- .../multidut/pfc/test_m2o_fluctuating_lossless.py | 5 ++++- .../multidut/pfc/test_m2o_oversubscribe_lossless.py | 5 ++++- .../multidut/pfc/test_m2o_oversubscribe_lossless_lossy.py | 5 ++++- .../multidut/pfc/test_m2o_oversubscribe_lossy.py | 5 ++++- .../multidut/pfc/test_multidut_global_pause_with_snappi.py | 5 ++++- .../pfc/test_multidut_pfc_pause_lossless_with_snappi.py | 5 ++++- .../pfc/test_multidut_pfc_pause_lossy_with_snappi.py | 5 ++++- .../multidut/pfcwd/test_multidut_pfcwd_a2a_with_snappi.py | 5 ++++- .../pfcwd/test_multidut_pfcwd_basic_with_snappi.py | 7 +++++-- .../pfcwd/test_multidut_pfcwd_burst_storm_with_snappi.py | 5 ++++- .../multidut/pfcwd/test_multidut_pfcwd_m2o_with_snappi.py | 5 ++++- .../test_multidut_pfcwd_runtime_traffic_with_snappi.py | 5 ++++- tests/snappi_tests/pfc/test_global_pause_with_snappi.py | 5 ++++- .../pfc/test_pfc_pause_lossless_with_snappi.py | 5 ++++- tests/snappi_tests/pfc/test_pfc_pause_lossy_with_snappi.py | 5 ++++- .../pfc/test_pfc_pause_response_with_snappi.py | 5 ++++- .../pfc/test_pfc_pause_unset_bit_enable_vector.py | 5 ++++- tests/snappi_tests/pfc/test_pfc_pause_zero_mac.py | 5 ++++- tests/snappi_tests/pfc/test_valid_pfc_frame_with_snappi.py | 5 ++++- tests/snappi_tests/pfc/test_valid_src_mac_pfc_frame.py | 5 ++++- tests/snappi_tests/pfcwd/test_pfcwd_a2a_with_snappi.py | 5 ++++- tests/snappi_tests/pfcwd/test_pfcwd_basic_with_snappi.py | 5 ++++- .../pfcwd/test_pfcwd_burst_storm_with_snappi.py | 5 ++++- tests/snappi_tests/pfcwd/test_pfcwd_m2o_with_snappi.py | 5 ++++- .../pfcwd/test_pfcwd_runtime_traffic_with_snappi.py | 5 ++++- .../qos/test_ipip_packet_reorder_with_snappi.py | 5 ++++- tests/snappi_tests/reboot/test_cold_reboot.py | 5 ++++- tests/snappi_tests/reboot/test_fast_reboot.py | 5 ++++- tests/snappi_tests/reboot/test_soft_reboot.py | 5 ++++- tests/snappi_tests/reboot/test_warm_reboot.py | 5 ++++- tests/snappi_tests/test_multidut_snappi.py | 5 ++++- tests/snappi_tests/test_snappi.py | 5 ++++- tests/system_health/test_watchdog.py | 3 ++- tests/test_vs_chassis_setup.py | 3 ++- tests/voq/test_fabric_cli_and_db.py | 3 ++- tests/voq/test_fabric_reach.py | 3 ++- tests/voq/test_voq_chassis_app_db_consistency.py | 3 ++- tests/voq/test_voq_disrupts.py | 3 ++- tests/voq/test_voq_fabric_isolation.py | 3 ++- tests/voq/test_voq_fabric_status_all.py | 3 ++- tests/voq/test_voq_init.py | 3 ++- tests/voq/test_voq_intfs.py | 3 ++- tests/voq/test_voq_ipfwd.py | 3 ++- tests/voq/test_voq_nbr.py | 3 ++- tests/vrf/test_vrf.py | 3 ++- tests/vrf/test_vrf_attr.py | 3 ++- tests/wan/isis/test_isis_authentication.py | 1 + tests/wan/isis/test_isis_csnp_interval.py | 1 + tests/wan/isis/test_isis_database.py | 1 + tests/wan/isis/test_isis_dynamic_hostname.py | 1 + tests/wan/isis/test_isis_ecmp.py | 1 + tests/wan/isis/test_isis_hello_interval.py | 1 + tests/wan/isis/test_isis_hello_pad.py | 1 + tests/wan/isis/test_isis_holdtime.py | 1 + tests/wan/isis/test_isis_intf_passive.py | 1 + tests/wan/isis/test_isis_level_capacity.py | 1 + tests/wan/isis/test_isis_log_adjacency_change.py | 1 + tests/wan/isis/test_isis_lsp_fragment.py | 1 + tests/wan/isis/test_isis_lsp_gen_interval.py | 1 + tests/wan/isis/test_isis_lsp_lifetime.py | 1 + tests/wan/isis/test_isis_lsp_refresh.py | 1 + tests/wan/isis/test_isis_metric_wide.py | 1 + tests/wan/isis/test_isis_neighbor.py | 1 + tests/wan/isis/test_isis_overload_bit.py | 1 + tests/wan/isis/test_isis_redistribute.py | 1 + tests/wan/isis/test_isis_spf_default_interval.py | 1 + tests/wan/isis/test_isis_spf_ietf_interval.py | 1 + tests/wan/lacp/test_wan_lacp.py | 1 + 141 files changed, 389 insertions(+), 118 deletions(-) diff --git a/tests/cacl/test_ebtables_application.py b/tests/cacl/test_ebtables_application.py index 790aab44e19..2b26f766226 100644 --- a/tests/cacl/test_ebtables_application.py +++ b/tests/cacl/test_ebtables_application.py @@ -3,7 +3,8 @@ pytestmark = [ pytest.mark.disable_loganalyzer, # disable automatic loganalyzer globally - pytest.mark.topology('any') + pytest.mark.topology('any'), + pytest.mark.device_type('physical') ] diff --git a/tests/drop_packets/test_configurable_drop_counters.py b/tests/drop_packets/test_configurable_drop_counters.py index afc303f657f..931b4db3ac0 100644 --- a/tests/drop_packets/test_configurable_drop_counters.py +++ b/tests/drop_packets/test_configurable_drop_counters.py @@ -32,7 +32,8 @@ pytestmark = [ - pytest.mark.topology('any') + pytest.mark.topology('any'), + pytest.mark.device_type('physical') ] PACKET_COUNT = 1000 diff --git a/tests/dualtor/test_orchagent_slb.py b/tests/dualtor/test_orchagent_slb.py index 19e88996746..ed3b1c2dad6 100644 --- a/tests/dualtor/test_orchagent_slb.py +++ b/tests/dualtor/test_orchagent_slb.py @@ -24,7 +24,8 @@ pytestmark = [ - pytest.mark.topology("dualtor") + pytest.mark.topology("dualtor"), + pytest.mark.device_type('physical') ] diff --git a/tests/dualtor_io/test_grpc_server_failure.py b/tests/dualtor_io/test_grpc_server_failure.py index 8723f720676..f8143d81f23 100644 --- a/tests/dualtor_io/test_grpc_server_failure.py +++ b/tests/dualtor_io/test_grpc_server_failure.py @@ -17,7 +17,8 @@ pytestmark = [ - pytest.mark.topology("dualtor") + pytest.mark.topology("dualtor"), + pytest.mark.device_type('physical') ] diff --git a/tests/dualtor_io/test_normal_op.py b/tests/dualtor_io/test_normal_op.py index e71df5097e6..19679b5397c 100644 --- a/tests/dualtor_io/test_normal_op.py +++ b/tests/dualtor_io/test_normal_op.py @@ -20,7 +20,8 @@ pytestmark = [ - pytest.mark.topology("dualtor") + pytest.mark.topology("dualtor"), + pytest.mark.device_type('physical') ] diff --git a/tests/dualtor_io/test_tor_failure.py b/tests/dualtor_io/test_tor_failure.py index 98d3f4b18ca..49512a015df 100644 --- a/tests/dualtor_io/test_tor_failure.py +++ b/tests/dualtor_io/test_tor_failure.py @@ -25,7 +25,8 @@ logger = logging.getLogger(__name__) pytestmark = [ - pytest.mark.topology("dualtor") + pytest.mark.topology("dualtor"), + pytest.mark.device_type('physical') ] diff --git a/tests/dualtor_mgmt/test_egress_drop_nvidia.py b/tests/dualtor_mgmt/test_egress_drop_nvidia.py index e91b0c2eb5c..fd6ceac8a33 100644 --- a/tests/dualtor_mgmt/test_egress_drop_nvidia.py +++ b/tests/dualtor_mgmt/test_egress_drop_nvidia.py @@ -17,7 +17,8 @@ from tests.common.plugins.allure_wrapper import allure_step_wrapper as allure pytestmark = [ - pytest.mark.topology('dualtor') + pytest.mark.topology('dualtor'), + pytest.mark.device_type('physical') ] logger = logging.getLogger(__name__) diff --git a/tests/ecmp/test_ecmp_sai_value.py b/tests/ecmp/test_ecmp_sai_value.py index 05c02e51d55..6c34fb57b85 100644 --- a/tests/ecmp/test_ecmp_sai_value.py +++ b/tests/ecmp/test_ecmp_sai_value.py @@ -14,7 +14,8 @@ pytestmark = [ pytest.mark.asic('broadcom'), pytest.mark.topology('t0', 't1'), - pytest.mark.disable_loganalyzer + pytest.mark.disable_loganalyzer, + pytest.mark.device_type('physical') ] seed_cmd = [ diff --git a/tests/ecmp/test_fgnhg.py b/tests/ecmp/test_fgnhg.py index 5395f626851..8fd1a16fc89 100644 --- a/tests/ecmp/test_fgnhg.py +++ b/tests/ecmp/test_fgnhg.py @@ -35,7 +35,8 @@ pytestmark = [ pytest.mark.topology('t0'), pytest.mark.asic('mellanox'), - pytest.mark.disable_loganalyzer + pytest.mark.disable_loganalyzer, + pytest.mark.device_type('physical') ] logger = logging.getLogger(__name__) diff --git a/tests/generic_config_updater/test_pfcwd_interval.py b/tests/generic_config_updater/test_pfcwd_interval.py index 0a7e095aaef..d55280b2561 100644 --- a/tests/generic_config_updater/test_pfcwd_interval.py +++ b/tests/generic_config_updater/test_pfcwd_interval.py @@ -13,6 +13,7 @@ pytestmark = [ pytest.mark.asic('mellanox'), pytest.mark.topology('any'), + pytest.mark.device_type('physical') ] logger = logging.getLogger(__name__) diff --git a/tests/ixia/ecn/test_dequeue_ecn.py b/tests/ixia/ecn/test_dequeue_ecn.py index 2ae40589271..fc30406c694 100644 --- a/tests/ixia/ecn/test_dequeue_ecn.py +++ b/tests/ixia/ecn/test_dequeue_ecn.py @@ -10,7 +10,10 @@ from tests.common.cisco_data import get_markings_dut, setup_markings_dut from tests.ixia.ptf_utils import get_sai_attributes -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_dequeue_ecn(request, ixia_api, ixia_testbed_config, conn_graph_facts, # noqa F811 diff --git a/tests/ixia/ecn/test_red_accuracy.py b/tests/ixia/ecn/test_red_accuracy.py index 68b80b58b05..effaaddf09f 100644 --- a/tests/ixia/ecn/test_red_accuracy.py +++ b/tests/ixia/ecn/test_red_accuracy.py @@ -10,7 +10,10 @@ from files.helper import run_ecn_test, is_ecn_marked from tests.common.cisco_data import get_markings_dut, setup_markings_dut -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_red_accuracy(request, ixia_api, ixia_testbed_config, conn_graph_facts, # noqa F811 diff --git a/tests/ixia/ixanvl/test_bgp_conformance.py b/tests/ixia/ixanvl/test_bgp_conformance.py index 1c8f36a2459..2c7a0cb337f 100644 --- a/tests/ixia/ixanvl/test_bgp_conformance.py +++ b/tests/ixia/ixanvl/test_bgp_conformance.py @@ -7,7 +7,8 @@ pytestmark = [ pytest.mark.topology('tgen'), - pytest.mark.disable_loganalyzer + pytest.mark.disable_loganalyzer, + pytest.mark.device_type('physical') ] diff --git a/tests/ixia/pfc/test_global_pause.py b/tests/ixia/pfc/test_global_pause.py index e5c79954d11..04cf73936b3 100644 --- a/tests/ixia/pfc/test_global_pause.py +++ b/tests/ixia/pfc/test_global_pause.py @@ -9,7 +9,10 @@ from .files.helper import run_pfc_test -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_global_pause(ixia_api, ixia_testbed_config, conn_graph_facts, fanout_graph_facts, # noqa F811 diff --git a/tests/ixia/pfc/test_pfc_congestion.py b/tests/ixia/pfc/test_pfc_congestion.py index f39f211db95..d00c48b9f94 100644 --- a/tests/ixia/pfc/test_pfc_congestion.py +++ b/tests/ixia/pfc/test_pfc_congestion.py @@ -18,7 +18,10 @@ all_prio_list, lossless_prio_list) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_pfc_congestion(ixia_api, # noqa: F811 diff --git a/tests/ixia/pfc/test_pfc_pause_lossless.py b/tests/ixia/pfc/test_pfc_pause_lossless.py index dffdfe6d862..f86593df25b 100644 --- a/tests/ixia/pfc/test_pfc_pause_lossless.py +++ b/tests/ixia/pfc/test_pfc_pause_lossless.py @@ -10,7 +10,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_pfc_pause_single_lossless_prio(ixia_api, diff --git a/tests/ixia/pfc/test_pfc_pause_lossy.py b/tests/ixia/pfc/test_pfc_pause_lossy.py index aa99d94aa7e..c51a0ffd625 100644 --- a/tests/ixia/pfc/test_pfc_pause_lossy.py +++ b/tests/ixia/pfc/test_pfc_pause_lossy.py @@ -14,7 +14,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_pfc_pause_single_lossy_prio(ixia_api, ixia_testbed_config, conn_graph_facts, # noqa F811 diff --git a/tests/ixia/pfcwd/test_pfcwd_a2a.py b/tests/ixia/pfcwd/test_pfcwd_a2a.py index b617794a170..feb16d11d42 100644 --- a/tests/ixia/pfcwd/test_pfcwd_a2a.py +++ b/tests/ixia/pfcwd/test_pfcwd_a2a.py @@ -10,7 +10,10 @@ from .files.pfcwd_multi_node_helper import run_pfcwd_multi_node_test from .files.helper import skip_pfcwd_test -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("trigger_pfcwd", [True, False]) diff --git a/tests/ixia/pfcwd/test_pfcwd_basic.py b/tests/ixia/pfcwd/test_pfcwd_basic.py index d9f33ce7a22..f9276511457 100644 --- a/tests/ixia/pfcwd/test_pfcwd_basic.py +++ b/tests/ixia/pfcwd/test_pfcwd_basic.py @@ -14,7 +14,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] DEPENDENT_SERVICES = ['teamd', 'snmp', 'dhcp_relay', 'radv'] diff --git a/tests/ixia/pfcwd/test_pfcwd_burst_storm.py b/tests/ixia/pfcwd/test_pfcwd_burst_storm.py index b9e970e67a7..dad9172dff4 100644 --- a/tests/ixia/pfcwd/test_pfcwd_burst_storm.py +++ b/tests/ixia/pfcwd/test_pfcwd_burst_storm.py @@ -10,7 +10,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_pfcwd_burst_storm_single_lossless_prio(ixia_api, ixia_testbed_config, conn_graph_facts, # noqa F811 diff --git a/tests/ixia/pfcwd/test_pfcwd_m2o.py b/tests/ixia/pfcwd/test_pfcwd_m2o.py index 69a5a8bdd87..ac41f1b6602 100644 --- a/tests/ixia/pfcwd/test_pfcwd_m2o.py +++ b/tests/ixia/pfcwd/test_pfcwd_m2o.py @@ -10,7 +10,10 @@ from .files.pfcwd_multi_node_helper import run_pfcwd_multi_node_test from .files.helper import skip_pfcwd_test -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("trigger_pfcwd", [True, False]) diff --git a/tests/ixia/pfcwd/test_pfcwd_runtime_traffic.py b/tests/ixia/pfcwd/test_pfcwd_runtime_traffic.py index e426c46aa1a..3cf5ba37d0e 100644 --- a/tests/ixia/pfcwd/test_pfcwd_runtime_traffic.py +++ b/tests/ixia/pfcwd/test_pfcwd_runtime_traffic.py @@ -8,7 +8,10 @@ from .files.pfcwd_runtime_traffic_helper import run_pfcwd_runtime_traffic_test -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_pfcwd_runtime_traffic(ixia_api, ixia_testbed_config, conn_graph_facts, fanout_graph_facts, # noqa F811 diff --git a/tests/ixia/test_ixia_traffic.py b/tests/ixia/test_ixia_traffic.py index bab8ea7a873..b0f0acd144b 100644 --- a/tests/ixia/test_ixia_traffic.py +++ b/tests/ixia/test_ixia_traffic.py @@ -28,7 +28,8 @@ pytestmark = [ pytest.mark.topology('tgen'), - pytest.mark.disable_loganalyzer + pytest.mark.disable_loganalyzer, + pytest.mark.device_type('physical') ] diff --git a/tests/ixia/test_tgen.py b/tests/ixia/test_tgen.py index ac48a2da1e3..c6d87dc2c3a 100644 --- a/tests/ixia/test_tgen.py +++ b/tests/ixia/test_tgen.py @@ -21,7 +21,8 @@ pytestmark = [ pytest.mark.topology('tgen'), - pytest.mark.disable_loganalyzer + pytest.mark.disable_loganalyzer, + pytest.mark.device_type('physical') ] diff --git a/tests/k8s/test_config_reload.py b/tests/k8s/test_config_reload.py index 4952aeb6ec7..69b65ae198a 100644 --- a/tests/k8s/test_config_reload.py +++ b/tests/k8s/test_config_reload.py @@ -6,7 +6,8 @@ from tests.common.config_reload import config_reload pytestmark = [ - pytest.mark.topology('any') + pytest.mark.topology('any'), + pytest.mark.device_type('physical') ] diff --git a/tests/k8s/test_disable_flag.py b/tests/k8s/test_disable_flag.py index 474b9048340..c1667d22c7f 100644 --- a/tests/k8s/test_disable_flag.py +++ b/tests/k8s/test_disable_flag.py @@ -4,7 +4,8 @@ from tests.common.helpers.assertions import pytest_assert pytestmark = [ - pytest.mark.topology('any') + pytest.mark.topology('any'), + pytest.mark.device_type('physical') ] diff --git a/tests/k8s/test_join_available_master.py b/tests/k8s/test_join_available_master.py index dd6d9d0c971..a00fd14392c 100644 --- a/tests/k8s/test_join_available_master.py +++ b/tests/k8s/test_join_available_master.py @@ -7,7 +7,8 @@ WAIT_FOR_SYNC = 60 pytestmark = [ - pytest.mark.topology('any') + pytest.mark.topology('any'), + pytest.mark.device_type('physical') ] diff --git a/tests/macsec/test_interop_wan_isis.py b/tests/macsec/test_interop_wan_isis.py index ab0530aa708..d5b42beec49 100644 --- a/tests/macsec/test_interop_wan_isis.py +++ b/tests/macsec/test_interop_wan_isis.py @@ -13,6 +13,7 @@ pytestmark = [ pytest.mark.macsec_required, pytest.mark.topology("wan-pub-isis"), + pytest.mark.device_type('physical') ] diff --git a/tests/mclag/test_mclag_l3.py b/tests/mclag/test_mclag_l3.py index 101a9595837..d2f0819516e 100644 --- a/tests/mclag/test_mclag_l3.py +++ b/tests/mclag/test_mclag_l3.py @@ -23,7 +23,8 @@ from mclag_helpers import DEFAULT_SESSION_TIMEOUT, NEW_SESSION_TIMEOUT pytestmark = [ - pytest.mark.topology('t0-mclag') + pytest.mark.topology('t0-mclag'), + pytest.mark.device_type('physical') ] diff --git a/tests/mvrf/test_mgmtvrf.py b/tests/mvrf/test_mgmtvrf.py index 772e1755b0a..a99b8dfaa79 100644 --- a/tests/mvrf/test_mgmtvrf.py +++ b/tests/mvrf/test_mgmtvrf.py @@ -12,7 +12,8 @@ from tests.common.devices.ptf import PTFHost pytestmark = [ - pytest.mark.topology("any") + pytest.mark.topology("any"), + pytest.mark.device_type('physical') ] logger = logging.getLogger(__name__) diff --git a/tests/nat/test_dynamic_nat.py b/tests/nat/test_dynamic_nat.py index c11224d96d2..9d8765515a5 100644 --- a/tests/nat/test_dynamic_nat.py +++ b/tests/nat/test_dynamic_nat.py @@ -41,7 +41,8 @@ from tests.common.helpers.assertions import pytest_assert pytestmark = [ - pytest.mark.topology('t0') + pytest.mark.topology('t0'), + pytest.mark.device_type('physical') ] diff --git a/tests/nat/test_static_nat.py b/tests/nat/test_static_nat.py index 4a4f2dc7bcf..31b9c48385e 100644 --- a/tests/nat/test_static_nat.py +++ b/tests/nat/test_static_nat.py @@ -44,7 +44,8 @@ pytestmark = [ - pytest.mark.topology('t0') + pytest.mark.topology('t0'), + pytest.mark.device_type('physical') ] diff --git a/tests/ospf/test_ospf.py b/tests/ospf/test_ospf.py index d40e1578ee9..aa06e61651f 100644 --- a/tests/ospf/test_ospf.py +++ b/tests/ospf/test_ospf.py @@ -6,7 +6,8 @@ logger = logging.getLogger(__name__) pytestmark = [ - pytest.mark.topology('t0') + pytest.mark.topology('t0'), + pytest.mark.device_type('physical') ] diff --git a/tests/ospf/test_ospf_bfd.py b/tests/ospf/test_ospf_bfd.py index 46cb3c42892..509e4e8299e 100644 --- a/tests/ospf/test_ospf_bfd.py +++ b/tests/ospf/test_ospf_bfd.py @@ -5,7 +5,8 @@ logger = logging.getLogger(__name__) pytestmark = [ - pytest.mark.topology('t0', 't1') + pytest.mark.topology('t0', 't1'), + pytest.mark.device_type('physical') ] diff --git a/tests/pfc_asym/test_pfc_asym.py b/tests/pfc_asym/test_pfc_asym.py index dba740d7c30..f84d76e623d 100755 --- a/tests/pfc_asym/test_pfc_asym.py +++ b/tests/pfc_asym/test_pfc_asym.py @@ -3,7 +3,8 @@ import pytest pytestmark = [ - pytest.mark.topology('t0') + pytest.mark.topology('t0'), + pytest.mark.device_type('physical') ] diff --git a/tests/platform_tests/mellanox/test_check_sfp_eeprom.py b/tests/platform_tests/mellanox/test_check_sfp_eeprom.py index b9189598204..475bcdbe94d 100644 --- a/tests/platform_tests/mellanox/test_check_sfp_eeprom.py +++ b/tests/platform_tests/mellanox/test_check_sfp_eeprom.py @@ -7,7 +7,8 @@ pytestmark = [ pytest.mark.asic('mellanox', 'nvidia-bluefield'), - pytest.mark.topology('any') + pytest.mark.topology('any'), + pytest.mark.device_type('physical') ] SHOW_EEPOMR_CMDS = ["show interface transceiver eeprom -d", diff --git a/tests/platform_tests/mellanox/test_check_sfp_presence.py b/tests/platform_tests/mellanox/test_check_sfp_presence.py index 7faef593999..543334534c3 100644 --- a/tests/platform_tests/mellanox/test_check_sfp_presence.py +++ b/tests/platform_tests/mellanox/test_check_sfp_presence.py @@ -9,7 +9,8 @@ pytestmark = [ pytest.mark.asic('mellanox', 'nvidia-bluefield'), - pytest.mark.topology('any') + pytest.mark.topology('any'), + pytest.mark.device_type('physical') ] diff --git a/tests/platform_tests/mellanox/test_check_sfp_using_ethtool.py b/tests/platform_tests/mellanox/test_check_sfp_using_ethtool.py index ccafb4cb79f..84296e5a986 100644 --- a/tests/platform_tests/mellanox/test_check_sfp_using_ethtool.py +++ b/tests/platform_tests/mellanox/test_check_sfp_using_ethtool.py @@ -13,7 +13,8 @@ pytestmark = [ pytest.mark.asic('mellanox'), - pytest.mark.topology('any') + pytest.mark.topology('any'), + pytest.mark.device_type('physical') ] diff --git a/tests/platform_tests/mellanox/test_check_sysfs.py b/tests/platform_tests/mellanox/test_check_sysfs.py index d93eae2da43..3c8099c4e4c 100644 --- a/tests/platform_tests/mellanox/test_check_sysfs.py +++ b/tests/platform_tests/mellanox/test_check_sysfs.py @@ -10,7 +10,8 @@ pytestmark = [ pytest.mark.asic('mellanox'), - pytest.mark.topology('any') + pytest.mark.topology('any'), + pytest.mark.device_type('physical') ] diff --git a/tests/platform_tests/mellanox/test_hw_management_service.py b/tests/platform_tests/mellanox/test_hw_management_service.py index e2f1f00dab4..1900f53be0b 100644 --- a/tests/platform_tests/mellanox/test_hw_management_service.py +++ b/tests/platform_tests/mellanox/test_hw_management_service.py @@ -9,7 +9,8 @@ pytestmark = [ pytest.mark.asic('mellanox'), - pytest.mark.topology('any') + pytest.mark.topology('any'), + pytest.mark.device_type('physical') ] diff --git a/tests/platform_tests/mellanox/test_psu_power_threshold.py b/tests/platform_tests/mellanox/test_psu_power_threshold.py index 3213777da13..70ee5211726 100644 --- a/tests/platform_tests/mellanox/test_psu_power_threshold.py +++ b/tests/platform_tests/mellanox/test_psu_power_threshold.py @@ -11,7 +11,8 @@ pytestmark = [ pytest.mark.asic('mellanox'), - pytest.mark.topology('any') + pytest.mark.topology('any'), + pytest.mark.device_type('physical') ] logger = logging.getLogger(__name__) diff --git a/tests/platform_tests/mellanox/test_reboot_cause.py b/tests/platform_tests/mellanox/test_reboot_cause.py index 04c8701cbb4..3377a8163c9 100644 --- a/tests/platform_tests/mellanox/test_reboot_cause.py +++ b/tests/platform_tests/mellanox/test_reboot_cause.py @@ -6,7 +6,8 @@ pytestmark = [ pytest.mark.asic('mellanox'), - pytest.mark.topology('any') + pytest.mark.topology('any'), + pytest.mark.device_type('physical') ] logger = logging.getLogger(__name__) diff --git a/tests/platform_tests/test_intf_fec.py b/tests/platform_tests/test_intf_fec.py index 7447ff13e56..08980fa3df3 100644 --- a/tests/platform_tests/test_intf_fec.py +++ b/tests/platform_tests/test_intf_fec.py @@ -5,7 +5,8 @@ pytestmark = [ pytest.mark.disable_loganalyzer, # disable automatic loganalyzer - pytest.mark.topology('any') + pytest.mark.topology('any'), + pytest.mark.device_type('physical') ] SUPPORTED_PLATFORMS = [ diff --git a/tests/read_mac/test_read_mac_metadata.py b/tests/read_mac/test_read_mac_metadata.py index 75c0c9cb533..bf1abf614bd 100644 --- a/tests/read_mac/test_read_mac_metadata.py +++ b/tests/read_mac/test_read_mac_metadata.py @@ -14,7 +14,8 @@ BINARY_FILE_ON_DUTHOST = "/tmp/sonic_image_on_duthost.bin" pytestmark = [ - pytest.mark.topology('any') + pytest.mark.topology('any'), + pytest.mark.device_type('physical') ] diff --git a/tests/restapi/test_restapi.py b/tests/restapi/test_restapi.py index 054925899cd..82074945965 100644 --- a/tests/restapi/test_restapi.py +++ b/tests/restapi/test_restapi.py @@ -14,7 +14,8 @@ pytestmark = [ pytest.mark.topology('t0'), - pytest.mark.disable_loganalyzer + pytest.mark.disable_loganalyzer, + pytest.mark.device_type('physical') ] CLIENT_CERT = 'restapiclient.crt' diff --git a/tests/sai_qualify/test_brcm_t0.py b/tests/sai_qualify/test_brcm_t0.py index 688085c7421..d11d9ab57fc 100644 --- a/tests/sai_qualify/test_brcm_t0.py +++ b/tests/sai_qualify/test_brcm_t0.py @@ -14,7 +14,8 @@ pytest.mark.topology("ptf"), pytest.mark.sanity_check(skip_sanity=True), pytest.mark.disable_loganalyzer, - pytest.mark.skip_check_dut_health + pytest.mark.skip_check_dut_health, + pytest.mark.device_type('physical') ] diff --git a/tests/sai_qualify/test_community.py b/tests/sai_qualify/test_community.py index 9923630034d..f407fbc5521 100644 --- a/tests/sai_qualify/test_community.py +++ b/tests/sai_qualify/test_community.py @@ -20,7 +20,8 @@ pytest.mark.topology("ptf"), pytest.mark.sanity_check(skip_sanity=True), pytest.mark.disable_loganalyzer, - pytest.mark.skip_check_dut_health + pytest.mark.skip_check_dut_health, + pytest.mark.device_type('physical') ] diff --git a/tests/sai_qualify/test_sai_ptf.py b/tests/sai_qualify/test_sai_ptf.py index 789098e97d8..4c53a2f1b95 100644 --- a/tests/sai_qualify/test_sai_ptf.py +++ b/tests/sai_qualify/test_sai_ptf.py @@ -14,7 +14,8 @@ pytest.mark.topology("ptf"), pytest.mark.sanity_check(skip_sanity=True), pytest.mark.disable_loganalyzer, - pytest.mark.skip_check_dut_health + pytest.mark.skip_check_dut_health, + pytest.mark.device_type('physical') ] diff --git a/tests/sai_qualify/test_sai_ptf_warm_reboot.py b/tests/sai_qualify/test_sai_ptf_warm_reboot.py index 64b1c2857d5..4613bf11c48 100644 --- a/tests/sai_qualify/test_sai_ptf_warm_reboot.py +++ b/tests/sai_qualify/test_sai_ptf_warm_reboot.py @@ -17,7 +17,8 @@ pytest.mark.topology("ptf"), pytest.mark.sanity_check(skip_sanity=True), pytest.mark.disable_loganalyzer, - pytest.mark.skip_check_dut_health + pytest.mark.skip_check_dut_health, + pytest.mark.device_type('physical') ] diff --git a/tests/sai_qualify/test_sai_t0_warm_reboot.py b/tests/sai_qualify/test_sai_t0_warm_reboot.py index 96a88f8d8d6..ade602f7f05 100644 --- a/tests/sai_qualify/test_sai_t0_warm_reboot.py +++ b/tests/sai_qualify/test_sai_t0_warm_reboot.py @@ -17,7 +17,8 @@ pytest.mark.topology("ptf"), pytest.mark.sanity_check(skip_sanity=True), pytest.mark.disable_loganalyzer, - pytest.mark.skip_check_dut_health + pytest.mark.skip_check_dut_health, + pytest.mark.device_type('physical') ] diff --git a/tests/sflow/test_sflow.py b/tests/sflow/test_sflow.py index 35b441a961a..734beb559e4 100644 --- a/tests/sflow/test_sflow.py +++ b/tests/sflow/test_sflow.py @@ -21,7 +21,8 @@ SFLOW_RATE_DEFAULT = 512 pytestmark = [ - pytest.mark.topology('t0', 'm0', 'mx') + pytest.mark.topology('t0', 'm0', 'mx'), + pytest.mark.device_type('physical') ] logger = logging.getLogger(__name__) diff --git a/tests/snappi_tests/bgp/test_bgp_convergence_performance.py b/tests/snappi_tests/bgp/test_bgp_convergence_performance.py index fa7ecdde38f..88b1db87ac4 100644 --- a/tests/snappi_tests/bgp/test_bgp_convergence_performance.py +++ b/tests/snappi_tests/bgp/test_bgp_convergence_performance.py @@ -5,7 +5,10 @@ conn_graph_facts, fanout_graph_facts) import pytest -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize('multipath', [2]) diff --git a/tests/snappi_tests/bgp/test_bgp_local_link_failover.py b/tests/snappi_tests/bgp/test_bgp_local_link_failover.py index 28eda635f55..09a42495274 100644 --- a/tests/snappi_tests/bgp/test_bgp_local_link_failover.py +++ b/tests/snappi_tests/bgp/test_bgp_local_link_failover.py @@ -5,7 +5,10 @@ conn_graph_facts, fanout_graph_facts) import pytest -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize('multipath', [2]) diff --git a/tests/snappi_tests/bgp/test_bgp_remote_link_failover.py b/tests/snappi_tests/bgp/test_bgp_remote_link_failover.py index d12726dc488..aff1903a924 100755 --- a/tests/snappi_tests/bgp/test_bgp_remote_link_failover.py +++ b/tests/snappi_tests/bgp/test_bgp_remote_link_failover.py @@ -5,7 +5,10 @@ conn_graph_facts, fanout_graph_facts) import pytest -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize('multipath', [2]) diff --git a/tests/snappi_tests/bgp/test_bgp_rib_in_capacity.py b/tests/snappi_tests/bgp/test_bgp_rib_in_capacity.py index 62581578d89..90b9e4ea4b7 100644 --- a/tests/snappi_tests/bgp/test_bgp_rib_in_capacity.py +++ b/tests/snappi_tests/bgp/test_bgp_rib_in_capacity.py @@ -5,7 +5,10 @@ conn_graph_facts, fanout_graph_facts) import pytest -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize('multipath', [2]) diff --git a/tests/snappi_tests/bgp/test_bgp_rib_in_convergence.py b/tests/snappi_tests/bgp/test_bgp_rib_in_convergence.py index f114dfe1b8a..9fe372e3371 100644 --- a/tests/snappi_tests/bgp/test_bgp_rib_in_convergence.py +++ b/tests/snappi_tests/bgp/test_bgp_rib_in_convergence.py @@ -5,7 +5,10 @@ conn_graph_facts, fanout_graph_facts) import pytest -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize('multipath', [2]) diff --git a/tests/snappi_tests/bgp/test_bgp_scalability.py b/tests/snappi_tests/bgp/test_bgp_scalability.py index e95847d5897..b7cf3cb22a4 100644 --- a/tests/snappi_tests/bgp/test_bgp_scalability.py +++ b/tests/snappi_tests/bgp/test_bgp_scalability.py @@ -6,7 +6,10 @@ conn_graph_facts, fanout_graph_facts) import pytest -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize('multipath', [1]) diff --git a/tests/snappi_tests/ecn/test_dequeue_ecn_with_snappi.py b/tests/snappi_tests/ecn/test_dequeue_ecn_with_snappi.py index cd39ab43f3a..c40eafbfe16 100644 --- a/tests/snappi_tests/ecn/test_dequeue_ecn_with_snappi.py +++ b/tests/snappi_tests/ecn/test_dequeue_ecn_with_snappi.py @@ -16,7 +16,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_dequeue_ecn(request, diff --git a/tests/snappi_tests/ecn/test_ecn_marking_cisco8000.py b/tests/snappi_tests/ecn/test_ecn_marking_cisco8000.py index 0eb463b7353..1b20790f099 100644 --- a/tests/snappi_tests/ecn/test_ecn_marking_cisco8000.py +++ b/tests/snappi_tests/ecn/test_ecn_marking_cisco8000.py @@ -12,7 +12,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] # ecn counter is per TC # Two streams are started for the indicated line rate. diff --git a/tests/snappi_tests/ecn/test_red_accuracy_with_snappi.py b/tests/snappi_tests/ecn/test_red_accuracy_with_snappi.py index 1fd8f73d9d5..b6f59be0fde 100644 --- a/tests/snappi_tests/ecn/test_red_accuracy_with_snappi.py +++ b/tests/snappi_tests/ecn/test_red_accuracy_with_snappi.py @@ -18,7 +18,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_red_accuracy(request, diff --git a/tests/snappi_tests/lacp/test_add_remove_link_from_dut.py b/tests/snappi_tests/lacp/test_add_remove_link_from_dut.py index 6c8d9e40e89..2e2f430a639 100755 --- a/tests/snappi_tests/lacp/test_add_remove_link_from_dut.py +++ b/tests/snappi_tests/lacp/test_add_remove_link_from_dut.py @@ -6,7 +6,10 @@ conn_graph_facts, fanout_graph_facts) import pytest -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize('port_count', [4]) diff --git a/tests/snappi_tests/lacp/test_add_remove_link_physically.py b/tests/snappi_tests/lacp/test_add_remove_link_physically.py index 313ec1c8d64..901889de70f 100755 --- a/tests/snappi_tests/lacp/test_add_remove_link_physically.py +++ b/tests/snappi_tests/lacp/test_add_remove_link_physically.py @@ -6,7 +6,10 @@ conn_graph_facts, fanout_graph_facts) import pytest -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize('port_count', [4]) diff --git a/tests/snappi_tests/lacp/test_lacp_timers_effect.py b/tests/snappi_tests/lacp/test_lacp_timers_effect.py index 7ced05d159c..37165545458 100644 --- a/tests/snappi_tests/lacp/test_lacp_timers_effect.py +++ b/tests/snappi_tests/lacp/test_lacp_timers_effect.py @@ -6,7 +6,10 @@ conn_graph_facts, fanout_graph_facts) import pytest -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize('port_count', [4]) diff --git a/tests/snappi_tests/multidut/bgp/test_bgp_outbound_downlink_port_flap.py b/tests/snappi_tests/multidut/bgp/test_bgp_outbound_downlink_port_flap.py index 5ff65ea6daa..7f4f6c04839 100755 --- a/tests/snappi_tests/multidut/bgp/test_bgp_outbound_downlink_port_flap.py +++ b/tests/snappi_tests/multidut/bgp/test_bgp_outbound_downlink_port_flap.py @@ -12,7 +12,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen'), + pytest.mark.device_type('physical') +] FLAP_DETAILS = { 'device_name': t1_t2_device_hostnames[0], diff --git a/tests/snappi_tests/multidut/bgp/test_bgp_outbound_downlink_process_crash.py b/tests/snappi_tests/multidut/bgp/test_bgp_outbound_downlink_process_crash.py index 15e727a186d..96c1a95fa23 100755 --- a/tests/snappi_tests/multidut/bgp/test_bgp_outbound_downlink_process_crash.py +++ b/tests/snappi_tests/multidut/bgp/test_bgp_outbound_downlink_process_crash.py @@ -12,7 +12,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen'), + pytest.mark.device_type('physical') +] ITERATION = 1 ROUTE_RANGES = [{ diff --git a/tests/snappi_tests/multidut/bgp/test_bgp_outbound_tsa.py b/tests/snappi_tests/multidut/bgp/test_bgp_outbound_tsa.py index 567a9804741..8cdf688d53b 100644 --- a/tests/snappi_tests/multidut/bgp/test_bgp_outbound_tsa.py +++ b/tests/snappi_tests/multidut/bgp/test_bgp_outbound_tsa.py @@ -12,7 +12,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen'), + pytest.mark.device_type('physical') +] ITERATION = 1 ROUTE_RANGES = [{ diff --git a/tests/snappi_tests/multidut/bgp/test_bgp_outbound_uplink_multi_po_flap.py b/tests/snappi_tests/multidut/bgp/test_bgp_outbound_uplink_multi_po_flap.py index 414e7790ccf..37f3f930ae3 100644 --- a/tests/snappi_tests/multidut/bgp/test_bgp_outbound_uplink_multi_po_flap.py +++ b/tests/snappi_tests/multidut/bgp/test_bgp_outbound_uplink_multi_po_flap.py @@ -12,7 +12,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen'), + pytest.mark.device_type('physical') +] ITERATION = 1 ROUTE_RANGES = [{ diff --git a/tests/snappi_tests/multidut/bgp/test_bgp_outbound_uplink_po_member_flap.py b/tests/snappi_tests/multidut/bgp/test_bgp_outbound_uplink_po_member_flap.py index 04135c39d10..6c176d05abc 100755 --- a/tests/snappi_tests/multidut/bgp/test_bgp_outbound_uplink_po_member_flap.py +++ b/tests/snappi_tests/multidut/bgp/test_bgp_outbound_uplink_po_member_flap.py @@ -12,7 +12,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen'), + pytest.mark.device_type('physical') +] FLAP_DETAILS = { 'device_name': 'Ixia', diff --git a/tests/snappi_tests/multidut/bgp/test_bgp_outbound_uplink_process_crash.py b/tests/snappi_tests/multidut/bgp/test_bgp_outbound_uplink_process_crash.py index ef9b209cedb..9ffcdeb085f 100755 --- a/tests/snappi_tests/multidut/bgp/test_bgp_outbound_uplink_process_crash.py +++ b/tests/snappi_tests/multidut/bgp/test_bgp_outbound_uplink_process_crash.py @@ -12,7 +12,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen'), + pytest.mark.device_type('physical') +] ITERATION = 1 ROUTE_RANGES = [{ diff --git a/tests/snappi_tests/multidut/ecn/test_multidut_dequeue_ecn_with_snappi.py b/tests/snappi_tests/multidut/ecn/test_multidut_dequeue_ecn_with_snappi.py index 24cf147e388..7dfcdcf52b2 100644 --- a/tests/snappi_tests/multidut/ecn/test_multidut_dequeue_ecn_with_snappi.py +++ b/tests/snappi_tests/multidut/ecn/test_multidut_dequeue_ecn_with_snappi.py @@ -18,7 +18,10 @@ from tests.common.snappi_tests.common_helpers import packet_capture from tests.common.snappi_tests.snappi_test_params import SnappiTestParams logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen', 'tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("multidut_port_info", MULTIDUT_PORT_INFO[MULTIDUT_TESTBED]) diff --git a/tests/snappi_tests/multidut/ecn/test_multidut_red_accuracy_with_snappi.py b/tests/snappi_tests/multidut/ecn/test_multidut_red_accuracy_with_snappi.py index 712c09f9c11..0efd8c0b2b9 100644 --- a/tests/snappi_tests/multidut/ecn/test_multidut_red_accuracy_with_snappi.py +++ b/tests/snappi_tests/multidut/ecn/test_multidut_red_accuracy_with_snappi.py @@ -19,7 +19,10 @@ from tests.common.snappi_tests.common_helpers import packet_capture # noqa F401 from tests.common.snappi_tests.snappi_test_params import SnappiTestParams logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen', 'tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("multidut_port_info", MULTIDUT_PORT_INFO[MULTIDUT_TESTBED]) diff --git a/tests/snappi_tests/multidut/pfc/test_lossless_response_to_external_pause_storms.py b/tests/snappi_tests/multidut/pfc/test_lossless_response_to_external_pause_storms.py index 24310fba42d..418259ec415 100644 --- a/tests/snappi_tests/multidut/pfc/test_lossless_response_to_external_pause_storms.py +++ b/tests/snappi_tests/multidut/pfc/test_lossless_response_to_external_pause_storms.py @@ -15,7 +15,10 @@ ) from tests.common.snappi_tests.snappi_test_params import SnappiTestParams logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen', 'tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("multidut_port_info", MULTIDUT_PORT_INFO[MULTIDUT_TESTBED]) diff --git a/tests/snappi_tests/multidut/pfc/test_lossless_response_to_throttling_pause_storms.py b/tests/snappi_tests/multidut/pfc/test_lossless_response_to_throttling_pause_storms.py index 3af2d58a702..12f74671587 100644 --- a/tests/snappi_tests/multidut/pfc/test_lossless_response_to_throttling_pause_storms.py +++ b/tests/snappi_tests/multidut/pfc/test_lossless_response_to_throttling_pause_storms.py @@ -15,7 +15,10 @@ from tests.common.snappi_tests.snappi_test_params import SnappiTestParams from tests.common.snappi_tests.variables import pfcQueueGroupSize, pfcQueueValueDict # noqa: F401 logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen', 'tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("multidut_port_info", MULTIDUT_PORT_INFO[MULTIDUT_TESTBED]) diff --git a/tests/snappi_tests/multidut/pfc/test_m2o_fluctuating_lossless.py b/tests/snappi_tests/multidut/pfc/test_m2o_fluctuating_lossless.py index 8a1f2b841d8..1d3e53a7042 100644 --- a/tests/snappi_tests/multidut/pfc/test_m2o_fluctuating_lossless.py +++ b/tests/snappi_tests/multidut/pfc/test_m2o_fluctuating_lossless.py @@ -13,7 +13,10 @@ from tests.snappi_tests.multidut.pfc.files.m2o_fluctuating_lossless_helper import run_m2o_fluctuating_lossless_test from tests.common.snappi_tests.snappi_test_params import SnappiTestParams logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen', 'tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("multidut_port_info", MULTIDUT_PORT_INFO[MULTIDUT_TESTBED]) diff --git a/tests/snappi_tests/multidut/pfc/test_m2o_oversubscribe_lossless.py b/tests/snappi_tests/multidut/pfc/test_m2o_oversubscribe_lossless.py index 63ab26a2f9e..7f3f4581515 100644 --- a/tests/snappi_tests/multidut/pfc/test_m2o_oversubscribe_lossless.py +++ b/tests/snappi_tests/multidut/pfc/test_m2o_oversubscribe_lossless.py @@ -15,7 +15,10 @@ ) from tests.common.snappi_tests.snappi_test_params import SnappiTestParams logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen', 'tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("multidut_port_info", MULTIDUT_PORT_INFO[MULTIDUT_TESTBED]) diff --git a/tests/snappi_tests/multidut/pfc/test_m2o_oversubscribe_lossless_lossy.py b/tests/snappi_tests/multidut/pfc/test_m2o_oversubscribe_lossless_lossy.py index e1200d5c1e9..94a3a4438cb 100644 --- a/tests/snappi_tests/multidut/pfc/test_m2o_oversubscribe_lossless_lossy.py +++ b/tests/snappi_tests/multidut/pfc/test_m2o_oversubscribe_lossless_lossy.py @@ -16,7 +16,10 @@ from tests.common.snappi_tests.snappi_test_params import SnappiTestParams # noqa: F401 from tests.common.snappi_tests.variables import pfcQueueGroupSize, pfcQueueValueDict # noqa: F401 logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen', 'tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("multidut_port_info", MULTIDUT_PORT_INFO[MULTIDUT_TESTBED]) diff --git a/tests/snappi_tests/multidut/pfc/test_m2o_oversubscribe_lossy.py b/tests/snappi_tests/multidut/pfc/test_m2o_oversubscribe_lossy.py index 8847a859dd4..2e59239dcd9 100644 --- a/tests/snappi_tests/multidut/pfc/test_m2o_oversubscribe_lossy.py +++ b/tests/snappi_tests/multidut/pfc/test_m2o_oversubscribe_lossy.py @@ -13,7 +13,10 @@ from tests.snappi_tests.multidut.pfc.files.m2o_oversubscribe_lossy_helper import run_pfc_m2o_oversubscribe_lossy_test from tests.common.snappi_tests.snappi_test_params import SnappiTestParams logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen', 'tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("multidut_port_info", MULTIDUT_PORT_INFO[MULTIDUT_TESTBED]) diff --git a/tests/snappi_tests/multidut/pfc/test_multidut_global_pause_with_snappi.py b/tests/snappi_tests/multidut/pfc/test_multidut_global_pause_with_snappi.py index 58a4421ee15..d65fc080746 100644 --- a/tests/snappi_tests/multidut/pfc/test_multidut_global_pause_with_snappi.py +++ b/tests/snappi_tests/multidut/pfc/test_multidut_global_pause_with_snappi.py @@ -14,7 +14,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen', 'tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("multidut_port_info", MULTIDUT_PORT_INFO[MULTIDUT_TESTBED]) diff --git a/tests/snappi_tests/multidut/pfc/test_multidut_pfc_pause_lossless_with_snappi.py b/tests/snappi_tests/multidut/pfc/test_multidut_pfc_pause_lossless_with_snappi.py index bc131deb4fc..d7f0ee4b99a 100644 --- a/tests/snappi_tests/multidut/pfc/test_multidut_pfc_pause_lossless_with_snappi.py +++ b/tests/snappi_tests/multidut/pfc/test_multidut_pfc_pause_lossless_with_snappi.py @@ -16,7 +16,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen', 'tgen'), + pytest.mark.device_type('physical') +] @pytest.fixture(autouse=True) diff --git a/tests/snappi_tests/multidut/pfc/test_multidut_pfc_pause_lossy_with_snappi.py b/tests/snappi_tests/multidut/pfc/test_multidut_pfc_pause_lossy_with_snappi.py index 22499aaaafe..533a75e4640 100644 --- a/tests/snappi_tests/multidut/pfc/test_multidut_pfc_pause_lossy_with_snappi.py +++ b/tests/snappi_tests/multidut/pfc/test_multidut_pfc_pause_lossy_with_snappi.py @@ -16,7 +16,10 @@ from tests.snappi_tests.files.helper import reboot_duts, setup_ports_and_dut, multidut_port_info # noqa: F401 logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen', 'tgen'), + pytest.mark.device_type('physical') +] @pytest.fixture(autouse=True) diff --git a/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_a2a_with_snappi.py b/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_a2a_with_snappi.py index 97c5b97958e..fd6cc00480d 100644 --- a/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_a2a_with_snappi.py +++ b/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_a2a_with_snappi.py @@ -14,7 +14,10 @@ from tests.snappi_tests.multidut.pfcwd.files.pfcwd_multidut_multi_node_helper import run_pfcwd_multi_node_test from tests.common.snappi_tests.snappi_test_params import SnappiTestParams logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen', 'tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("trigger_pfcwd", [False]) diff --git a/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_basic_with_snappi.py b/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_basic_with_snappi.py index 1584c00fdd6..e45b8666dbc 100644 --- a/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_basic_with_snappi.py +++ b/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_basic_with_snappi.py @@ -21,7 +21,10 @@ from tests.snappi_tests.files.helper import skip_pfcwd_test, reboot_duts, \ setup_ports_and_dut, multidut_port_info # noqa: F401 logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen', 'tgen'), + pytest.mark.device_type('physical') +] WAIT_TIME = 600 INTERVAL = 40 @@ -33,7 +36,7 @@ def number_of_tx_rx_ports(): @pytest.fixture(autouse=False) -def save_restore_config(setup_ports_and_dut): +def save_restore_config(setup_ports_and_dut): # noqa F811 testbed_config, port_config_list, snappi_ports = setup_ports_and_dut timestamp = time.time() dest = f'~/{timestamp}' diff --git a/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_burst_storm_with_snappi.py b/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_burst_storm_with_snappi.py index d3a6c292d9a..87d4f272d2a 100644 --- a/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_burst_storm_with_snappi.py +++ b/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_burst_storm_with_snappi.py @@ -14,7 +14,10 @@ from tests.snappi_tests.multidut.pfcwd.files.pfcwd_multidut_burst_storm_helper import run_pfcwd_burst_storm_test from tests.common.snappi_tests.snappi_test_params import SnappiTestParams logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen', 'tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("multidut_port_info", MULTIDUT_PORT_INFO[MULTIDUT_TESTBED]) diff --git a/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_m2o_with_snappi.py b/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_m2o_with_snappi.py index 26b2d0828e3..7ec72e9b30e 100644 --- a/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_m2o_with_snappi.py +++ b/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_m2o_with_snappi.py @@ -14,7 +14,10 @@ from tests.snappi_tests.multidut.pfcwd.files.pfcwd_multidut_multi_node_helper import run_pfcwd_multi_node_test from tests.common.snappi_tests.snappi_test_params import SnappiTestParams logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen', 'tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("trigger_pfcwd", [True]) diff --git a/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_runtime_traffic_with_snappi.py b/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_runtime_traffic_with_snappi.py index 8caba032f4c..f2ad3a6faf3 100644 --- a/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_runtime_traffic_with_snappi.py +++ b/tests/snappi_tests/multidut/pfcwd/test_multidut_pfcwd_runtime_traffic_with_snappi.py @@ -14,7 +14,10 @@ from tests.common.snappi_tests.snappi_test_params import SnappiTestParams logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('multidut-tgen', 'tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen', 'tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("multidut_port_info", MULTIDUT_PORT_INFO[MULTIDUT_TESTBED]) diff --git a/tests/snappi_tests/pfc/test_global_pause_with_snappi.py b/tests/snappi_tests/pfc/test_global_pause_with_snappi.py index 1ebdbfb6913..1dc7a3aa5d0 100644 --- a/tests/snappi_tests/pfc/test_global_pause_with_snappi.py +++ b/tests/snappi_tests/pfc/test_global_pause_with_snappi.py @@ -10,7 +10,10 @@ from tests.snappi_tests.pfc.files.helper import run_pfc_test -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_global_pause(snappi_api, # noqa F811 diff --git a/tests/snappi_tests/pfc/test_pfc_pause_lossless_with_snappi.py b/tests/snappi_tests/pfc/test_pfc_pause_lossless_with_snappi.py index dcccd48af13..cdd4cb247f4 100644 --- a/tests/snappi_tests/pfc/test_pfc_pause_lossless_with_snappi.py +++ b/tests/snappi_tests/pfc/test_pfc_pause_lossless_with_snappi.py @@ -17,7 +17,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_pfc_pause_single_lossless_prio(snappi_api, # noqa F811 diff --git a/tests/snappi_tests/pfc/test_pfc_pause_lossy_with_snappi.py b/tests/snappi_tests/pfc/test_pfc_pause_lossy_with_snappi.py index 2ba052ca54f..e37aa51ff91 100644 --- a/tests/snappi_tests/pfc/test_pfc_pause_lossy_with_snappi.py +++ b/tests/snappi_tests/pfc/test_pfc_pause_lossy_with_snappi.py @@ -15,7 +15,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_pfc_pause_single_lossy_prio(snappi_api, # noqa F811 diff --git a/tests/snappi_tests/pfc/test_pfc_pause_response_with_snappi.py b/tests/snappi_tests/pfc/test_pfc_pause_response_with_snappi.py index 36b5c540cbf..cdf9d8f2ad1 100644 --- a/tests/snappi_tests/pfc/test_pfc_pause_response_with_snappi.py +++ b/tests/snappi_tests/pfc/test_pfc_pause_response_with_snappi.py @@ -13,7 +13,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_pfc_single_lossless_headroom(snappi_api, # noqa F811 diff --git a/tests/snappi_tests/pfc/test_pfc_pause_unset_bit_enable_vector.py b/tests/snappi_tests/pfc/test_pfc_pause_unset_bit_enable_vector.py index 554e84a9800..9cbb14f0419 100644 --- a/tests/snappi_tests/pfc/test_pfc_pause_unset_bit_enable_vector.py +++ b/tests/snappi_tests/pfc/test_pfc_pause_unset_bit_enable_vector.py @@ -13,7 +13,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_pfc_unset_cev_single_prio(snappi_api, # noqa F811 diff --git a/tests/snappi_tests/pfc/test_pfc_pause_zero_mac.py b/tests/snappi_tests/pfc/test_pfc_pause_zero_mac.py index 66573b9a88f..62cb5039c28 100644 --- a/tests/snappi_tests/pfc/test_pfc_pause_zero_mac.py +++ b/tests/snappi_tests/pfc/test_pfc_pause_zero_mac.py @@ -13,7 +13,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_pfc_zero_src_mac_single_lossless_prio(snappi_api, # noqa F811 diff --git a/tests/snappi_tests/pfc/test_valid_pfc_frame_with_snappi.py b/tests/snappi_tests/pfc/test_valid_pfc_frame_with_snappi.py index c0339cfd3cc..9ecff68fbf4 100644 --- a/tests/snappi_tests/pfc/test_valid_pfc_frame_with_snappi.py +++ b/tests/snappi_tests/pfc/test_valid_pfc_frame_with_snappi.py @@ -14,7 +14,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_valid_pfc_frame(snappi_api, # noqa F811 snappi_testbed_config, # noqa F811 diff --git a/tests/snappi_tests/pfc/test_valid_src_mac_pfc_frame.py b/tests/snappi_tests/pfc/test_valid_src_mac_pfc_frame.py index fddc0408ee5..dcc217a32c3 100644 --- a/tests/snappi_tests/pfc/test_valid_src_mac_pfc_frame.py +++ b/tests/snappi_tests/pfc/test_valid_src_mac_pfc_frame.py @@ -16,7 +16,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_valid_pfc_frame_src_mac( diff --git a/tests/snappi_tests/pfcwd/test_pfcwd_a2a_with_snappi.py b/tests/snappi_tests/pfcwd/test_pfcwd_a2a_with_snappi.py index 07b65529d0f..7db0cff6d95 100644 --- a/tests/snappi_tests/pfcwd/test_pfcwd_a2a_with_snappi.py +++ b/tests/snappi_tests/pfcwd/test_pfcwd_a2a_with_snappi.py @@ -11,7 +11,10 @@ from tests.snappi_tests.pfcwd.files.pfcwd_multi_node_helper import run_pfcwd_multi_node_test -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("trigger_pfcwd", [True, False]) diff --git a/tests/snappi_tests/pfcwd/test_pfcwd_basic_with_snappi.py b/tests/snappi_tests/pfcwd/test_pfcwd_basic_with_snappi.py index dade96258e4..fbc6b183fb6 100644 --- a/tests/snappi_tests/pfcwd/test_pfcwd_basic_with_snappi.py +++ b/tests/snappi_tests/pfcwd/test_pfcwd_basic_with_snappi.py @@ -15,7 +15,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("trigger_pfcwd", [True, False]) diff --git a/tests/snappi_tests/pfcwd/test_pfcwd_burst_storm_with_snappi.py b/tests/snappi_tests/pfcwd/test_pfcwd_burst_storm_with_snappi.py index c065a9e51bd..600931b3679 100644 --- a/tests/snappi_tests/pfcwd/test_pfcwd_burst_storm_with_snappi.py +++ b/tests/snappi_tests/pfcwd/test_pfcwd_burst_storm_with_snappi.py @@ -11,7 +11,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_pfcwd_burst_storm_single_lossless_prio(snappi_api, # noqa F811 snappi_testbed_config, # noqa F811 diff --git a/tests/snappi_tests/pfcwd/test_pfcwd_m2o_with_snappi.py b/tests/snappi_tests/pfcwd/test_pfcwd_m2o_with_snappi.py index 9e1c664ee6c..4f888387062 100644 --- a/tests/snappi_tests/pfcwd/test_pfcwd_m2o_with_snappi.py +++ b/tests/snappi_tests/pfcwd/test_pfcwd_m2o_with_snappi.py @@ -10,7 +10,10 @@ from tests.snappi_tests.pfcwd.files.pfcwd_multi_node_helper import run_pfcwd_multi_node_test -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.parametrize("trigger_pfcwd", [True, False]) diff --git a/tests/snappi_tests/pfcwd/test_pfcwd_runtime_traffic_with_snappi.py b/tests/snappi_tests/pfcwd/test_pfcwd_runtime_traffic_with_snappi.py index 13a0ef1745b..c0ab1359f14 100644 --- a/tests/snappi_tests/pfcwd/test_pfcwd_runtime_traffic_with_snappi.py +++ b/tests/snappi_tests/pfcwd/test_pfcwd_runtime_traffic_with_snappi.py @@ -9,7 +9,10 @@ from tests.snappi_tests.pfcwd.files.pfcwd_runtime_traffic_helper import run_pfcwd_runtime_traffic_test -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_pfcwd_runtime_traffic(snappi_api, # noqa F811 snappi_testbed_config, # noqa F811 diff --git a/tests/snappi_tests/qos/test_ipip_packet_reorder_with_snappi.py b/tests/snappi_tests/qos/test_ipip_packet_reorder_with_snappi.py index 1123c4dcc60..62df5b6fea6 100644 --- a/tests/snappi_tests/qos/test_ipip_packet_reorder_with_snappi.py +++ b/tests/snappi_tests/qos/test_ipip_packet_reorder_with_snappi.py @@ -11,7 +11,10 @@ logger = logging.getLogger(__name__) -pytestmark = [pytest.mark.topology('tgen')] +pytestmark = [ + pytest.mark.topology('tgen'), + pytest.mark.device_type('physical') +] def test_ip_in_ip_packet_reorder(snappi_api, # noqa F811 diff --git a/tests/snappi_tests/reboot/test_cold_reboot.py b/tests/snappi_tests/reboot/test_cold_reboot.py index 2a1b0e5ded9..875b9ae63ab 100644 --- a/tests/snappi_tests/reboot/test_cold_reboot.py +++ b/tests/snappi_tests/reboot/test_cold_reboot.py @@ -7,7 +7,10 @@ import pytest -pytestmark = [pytest.mark.topology('snappi')] +pytestmark = [ + pytest.mark.topology('snappi'), + pytest.mark.device_type('physical') +] @pytest.mark.disable_loganalyzer diff --git a/tests/snappi_tests/reboot/test_fast_reboot.py b/tests/snappi_tests/reboot/test_fast_reboot.py index d626a6eea15..3601e2ba3e4 100644 --- a/tests/snappi_tests/reboot/test_fast_reboot.py +++ b/tests/snappi_tests/reboot/test_fast_reboot.py @@ -7,7 +7,10 @@ import pytest -pytestmark = [pytest.mark.topology('snappi')] +pytestmark = [ + pytest.mark.topology('snappi'), + pytest.mark.device_type('physical') +] @pytest.mark.disable_loganalyzer diff --git a/tests/snappi_tests/reboot/test_soft_reboot.py b/tests/snappi_tests/reboot/test_soft_reboot.py index 48ad2a0633b..dc26751c9ee 100644 --- a/tests/snappi_tests/reboot/test_soft_reboot.py +++ b/tests/snappi_tests/reboot/test_soft_reboot.py @@ -7,7 +7,10 @@ import pytest -pytestmark = [pytest.mark.topology('snappi')] +pytestmark = [ + pytest.mark.topology('snappi'), + pytest.mark.device_type('physical') +] @pytest.mark.disable_loganalyzer diff --git a/tests/snappi_tests/reboot/test_warm_reboot.py b/tests/snappi_tests/reboot/test_warm_reboot.py index bf66af380b9..3420d8b61f8 100644 --- a/tests/snappi_tests/reboot/test_warm_reboot.py +++ b/tests/snappi_tests/reboot/test_warm_reboot.py @@ -6,7 +6,10 @@ conn_graph_facts, fanout_graph_facts) import pytest -pytestmark = [pytest.mark.topology('snappi')] +pytestmark = [ + pytest.mark.topology('snappi'), + pytest.mark.device_type('physical') +] @pytest.mark.disable_loganalyzer diff --git a/tests/snappi_tests/test_multidut_snappi.py b/tests/snappi_tests/test_multidut_snappi.py index 0fd2cc78272..c3c34cb6798 100644 --- a/tests/snappi_tests/test_multidut_snappi.py +++ b/tests/snappi_tests/test_multidut_snappi.py @@ -14,7 +14,10 @@ logger = logging.getLogger(__name__) SNAPPI_POLL_DELAY_SEC = 2 -pytestmark = [pytest.mark.topology('multidut-tgen')] +pytestmark = [ + pytest.mark.topology('multidut-tgen'), + pytest.mark.device_type('physical') +] @pytest.mark.disable_loganalyzer diff --git a/tests/snappi_tests/test_snappi.py b/tests/snappi_tests/test_snappi.py index c8c2bcb40c1..c99e7592595 100644 --- a/tests/snappi_tests/test_snappi.py +++ b/tests/snappi_tests/test_snappi.py @@ -12,7 +12,10 @@ SNAPPI_POLL_DELAY_SEC = 2 -pytestmark = [pytest.mark.topology('snappi')] +pytestmark = [ + pytest.mark.topology('snappi'), + pytest.mark.device_type('physical') +] @pytest.mark.disable_loganalyzer diff --git a/tests/system_health/test_watchdog.py b/tests/system_health/test_watchdog.py index a64ebde7c52..4085e6f2969 100644 --- a/tests/system_health/test_watchdog.py +++ b/tests/system_health/test_watchdog.py @@ -6,7 +6,8 @@ pytestmark = [ pytest.mark.disable_loganalyzer, - pytest.mark.topology('any') + pytest.mark.topology('any'), + pytest.mark.device_type('physical') ] logger = logging.getLogger(__name__) diff --git a/tests/test_vs_chassis_setup.py b/tests/test_vs_chassis_setup.py index adc00ad20a3..5ec39583652 100644 --- a/tests/test_vs_chassis_setup.py +++ b/tests/test_vs_chassis_setup.py @@ -11,7 +11,8 @@ pytestmark = [ pytest.mark.topology("t2"), - pytest.mark.disable_loganalyzer + pytest.mark.disable_loganalyzer, + pytest.mark.device_type('physical') ] diff --git a/tests/voq/test_fabric_cli_and_db.py b/tests/voq/test_fabric_cli_and_db.py index de3e39891dd..735f07b2d18 100644 --- a/tests/voq/test_fabric_cli_and_db.py +++ b/tests/voq/test_fabric_cli_and_db.py @@ -5,7 +5,8 @@ logger = logging.getLogger(__name__) # This test only runs on t2 systems. pytestmark = [ - pytest.mark.topology('t2') + pytest.mark.topology('t2'), + pytest.mark.device_type('physical') ] # There are 12 asic on Supervisor now. diff --git a/tests/voq/test_fabric_reach.py b/tests/voq/test_fabric_reach.py index 215a91780d6..745abc8bbb7 100644 --- a/tests/voq/test_fabric_reach.py +++ b/tests/voq/test_fabric_reach.py @@ -6,7 +6,8 @@ logger = logging.getLogger(__name__) # This test only runs on t2 systems. pytestmark = [ - pytest.mark.topology('t2') + pytest.mark.topology('t2'), + pytest.mark.device_type('physical') ] localModule = 0 diff --git a/tests/voq/test_voq_chassis_app_db_consistency.py b/tests/voq/test_voq_chassis_app_db_consistency.py index 507615e7673..dcd500e422c 100644 --- a/tests/voq/test_voq_chassis_app_db_consistency.py +++ b/tests/voq/test_voq_chassis_app_db_consistency.py @@ -13,7 +13,8 @@ logger = logging.getLogger(__name__) pytestmark = [ - pytest.mark.topology('t2') + pytest.mark.topology('t2'), + pytest.mark.device_type('physical') ] diff --git a/tests/voq/test_voq_disrupts.py b/tests/voq/test_voq_disrupts.py index f4269e343d7..78e29d088f8 100644 --- a/tests/voq/test_voq_disrupts.py +++ b/tests/voq/test_voq_disrupts.py @@ -22,7 +22,8 @@ logger = logging.getLogger(__name__) pytestmark = [ - pytest.mark.topology('t2') + pytest.mark.topology('t2'), + pytest.mark.device_type('physical') ] diff --git a/tests/voq/test_voq_fabric_isolation.py b/tests/voq/test_voq_fabric_isolation.py index a2b4454ad2a..0d70c94d4e8 100644 --- a/tests/voq/test_voq_fabric_isolation.py +++ b/tests/voq/test_voq_fabric_isolation.py @@ -8,7 +8,8 @@ # This test only runs on t2 systems. pytestmark = [ - pytest.mark.topology('t2') + pytest.mark.topology('t2'), + pytest.mark.device_type('physical') ] # This test checks if fabric link monitoring algorithm works as expected. diff --git a/tests/voq/test_voq_fabric_status_all.py b/tests/voq/test_voq_fabric_status_all.py index 7e65d742fb9..b79fb5cfb30 100644 --- a/tests/voq/test_voq_fabric_status_all.py +++ b/tests/voq/test_voq_fabric_status_all.py @@ -7,7 +7,8 @@ # This test only runs on t2 systems. pytestmark = [ - pytest.mark.topology('t2') + pytest.mark.topology('t2'), + pytest.mark.device_type('physical') ] # This test checks the fabric link status. diff --git a/tests/voq/test_voq_init.py b/tests/voq/test_voq_init.py index 8ec943ca071..eba3ea18415 100644 --- a/tests/voq/test_voq_init.py +++ b/tests/voq/test_voq_init.py @@ -13,7 +13,8 @@ logger = logging.getLogger(__name__) pytestmark = [ - pytest.mark.topology('t2') + pytest.mark.topology('t2'), + pytest.mark.device_type('physical') ] diff --git a/tests/voq/test_voq_intfs.py b/tests/voq/test_voq_intfs.py index 9bda44465e3..2ae5bd241e0 100644 --- a/tests/voq/test_voq_intfs.py +++ b/tests/voq/test_voq_intfs.py @@ -14,7 +14,8 @@ logger = logging.getLogger(__name__) pytestmark = [ - pytest.mark.topology('t2') + pytest.mark.topology('t2'), + pytest.mark.device_type('physical') ] ADDR = ipaddress.IPv4Interface(u"50.1.1.1/24") diff --git a/tests/voq/test_voq_ipfwd.py b/tests/voq/test_voq_ipfwd.py index fd7750b607c..895bb83a569 100644 --- a/tests/voq/test_voq_ipfwd.py +++ b/tests/voq/test_voq_ipfwd.py @@ -34,7 +34,8 @@ pytestmark = [ pytest.mark.topology('t2'), pytest.mark.sanity_check(check_items=["-monit"], allow_recover=False), - pytest.mark.disable_loganalyzer + pytest.mark.disable_loganalyzer, + pytest.mark.device_type('physical') ] LOG_PING = True diff --git a/tests/voq/test_voq_nbr.py b/tests/voq/test_voq_nbr.py index 595371f7baf..af7d381958b 100644 --- a/tests/voq/test_voq_nbr.py +++ b/tests/voq/test_voq_nbr.py @@ -31,7 +31,8 @@ logger = logging.getLogger(__name__) pytestmark = [ - pytest.mark.topology('t2') + pytest.mark.topology('t2'), + pytest.mark.device_type('physical') ] NEW_MAC = "00:01:94:00:00:01" diff --git a/tests/vrf/test_vrf.py b/tests/vrf/test_vrf.py index 9c78ddacd34..3c4a39fee21 100644 --- a/tests/vrf/test_vrf.py +++ b/tests/vrf/test_vrf.py @@ -36,7 +36,8 @@ """ pytestmark = [ - pytest.mark.topology('t0') + pytest.mark.topology('t0'), + pytest.mark.device_type('physical') ] logger = logging.getLogger(__name__) diff --git a/tests/vrf/test_vrf_attr.py b/tests/vrf/test_vrf_attr.py index 43a56f6ea27..9fccf7dc021 100644 --- a/tests/vrf/test_vrf_attr.py +++ b/tests/vrf/test_vrf_attr.py @@ -16,7 +16,8 @@ pytestmark = [ - pytest.mark.topology('t0') + pytest.mark.topology('t0'), + pytest.mark.device_type('physical') ] # tests diff --git a/tests/wan/isis/test_isis_authentication.py b/tests/wan/isis/test_isis_authentication.py index 4e026e6448f..8a768357885 100644 --- a/tests/wan/isis/test_isis_authentication.py +++ b/tests/wan/isis/test_isis_authentication.py @@ -22,6 +22,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] ITF_AUTH_PASSWRD = 'itf_auth' diff --git a/tests/wan/isis/test_isis_csnp_interval.py b/tests/wan/isis/test_isis_csnp_interval.py index 9aab97a2de0..55b6f01f0b7 100644 --- a/tests/wan/isis/test_isis_csnp_interval.py +++ b/tests/wan/isis/test_isis_csnp_interval.py @@ -13,6 +13,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_database.py b/tests/wan/isis/test_isis_database.py index e9dd3845929..7caf398073c 100644 --- a/tests/wan/isis/test_isis_database.py +++ b/tests/wan/isis/test_isis_database.py @@ -12,6 +12,7 @@ pytestmark = [ pytest.mark.topology('wan-2dut'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_dynamic_hostname.py b/tests/wan/isis/test_isis_dynamic_hostname.py index 483d5e541d6..721c97e0e3c 100644 --- a/tests/wan/isis/test_isis_dynamic_hostname.py +++ b/tests/wan/isis/test_isis_dynamic_hostname.py @@ -15,6 +15,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_ecmp.py b/tests/wan/isis/test_isis_ecmp.py index 47f6f7fc56f..3ff0c635de1 100644 --- a/tests/wan/isis/test_isis_ecmp.py +++ b/tests/wan/isis/test_isis_ecmp.py @@ -9,6 +9,7 @@ pytestmark = [ pytest.mark.topology('wan-ecmp'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_hello_interval.py b/tests/wan/isis/test_isis_hello_interval.py index f54d62a46a0..c6b1a462083 100644 --- a/tests/wan/isis/test_isis_hello_interval.py +++ b/tests/wan/isis/test_isis_hello_interval.py @@ -12,6 +12,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_hello_pad.py b/tests/wan/isis/test_isis_hello_pad.py index 0aa97759891..0fde1ccc39b 100644 --- a/tests/wan/isis/test_isis_hello_pad.py +++ b/tests/wan/isis/test_isis_hello_pad.py @@ -13,6 +13,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_holdtime.py b/tests/wan/isis/test_isis_holdtime.py index 83ee986cd3b..92a2e39ec59 100644 --- a/tests/wan/isis/test_isis_holdtime.py +++ b/tests/wan/isis/test_isis_holdtime.py @@ -12,6 +12,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_intf_passive.py b/tests/wan/isis/test_isis_intf_passive.py index e9369d14396..6c1b8f9721f 100644 --- a/tests/wan/isis/test_isis_intf_passive.py +++ b/tests/wan/isis/test_isis_intf_passive.py @@ -12,6 +12,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_level_capacity.py b/tests/wan/isis/test_isis_level_capacity.py index 2c59f328cbf..e47ce3b0e06 100644 --- a/tests/wan/isis/test_isis_level_capacity.py +++ b/tests/wan/isis/test_isis_level_capacity.py @@ -14,6 +14,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_log_adjacency_change.py b/tests/wan/isis/test_isis_log_adjacency_change.py index 29ba0ba2377..519bb3f3063 100644 --- a/tests/wan/isis/test_isis_log_adjacency_change.py +++ b/tests/wan/isis/test_isis_log_adjacency_change.py @@ -12,6 +12,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_lsp_fragment.py b/tests/wan/isis/test_isis_lsp_fragment.py index 06795a6c453..e3b33a8677f 100644 --- a/tests/wan/isis/test_isis_lsp_fragment.py +++ b/tests/wan/isis/test_isis_lsp_fragment.py @@ -13,6 +13,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_lsp_gen_interval.py b/tests/wan/isis/test_isis_lsp_gen_interval.py index e85bdbc8f08..049be99f478 100644 --- a/tests/wan/isis/test_isis_lsp_gen_interval.py +++ b/tests/wan/isis/test_isis_lsp_gen_interval.py @@ -16,6 +16,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_lsp_lifetime.py b/tests/wan/isis/test_isis_lsp_lifetime.py index 19e0ac31e95..bf32709e6b8 100644 --- a/tests/wan/isis/test_isis_lsp_lifetime.py +++ b/tests/wan/isis/test_isis_lsp_lifetime.py @@ -16,6 +16,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_lsp_refresh.py b/tests/wan/isis/test_isis_lsp_refresh.py index 22cdad116cb..73c980f6af3 100644 --- a/tests/wan/isis/test_isis_lsp_refresh.py +++ b/tests/wan/isis/test_isis_lsp_refresh.py @@ -12,6 +12,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_metric_wide.py b/tests/wan/isis/test_isis_metric_wide.py index 9655eef73c2..8eb797f4eea 100644 --- a/tests/wan/isis/test_isis_metric_wide.py +++ b/tests/wan/isis/test_isis_metric_wide.py @@ -15,6 +15,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_neighbor.py b/tests/wan/isis/test_isis_neighbor.py index c03b2983a7e..a9aa7ad2f77 100644 --- a/tests/wan/isis/test_isis_neighbor.py +++ b/tests/wan/isis/test_isis_neighbor.py @@ -12,6 +12,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_overload_bit.py b/tests/wan/isis/test_isis_overload_bit.py index b90f99fd685..159cdfe1736 100644 --- a/tests/wan/isis/test_isis_overload_bit.py +++ b/tests/wan/isis/test_isis_overload_bit.py @@ -12,6 +12,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_redistribute.py b/tests/wan/isis/test_isis_redistribute.py index 89e2a35ad38..711d9ae1f20 100644 --- a/tests/wan/isis/test_isis_redistribute.py +++ b/tests/wan/isis/test_isis_redistribute.py @@ -14,6 +14,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] diff --git a/tests/wan/isis/test_isis_spf_default_interval.py b/tests/wan/isis/test_isis_spf_default_interval.py index dfa61f870c1..34e5d945f45 100644 --- a/tests/wan/isis/test_isis_spf_default_interval.py +++ b/tests/wan/isis/test_isis_spf_default_interval.py @@ -16,6 +16,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] SPF_INTERVAL = 20 diff --git a/tests/wan/isis/test_isis_spf_ietf_interval.py b/tests/wan/isis/test_isis_spf_ietf_interval.py index e597416276d..1333b779987 100644 --- a/tests/wan/isis/test_isis_spf_ietf_interval.py +++ b/tests/wan/isis/test_isis_spf_ietf_interval.py @@ -17,6 +17,7 @@ pytestmark = [ pytest.mark.topology('wan-com'), + pytest.mark.device_type('physical') ] QUIET = 'QUIET' diff --git a/tests/wan/lacp/test_wan_lacp.py b/tests/wan/lacp/test_wan_lacp.py index ebd367847ec..26d065701fc 100644 --- a/tests/wan/lacp/test_wan_lacp.py +++ b/tests/wan/lacp/test_wan_lacp.py @@ -12,6 +12,7 @@ pytestmark = [ pytest.mark.topology('wan-pub', 'wan-pub-cisco'), + pytest.mark.device_type('physical') ] # The dir will be deleted from host, so be sure not to use system dir