From 651d799487c6432fccf731e8ad23a512d72df713 Mon Sep 17 00:00:00 2001 From: pmikus Date: Wed, 8 Nov 2023 11:06:35 +0000 Subject: feat(infra): 3n-icxd Signed-off-by: pmikus Change-Id: I766fe7c0837ad2694645230e5fcc1d59bbf59898 --- resources/libraries/bash/function/common.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'resources/libraries') 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" -- cgit 1.2.3-korg