aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash/function/device.sh
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-08-17 14:03:58 +0000
committerPeter Mikus <pmikus@cisco.com>2021-08-19 18:18:54 +0000
commit9f5525de03c3d1cbca8b7e2a324414308645a9f3 (patch)
treeb96b5f8ce9436e226180f5ad6f0d9c4ba6b95d50 /resources/libraries/bash/function/device.sh
parent8079ed2ff7e2fdd41474d286b98cd9be19481f7a (diff)
vpp_device: Multiple NICs (suitegen)
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I81958fbf6ef240d53a0fb8708ca882baf02f606c
Diffstat (limited to 'resources/libraries/bash/function/device.sh')
-rw-r--r--resources/libraries/bash/function/device.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/bash/function/device.sh b/resources/libraries/bash/function/device.sh
index 8bfb2e458c..eab31a65a6 100644
--- a/resources/libraries/bash/function/device.sh
+++ b/resources/libraries/bash/function/device.sh
@@ -527,7 +527,7 @@ function parse_env_variables () {
mac_address: "${TG_NETMACS[$((port-1))]}"
pci_address: "${TG_PCIDEVS[$((port-1))]}"
link: "link$((port-1))"
- model: "${TG_MODELS[$((port-1))]}"
+ model: ${TG_MODELS[$((port-1))]}
driver: "${TG_DRIVERS[$((port-1))]}"
vlan: ${TG_VLANS[$((port-1))]}
EOF
@@ -540,7 +540,7 @@ EOF
mac_address: "${DUT1_NETMACS[$((port-1))]}"
pci_address: "${DUT1_PCIDEVS[$((port-1))]}"
link: "link$((port-1))"
- model: "${DUT1_MODELS[$((port-1))]}"
+ model: ${DUT1_MODELS[$((port-1))]}
driver: "${DUT1_DRIVERS[$((port-1))]}"
vlan: ${DUT1_VLANS[$((port-1))]}
EOF