aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash
diff options
context:
space:
mode:
authorTomas Alexy <tomas.alexy@pantheon.tech>2021-04-13 15:11:17 +0200
committerPeter Mikus <pmikus@cisco.com>2021-04-14 05:31:55 +0000
commit5d871ce45cf74a25768e8456c441c16335d23076 (patch)
tree1ce41dea1ce49f60da837913e5fa1ac151b30697 /resources/libraries/bash
parentf298242067b75b25dc1fd1a77860047c8fdecfbc (diff)
Infra: common.sh - add ENA 50g NIC
Signed-off-by: Tomas Alexy <tomas.alexy@pantheon.tech> Change-Id: Idc672f6086ab9d4ad38b52947a52c667d0908d8f
Diffstat (limited to 'resources/libraries/bash')
-rw-r--r--resources/libraries/bash/function/common.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh
index f5f86067ad..e511b17557 100644
--- a/resources/libraries/bash/function/common.sh
+++ b/resources/libraries/bash/function/common.sh
@@ -829,6 +829,7 @@ function select_tags () {
awk_nics_sub_cmd+='gsub("cx556a","100ge2p1cx556a");'
awk_nics_sub_cmd+='gsub("vic1227","10ge2p1vic1227");'
awk_nics_sub_cmd+='gsub("vic1385","40ge2p1vic1385");'
+ awk_nics_sub_cmd+='gsub("nitro-50g","50ge1p1ENA");'
awk_nics_sub_cmd+='if ($9 =="drv_avf") drv="avf-";'
awk_nics_sub_cmd+='else if ($9 =="drv_rdma_core") drv ="rdma-";'
awk_nics_sub_cmd+='else drv="";'