aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
diff options
context:
space:
mode:
authorPeter Mikus <peter.mikus@protonmail.ch>2024-12-17 15:27:22 +0100
committerPeter Mikus <peter.mikus@protonmail.ch>2024-12-17 14:39:48 +0000
commit8220dda55b0211690b0e24dfe710ca96bddef773 (patch)
tree3085d678032b4197b118fa8f68ef956e337a6b60 /resources/libraries
parent78f0649b2b8433869a9f25aba7702f547aff1b1d (diff)
feat(infra): EMR
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I76df1a848cbd9b6b284395c4fa7975169818679d
Diffstat (limited to 'resources/libraries')
-rw-r--r--resources/libraries/bash/function/common.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh
index fa00b14ded..a8c9208d46 100644
--- a/resources/libraries/bash/function/common.sh
+++ b/resources/libraries/bash/function/common.sh
@@ -524,6 +524,14 @@ function get_test_code () {
NODENESS="2n"
FLAVOR="grc"
;;
+ *"2n-emr")
+ NODENESS="2n"
+ FLAVOR="emr"
+ ;;
+ *"3n-emr")
+ NODENESS="3n"
+ FLAVOR="emr"
+ ;;
*"-x-2n"*)
TESTBED="${TEST_CODE#${TEST_CODE%2n*}}"
NODENESS="${TESTBED%-${TEST_CODE#*-x-2n*-}}"
@@ -968,6 +976,12 @@ function select_tags () {
*"2n-grc")
default_nic="nic_mellanox-cx7veat"
;;
+ *"2n-emr")
+ default_nic="nic_intel-e810cq"
+ ;;
+ *"3n-emr")
+ default_nic="nic_intel-e810cq"
+ ;;
*"1n-aws" | *"2n-aws" | *"3n-aws")
default_nic="nic_amazon-nitro-50g"
;;
@@ -1114,6 +1128,10 @@ function select_tags () {
*"2n-grc")
test_tag_array+=("!ipsechw")
;;
+ *"2n-emr")
+ ;;
+ *"3n-emr")
+ ;;
*"3n-icx")
test_tag_array+=("!ipsechw")
test_tag_array+=("!3_node_double_link_topoANDnic_intel-xxv710")
@@ -1246,6 +1264,14 @@ function select_topology () {
TOPOLOGIES=( "${TOPOLOGIES_DIR}"/*2n_grc_*.yaml )
TOPOLOGIES_TAGS="2_node_single_link_topo"
;;
+ *"2n-emr")
+ TOPOLOGIES=( "${TOPOLOGIES_DIR}"/*2n_emr_*.yaml )
+ TOPOLOGIES_TAGS="2_node_*_link_topo"
+ ;;
+ *"3n-emr")
+ TOPOLOGIES=( "${TOPOLOGIES_DIR}"/*3n_emr_*.yaml )
+ TOPOLOGIES_TAGS="2_node_*_link_topo"
+ ;;
*"3n-aws")
TOPOLOGIES=( "${TOPOLOGIES_DIR}"/*3n-aws*.yaml )
TOPOLOGIES_TAGS="3_node_single_link_topo"