aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-07-13 11:29:59 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2022-07-14 06:13:01 +0000
commita6f2f1efe23b31f072a69180f3bfb1d5eeecb018 (patch)
treee862936e812df03184bc4a0c085466e705d97af0 /resources
parentc084c8e5bda5b402b31391dde8dcd39b273a3b66 (diff)
feat(core): Add 3n-snr
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I2ff6393aa885f03ba52a2cf79d49dac1815e2a86
Diffstat (limited to 'resources')
-rw-r--r--resources/libraries/bash/function/common.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh
index 7b9cb1cf95..dac4521601 100644
--- a/resources/libraries/bash/function/common.sh
+++ b/resources/libraries/bash/function/common.sh
@@ -487,6 +487,10 @@ function get_test_code () {
NODENESS="3n"
FLAVOR="dnv"
;;
+ *"3n-snr"*)
+ NODENESS="3n"
+ FLAVOR="snr"
+ ;;
*"2n-tx2"*)
NODENESS="2n"
FLAVOR="tx2"
@@ -879,6 +883,9 @@ function select_tags () {
*"3n-dnv"* | *"2n-dnv"*)
default_nic="nic_intel-x553"
;;
+ *"3n-snr"*)
+ default_nic="nic_intel-e810xxv"
+ ;;
*"3n-tsh"*)
default_nic="nic_intel-x520-da2"
;;
@@ -1034,6 +1041,8 @@ function select_tags () {
test_tag_array+=("!vts")
test_tag_array+=("!drv_avf")
;;
+ *"3n-snr"*)
+ ;;
*"3n-tsh"*)
# 3n-tsh only has x520 NICs which don't work with AVF
test_tag_array+=("!drv_avf")