aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash/function/common.sh
diff options
context:
space:
mode:
authorPeter Mikus <peter.mikus@protonmail.ch>2024-10-15 15:59:02 +0200
committerPeter Mikus <peter.mikus@protonmail.ch>2024-10-15 14:01:11 +0000
commit4a32a8c08eff96737cd37fad459aab20b07a3913 (patch)
treef5f4bd85337661f9fef3c9f93a2b6dcf5c993fc5 /resources/libraries/bash/function/common.sh
parentea13b3931e2cb185c4b40b78ffc8eebae0f8185d (diff)
feat(all): Nvidia Grace
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: If89513d29fc7bb995daa4449145e9f004c1c36ec
Diffstat (limited to 'resources/libraries/bash/function/common.sh')
-rw-r--r--resources/libraries/bash/function/common.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh
index 9fd208b465..f6cf378167 100644
--- a/resources/libraries/bash/function/common.sh
+++ b/resources/libraries/bash/function/common.sh
@@ -519,6 +519,10 @@ function get_test_code () {
NODENESS="3n"
FLAVOR="alt"
;;
+ *"2n-grc")
+ NODENESS="2n"
+ FLAVOR="grc"
+ ;;
*"-x-2n"*)
TESTBED="${TEST_CODE#${TEST_CODE%2n*}}"
NODENESS="${TESTBED%-${TEST_CODE#*-x-2n*-}}"
@@ -960,6 +964,9 @@ function select_tags () {
*"3n-alt")
default_nic="nic_intel-xl710"
;;
+ *"2n-grc")
+ default_nic="nic_mellanox-cx7veat"
+ ;;
*"1n-aws" | *"2n-aws" | *"3n-aws")
default_nic="nic_amazon-nitro-50g"
;;
@@ -1103,6 +1110,9 @@ function select_tags () {
*"3n-alt")
test_tag_array+=("!ipsechw")
;;
+ *"2n-grc")
+ test_tag_array+=("!ipsechw")
+ ;;
*"3n-icx")
test_tag_array+=("!ipsechw")
test_tag_array+=("!3_node_double_link_topoANDnic_intel-xxv710")
@@ -1231,6 +1241,10 @@ function select_topology () {
TOPOLOGIES=( "${TOPOLOGIES_DIR}"/*3n_alt_*.yaml )
TOPOLOGIES_TAGS="3_node_single_link_topo"
;;
+ *"2n-grc")
+ TOPOLOGIES=( "${TOPOLOGIES_DIR}"/*2n_grc_*.yaml )
+ TOPOLOGIES_TAGS="2_node_single_link_topo"
+ ;;
*"3n-aws")
TOPOLOGIES=( "${TOPOLOGIES_DIR}"/*3n-aws*.yaml )
TOPOLOGIES_TAGS="3_node_single_link_topo"