X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Ffunction%2Fdevice.sh;h=1819c457bba5a5633ee835e828cc9f9d5efb187b;hp=ce88ec8c463f7c0eae656c0f8960cfe9c1874a6f;hb=b55e324d526e5b05baef015c3614b9743c955992;hpb=7d7259ab1a065f0d1f849b29270514eacd3a1efe diff --git a/resources/libraries/bash/function/device.sh b/resources/libraries/bash/function/device.sh index ce88ec8c46..1819c457bb 100644 --- a/resources/libraries/bash/function/device.sh +++ b/resources/libraries/bash/function/device.sh @@ -291,8 +291,8 @@ function get_available_interfaces () { # Add Intel Corporation 82545EM Gigabit Ethernet Controller to the # whitelist. pci_id="0x100f" - tg_netdev=(enpTGa enpTGb) - dut1_netdev=(enpSUTa enpSUTb) + tg_netdev=(enp0s8 enp0s9) + dut1_netdev=(enp0s16 enp0s17) ;; *) die "Unknown specification: ${case_text}!" @@ -606,8 +606,8 @@ function start_topology_containers () { # Override access to PCI bus by attaching a filesystem mount to the # container. dcr_stc_params+="--mount type=tmpfs,destination=/sys/bus/pci/devices " - # Mount vfio to be able to bind to see binded interfaces. We cannot use - # --device=/dev/vfio as this does not see newly binded interfaces. + # Mount vfio to be able to bind to see bound interfaces. We cannot use + # --device=/dev/vfio as this does not see newly bound interfaces. dcr_stc_params+="--volume /dev/vfio:/dev/vfio " # Mount docker.sock to be able to use docker deamon of the host. dcr_stc_params+="--volume /var/run/docker.sock:/var/run/docker.sock "