diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-10-18 14:15:32 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-10-19 04:41:03 +0000 |
commit | fcc77752111a4fbe8caa341cf5249efbad305a2a (patch) | |
tree | dafa71db46e5ede25d50a45fd48ad3ec25bb617c /tests/vpp/device/interfaces | |
parent | 510f6d5140db4512ff00a43bf5b8d2ddd1f4a064 (diff) |
Tests: Introduce driver layer
+ Small bugfixes in various suites
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I051af0a6da7340fe3f617400370c3846ca5241ab
Diffstat (limited to 'tests/vpp/device/interfaces')
3 files changed, 9 insertions, 3 deletions
diff --git a/tests/vpp/device/interfaces/eth2p-ethicmpv4-ip4base-eth-1tap-dev.robot b/tests/vpp/device/interfaces/eth2p-ethicmpv4-ip4base-eth-1tap-dev.robot index 0c845de6f3..12d8304ae6 100644 --- a/tests/vpp/device/interfaces/eth2p-ethicmpv4-ip4base-eth-1tap-dev.robot +++ b/tests/vpp/device/interfaces/eth2p-ethicmpv4-ip4base-eth-1tap-dev.robot @@ -40,6 +40,7 @@ *** Variables *** | @{plugins_to_enable}= | dpdk_plugin.so | ${nic_name}= | virtual +| ${nic_driver}= | vfio-pci | ${overhead}= | ${0} | ${tap1_VPP_ip}= | 16.0.10.1 | ${tap1_NM_ip}= | 16.0.10.2 @@ -70,7 +71,8 @@ | | And Add PCI devices to all DUTs | | And Set Max Rate And Jumbo And Handle Multi Seg | | And Apply startup configuration on all VPP DUTs | with_trace=${True} -| | When Set interfaces in path up +| | When Initialize layer driver | ${nic_driver} +| | And Initialize layer interface | | ${int1}= | And Add Tap Interface | ${dut1} | tap0 | | And VPP Interface Set IP Address | | ... | ${dut1} | ${int1} | ${tap1_VPP_ip} | ${prefix} diff --git a/tests/vpp/device/interfaces/eth2p-ethicmpv4-ip4base-eth-1tap-namespace-dev.robot b/tests/vpp/device/interfaces/eth2p-ethicmpv4-ip4base-eth-1tap-namespace-dev.robot index 7b6bbf4cb6..4d7a4f41e6 100644 --- a/tests/vpp/device/interfaces/eth2p-ethicmpv4-ip4base-eth-1tap-namespace-dev.robot +++ b/tests/vpp/device/interfaces/eth2p-ethicmpv4-ip4base-eth-1tap-namespace-dev.robot @@ -40,6 +40,7 @@ *** Variables *** | @{plugins_to_enable}= | dpdk_plugin.so | ${nic_name}= | virtual +| ${nic_driver}= | vfio-pci | ${overhead}= | ${0} | ${tap1_VPP_ip}= | 16.0.10.1 | ${tap1_NM_ip}= | 16.0.10.2 @@ -71,7 +72,8 @@ | | And Add PCI devices to all DUTs | | And Set Max Rate And Jumbo And Handle Multi Seg | | And Apply startup configuration on all VPP DUTs | with_trace=${True} -| | When Set interfaces in path up +| | When Initialize layer driver | ${nic_driver} +| | And Initialize layer interface | | ${int1}= | And Add Tap Interface | ${dut1} | tap0 | | And VPP Interface Set IP Address | | ... | ${dut1} | ${int1} | ${tap1_VPP_ip} | ${prefix} diff --git a/tests/vpp/device/interfaces/eth2p-ethicmpv4-l2bdbasemaclrn-eth-2tap-dev.robot b/tests/vpp/device/interfaces/eth2p-ethicmpv4-l2bdbasemaclrn-eth-2tap-dev.robot index e3eb2f4e7a..3bfe6e1709 100644 --- a/tests/vpp/device/interfaces/eth2p-ethicmpv4-l2bdbasemaclrn-eth-2tap-dev.robot +++ b/tests/vpp/device/interfaces/eth2p-ethicmpv4-l2bdbasemaclrn-eth-2tap-dev.robot @@ -41,6 +41,7 @@ *** Variables *** | @{plugins_to_enable}= | dpdk_plugin.so | ${nic_name}= | virtual +| ${nic_driver}= | vfio-pci | ${overhead}= | ${0} | ${bid_TAP}= | tapBr @@ -63,7 +64,8 @@ | | And Add PCI devices to all DUTs | | And Set Max Rate And Jumbo And Handle Multi Seg | | And Apply startup configuration on all VPP DUTs | with_trace=${True} -| | When Set interfaces in path up +| | When Initialize layer driver | ${nic_driver} +| | And Initialize layer interface | | ${int1}= | And Add Tap Interface | ${dut1} | tap0 | | ${int2}= | And Add Tap Interface | ${dut1} | tap1 | | And Set Interface State | ${dut1} | ${int1} | up |