X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Ffunction%2Fcommon.sh;fp=resources%2Flibraries%2Fbash%2Ffunction%2Fcommon.sh;h=9e67f9cbf57daced0bcc5ed648e3daa2374449f5;hp=a03e90422cf553bf139cad1eef7d2c6ff981b871;hb=048a9ca3484a06e54f48dc80e7ab24dbfebe406f;hpb=d7aec8ee052468f55e2e9bd27de1dedd918c8a37 diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh index a03e90422c..9e67f9cbf5 100644 --- a/resources/libraries/bash/function/common.sh +++ b/resources/libraries/bash/function/common.sh @@ -459,6 +459,10 @@ function get_test_code () { NODENESS="1n" FLAVOR="tx2" ;; + *"2n-clx"*) + NODENESS="2n" + FLAVOR="clx" + ;; *"2n-skx"*) NODENESS="2n" FLAVOR="skx" @@ -806,6 +810,9 @@ function select_tags () { # - ipsechw - Blacklisted on testbeds without crypto hardware accelerator. # TODO: Add missing reasons here (if general) or where used (if specific). case "${TEST_CODE}" in + *"2n-clx"*) + test_tag_array+=("!ipsechw") + ;; *"2n-skx"*) test_tag_array+=("!ipsechw") ;; @@ -911,6 +918,10 @@ function select_topology () { TOPOLOGIES=( "${TOPOLOGIES_DIR}"/*vpp_device*.template ) TOPOLOGIES_TAGS="2_node_single_link_topo" ;; + "2n_clx") + TOPOLOGIES=( "${TOPOLOGIES_DIR}"/*2n_clx*.yaml ) + TOPOLOGIES_TAGS="2_node_*_link_topo" + ;; "2n_skx") TOPOLOGIES=( "${TOPOLOGIES_DIR}"/*2n_skx*.yaml ) TOPOLOGIES_TAGS="2_node_*_link_topo"