diff options
author | 2025-02-04 13:37:54 +0100 | |
---|---|---|
committer | 2025-02-11 09:48:01 +0100 | |
commit | 7eb1aad3a37e067ada027d523b517cfafae5c198 (patch) | |
tree | 6aa28d7210a96edf7a21878c99243d67843e95f6 /resources/libraries/bash/function | |
parent | ee113497fedcd1b3d6425255b6f683c59152fb5d (diff) |
feat(infra): 3n-oct
Signed-off-by: Peter Mikus <peter.mikus@icloud.com>
Change-Id: Ia5b4dff2aaf5b7baa88f85448616c59e51816873
Diffstat (limited to 'resources/libraries/bash/function')
-rw-r--r-- | resources/libraries/bash/function/common.sh | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh index d1302170b0..80221035f3 100644 --- a/resources/libraries/bash/function/common.sh +++ b/resources/libraries/bash/function/common.sh @@ -1,5 +1,5 @@ -# Copyright (c) 2024 Cisco and/or its affiliates. -# Copyright (c) 2024 PANTHEON.tech and/or its affiliates. +# Copyright (c) 2025 Cisco and/or its affiliates. +# Copyright (c) 2025 PANTHEON.tech and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -532,6 +532,10 @@ function get_test_code () { NODENESS="3n" FLAVOR="emr" ;; + *"3n-oct") + NODENESS="3n" + FLAVOR="oct" + ;; *"-x-2n"*) TESTBED="${TEST_CODE#${TEST_CODE%2n*}}" NODENESS="${TESTBED%-${TEST_CODE#*-x-2n*-}}" @@ -982,6 +986,9 @@ function select_tags () { *"3n-emr") default_nic="nic_intel-e810cq" ;; + *"3n-oct") + default_nic="nic_cavium-a063-100g" + ;; *"1n-aws" | *"2n-aws" | *"3n-aws") default_nic="nic_amazon-nitro-50g" ;; @@ -1132,6 +1139,8 @@ function select_tags () { ;; *"3n-emr") ;; + *"3n-oct") + ;; *"3n-icx") test_tag_array+=("!ipsechw") test_tag_array+=("!3_node_double_link_topoANDnic_intel-xxv710") @@ -1272,6 +1281,10 @@ function select_topology () { TOPOLOGIES=( "${TOPOLOGIES_DIR}"/*3n_emr_*.yaml ) TOPOLOGIES_TAGS="3_node_*_link_topo" ;; + *"3n-oct") + TOPOLOGIES=( "${TOPOLOGIES_DIR}"/*3n_oct_*.yaml ) + TOPOLOGIES_TAGS="3_node_*_link_topo" + ;; *"3n-aws") TOPOLOGIES=( "${TOPOLOGIES_DIR}"/*3n-aws*.yaml ) TOPOLOGIES_TAGS="3_node_single_link_topo" |