Improve 1n-skx vpp_device mapping function 12/17312/1
authorPeter Mikus <pmikus@cisco.com>
Mon, 28 Jan 2019 20:12:02 +0000 (20:12 +0000)
committerPeter Mikus <pmikus@cisco.com>
Tue, 5 Feb 2019 06:45:28 +0000 (06:45 +0000)
commit09110dba36e5bef6d2702ff386434b34598e1e4b
tree9097ee7a79f1310d454eba6d883b01ee159d10d7
parent22ff475dae7f9f09e8b3b7c899731803752761c0
Improve 1n-skx vpp_device mapping function

Improve mapping function for 1n-skx vpp_device to pickup
available DUT1 net_dev and replace the name with TG net_dev prefix.
This way we can eliminate situation, when pair with not equal VLANs
are picked.

Change-Id: If78329e730bfb4df34fb8d8924c8715d69a15e0c
Signed-off-by: Peter Mikus <pmikus@cisco.com>
(cherry picked from commit 1c108d51c08631548dc2b2ba1b7652e0b577d82c)
(cherry picked from commit 44bc8611bca15c49663a89cfb29cf0ec1a5ed17e)
resources/libraries/bash/function/device.sh