aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash/function
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-11-08 11:06:35 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-11-08 11:43:48 +0000
commit651d799487c6432fccf731e8ad23a512d72df713 (patch)
tree08113e4181be10547461b4540e8f23d1ed301177 /resources/libraries/bash/function
parentb5c21e0c116f6d4d7994d0dd7de6da8584a73a44 (diff)
feat(infra): 3n-icxd
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I766fe7c0837ad2694645230e5fcc1d59bbf59898
Diffstat (limited to 'resources/libraries/bash/function')
-rw-r--r--resources/libraries/bash/function/common.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh
index 8296e8176f..e35fd852f0 100644
--- a/resources/libraries/bash/function/common.sh
+++ b/resources/libraries/bash/function/common.sh
@@ -512,6 +512,10 @@ function get_test_code () {
NODENESS="3n"
FLAVOR="snr"
;;
+ *"3n-icxd"*)
+ NODENESS="3n"
+ FLAVOR="icxd"
+ ;;
*"2n-tx2"*)
NODENESS="2n"
FLAVOR="tx2"
@@ -889,6 +893,9 @@ function select_tags () {
*"3n-snr"*)
default_nic="nic_intel-e822cq"
;;
+ *"3n-icxd"*)
+ default_nic="nic_intel-e823c"
+ ;;
*"3n-tsh"*)
default_nic="nic_intel-x520-da2"
;;
@@ -934,6 +941,8 @@ function select_tags () {
awk_nics_sub_cmd+='gsub("cx7veat","200ge2p1cx7veat");'
awk_nics_sub_cmd+='gsub("cx6dx","100ge2p1cx6dx");'
awk_nics_sub_cmd+='gsub("e810cq","100ge2p1e810cq");'
+ awk_nics_sub_cmd+='gsub("e822cq","25ge2p1e822cq)'
+ awk_nics_sub_cmd+='gsub("e823c","25ge2p1e823c)'
awk_nics_sub_cmd+='gsub("vic1227","10ge2p1vic1227");'
awk_nics_sub_cmd+='gsub("vic1385","40ge2p1vic1385");'
awk_nics_sub_cmd+='gsub("nitro-50g","50ge1p1ENA");'
@@ -1054,6 +1063,8 @@ function select_tags () {
;;
*"3n-snr"*)
;;
+ *"3n-icxd"*)
+ ;;
*"3na-spr"*)
;;
*"3nb-spr"*)
@@ -1179,6 +1190,10 @@ function select_topology () {
TOPOLOGIES=( "${TOPOLOGIES_DIR}"/*3n_snr*.yaml )
TOPOLOGIES_TAGS="3_node_single_link_topo"
;;
+ "3n_icxd")
+ TOPOLOGIES=( "${TOPOLOGIES_DIR}"/*3n_icxd*.yaml )
+ TOPOLOGIES_TAGS="3_node_single_link_topo"
+ ;;
"3n_tsh")
TOPOLOGIES=( "${TOPOLOGIES_DIR}"/*3n_tsh*.yaml )
TOPOLOGIES_TAGS="3_node_single_link_topo"