Skip to content

Commit

Permalink
Enabling bfd anmd vxlan ecmp tests for Mlnx 2700 (#8654)
Browse files Browse the repository at this point in the history
* Enabling bfd anmd vxlan ecmp tests for Mlnx 2700
  • Loading branch information
siqbal1986 authored Jun 19, 2023
1 parent 3a45f5b commit 355489a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ bfd/test_bfd.py:
skip:
reason: "Test not supported for platforms other than Nvidia 4600c/4700/5600 and cisco-8102. Skipping the test"
conditions:
- "platform not in ['x86_64-mlnx_msn4600c-r0', 'x86_64-mlnx_msn4700-r0', 'x86_64-nvidia_sn5600-r0', 'x86_64-8102_64h_o-r0']"
- "(release in ['201811', '201911']) or (platform not in ['x86_64-mlnx_msn4600c-r0', 'x86_64-mlnx_msn4700-r0', 'x86_64-nvidia_sn5600-r0', 'x86_64-8102_64h_o-r0'])"

bfd/test_bfd.py::test_bfd_basic:
skip:
Expand Down Expand Up @@ -1141,9 +1141,9 @@ vxlan/test_vnet_vxlan.py:

vxlan/test_vxlan_ecmp.py:
skip:
reason: "VxLAN ECMP test is not yet supported on multi-ASIC platform. Also this test can only run on 4600c and 8102."
reason: "VxLAN ECMP test is not yet supported on multi-ASIC platform. Also this test can only run on 4600c, 2700 and 8102."
conditions:
- "(is_multi_asic == True) or (platform not in ['x86_64-8102_64h_o-r0', 'x86_64-8101_32fh_o-r0', 'x86_64-mlnx_msn4600c-r0'])"
- "(is_multi_asic == True) or (platform not in ['x86_64-8102_64h_o-r0', 'x86_64-8101_32fh_o-r0', 'x86_64-mlnx_msn4600c-r0', 'x86_64-mlnx_msn2700-r0'])"

#######################################
##### wan_lacp #####
Expand Down
4 changes: 4 additions & 0 deletions tests/vxlan/test_vxlan_ecmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ def fixture_setUp(duthosts,
else:
raise RuntimeError("Pls update this script for your platform.")

platform = duthosts[rand_one_dut_hostname].facts['platform']
if platform == 'x86_64-mlnx_msn2700-r0' and encap_type in ['v4_in_v6', 'v6_in_v6']:
pytest.skip("Skipping test. v6 underlay is not supported on Mlnx 2700")

# Should I keep the temporary files copied to DUT?
ecmp_utils.Constants['KEEP_TEMP_FILES'] = \
request.config.option.keep_temp_files
Expand Down

0 comments on commit 355489a

Please sign in to comment.