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:54:18 +0000
commit73be684bfca2b26c8c69ce43647c31817429c2ca (patch)
treec727a2c3cf508e6a430b96717bb1df848cdf156c /resources
parent0ad3f17e38490d6c8ba08b93c6e3741178fad201 (diff)
feat(core): Add 3n-snr
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I2ff6393aa885f03ba52a2cf79d49dac1815e2a86 (cherry picked from commit a6f2f1efe23b31f072a69180f3bfb1d5eeecb018)
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")