From: Jan Gelety Date: Thu, 30 May 2019 13:02:09 +0000 (+0200) Subject: Add possibility to use other then default NIC per VPP patch X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=1568878332fe52d48aa23f205e3c6f94e5c85fb7 Add possibility to use other then default NIC per VPP patch Change-Id: I25e51022e0ec961fce444bc8f0f4413d0e95d7eb Signed-off-by: Jan Gelety --- diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh index 1a9089d219..0daa1d31a0 100644 --- a/resources/libraries/bash/function/common.sh +++ b/resources/libraries/bash/function/common.sh @@ -694,7 +694,11 @@ function select_tags () { if [[ "${TEST_CODE}" == "vpp-"* ]]; then # Automatic prefixing for VPP jobs to limit the NIC used and # traffic evaluation to MRR. - prefix="${prefix}mrrAND${DEFAULT_NIC}AND" + if [[ "${TEST_TAG_STRING-}" == *"nic_"* ]]; then + prefix="${prefix}mrrAND" + else + prefix="${prefix}mrrAND${DEFAULT_NIC}AND" + fi fi for tag in "${test_tag_array[@]}"; do if [[ "${tag}" == "!"* ]]; then