diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-03-08 15:23:48 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-03-18 20:14:02 +0000 |
commit | 22417d56aa83eaced43c4ef4473e38a34fdb4dfa (patch) | |
tree | e6942f12138e8bf1478b64d7bd2fed9c7adf0169 /tests/vpp/func/vm_vhost/l2bd | |
parent | 6aaecf9f7fe3f0ad0d9bbad20e4853472d3e72df (diff) |
CSIT-1386 KernelVM - Part I
- Refactor QemuUtils
Full refactor of QemuUtils to prepare for thinner VMs.
Change-Id: I171ba11a9e6e9faec582bd58df6819598b0ed0b5
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'tests/vpp/func/vm_vhost/l2bd')
8 files changed, 9 insertions, 28 deletions
diff --git a/tests/vpp/func/vm_vhost/l2bd/eth2p-dot1q-l2bdbasemaclrn-eth-2vhost-1vm-func.robot b/tests/vpp/func/vm_vhost/l2bd/eth2p-dot1q-l2bdbasemaclrn-eth-2vhost-1vm-func.robot index 4eaaefd4fa..7895fa13a8 100644 --- a/tests/vpp/func/vm_vhost/l2bd/eth2p-dot1q-l2bdbasemaclrn-eth-2vhost-1vm-func.robot +++ b/tests/vpp/func/vm_vhost/l2bd/eth2p-dot1q-l2bdbasemaclrn-eth-2vhost-1vm-func.robot @@ -17,13 +17,11 @@ | Resource | resources/libraries/robot/shared/testing_path.robot | Resource | resources/libraries/robot/l2/tagging.robot | Resource | resources/libraries/robot/l2/l2_traffic.robot -| Resource | resources/libraries/robot/vm/qemu.robot -| Resource | resources/libraries/robot/vm/double_qemu_setup.robot | Library | resources.libraries.python.Trace | Force Tags | 3_NODE_DOUBLE_LINK_TOPO | HW_ENV | VM_ENV | VPP_VM_ENV | Test Setup | Set up functional test | Test Teardown | Run Keywords | Tear down functional test -| ... | AND | Stop and clear QEMU | ${dut_node} | ${vm_node} +| ... | AND | Stop and clear QEMU | ${dut_node} | Documentation | *L2 bridge domain with VLAN tag over VM test cases* | ... | ... | *[Top] Network Topologies:* TG=DUT 2-node circular topology diff --git a/tests/vpp/func/vm_vhost/l2bd/eth2p-dot1q-l2bdbasemaclrn-eth-4vhost-2vm-fds-provider-nets-func.robot b/tests/vpp/func/vm_vhost/l2bd/eth2p-dot1q-l2bdbasemaclrn-eth-4vhost-2vm-fds-provider-nets-func.robot index e652ac44d0..f86fd75849 100644 --- a/tests/vpp/func/vm_vhost/l2bd/eth2p-dot1q-l2bdbasemaclrn-eth-4vhost-2vm-fds-provider-nets-func.robot +++ b/tests/vpp/func/vm_vhost/l2bd/eth2p-dot1q-l2bdbasemaclrn-eth-4vhost-2vm-fds-provider-nets-func.robot @@ -16,16 +16,13 @@ | Resource | resources/libraries/robot/ip/ip4.robot | Resource | resources/libraries/robot/l2/l2_bridge_domain.robot | Resource | resources/libraries/robot/shared/testing_path.robot -| Resource | resources/libraries/robot/vm/double_qemu_setup.robot -| Resource | resources/libraries/robot/vm/qemu.robot | Library | resources.libraries.python.Trace | ... | Force Tags | HW_ENV | VM_ENV | SKIP_PATCH | ... | Test Setup | Set up functional test | ... -| Test Teardown | Tear down FDS functional test | ${dut1_node} | ${qemu_node1} -| ... | ${dut2_node} | ${qemu_node2} +| Test Teardown | Tear down FDS functional test | ${dut1_node} | ${dut2_node} | ... | Documentation | *Provider network FDS related.* | ... diff --git a/tests/vpp/func/vm_vhost/l2bd/eth2p-eth-l2bdbasemaclrn-eth-2vhost-1vm-func.robot b/tests/vpp/func/vm_vhost/l2bd/eth2p-eth-l2bdbasemaclrn-eth-2vhost-1vm-func.robot index e7af3f0338..38195c35f1 100644 --- a/tests/vpp/func/vm_vhost/l2bd/eth2p-eth-l2bdbasemaclrn-eth-2vhost-1vm-func.robot +++ b/tests/vpp/func/vm_vhost/l2bd/eth2p-eth-l2bdbasemaclrn-eth-2vhost-1vm-func.robot @@ -15,12 +15,11 @@ | Resource | resources/libraries/robot/shared/default.robot | Resource | resources/libraries/robot/l2/l2_bridge_domain.robot | Resource | resources/libraries/robot/shared/testing_path.robot -| Resource | resources/libraries/robot/vm/qemu.robot | Library | resources.libraries.python.Trace | Force Tags | 3_NODE_DOUBLE_LINK_TOPO | HW_ENV | VM_ENV | VPP_VM_ENV | Test Setup | Set up functional test | Test Teardown | Run Keywords | Tear down functional test -| ... | AND | Stop and clear QEMU | ${dut_node} | ${vm_node} +| ... | AND | Stop and clear QEMU | ${dut_node} | Documentation | *L2 bridge-domain test cases* | ... | ... | *[Top] Network Topologies:* TG=DUT=VM 3-node topology with VM diff --git a/tests/vpp/func/vm_vhost/l2bd/eth2p-eth-l2bdbasemacstc-eth-2vhost-1vm-func.robot b/tests/vpp/func/vm_vhost/l2bd/eth2p-eth-l2bdbasemacstc-eth-2vhost-1vm-func.robot index 18ad1b77c3..5242938848 100644 --- a/tests/vpp/func/vm_vhost/l2bd/eth2p-eth-l2bdbasemacstc-eth-2vhost-1vm-func.robot +++ b/tests/vpp/func/vm_vhost/l2bd/eth2p-eth-l2bdbasemacstc-eth-2vhost-1vm-func.robot @@ -15,12 +15,11 @@ | Resource | resources/libraries/robot/shared/default.robot | Resource | resources/libraries/robot/l2/l2_bridge_domain.robot | Resource | resources/libraries/robot/shared/testing_path.robot -| Resource | resources/libraries/robot/vm/qemu.robot | Library | resources.libraries.python.Trace | Force Tags | 3_NODE_DOUBLE_LINK_TOPO | HW_ENV | VM_ENV | VPP_VM_ENV | Test Setup | Set up functional test | Test Teardown | Run Keywords | Tear down functional test -| ... | AND | Stop and clear QEMU | ${dut_node} | ${vm_node} +| ... | AND | Stop and clear QEMU | ${dut_node} | Documentation | *L2 bridge-domain test cases* | ... | ... | *[Top] Network Topologies:* TG=DUT=VM 3-node topology with VM diff --git a/tests/vpp/func/vm_vhost/l2bd/eth2p-ethip4-l2bdbase-vhost-client-reconnect-2vm-func.robot b/tests/vpp/func/vm_vhost/l2bd/eth2p-ethip4-l2bdbase-vhost-client-reconnect-2vm-func.robot index 4609aa10d2..6a65d04d0d 100644 --- a/tests/vpp/func/vm_vhost/l2bd/eth2p-ethip4-l2bdbase-vhost-client-reconnect-2vm-func.robot +++ b/tests/vpp/func/vm_vhost/l2bd/eth2p-ethip4-l2bdbase-vhost-client-reconnect-2vm-func.robot @@ -15,7 +15,6 @@ | Resource | resources/libraries/robot/shared/default.robot | Resource | resources/libraries/robot/l2/l2_bridge_domain.robot | Resource | resources/libraries/robot/shared/testing_path.robot -| Resource | resources/libraries/robot/vm/qemu.robot | Resource | resources/libraries/robot/overlay/vxlan.robot | Library | resources.libraries.python.Trace | Force Tags | HW_ENV | VM_ENV | 3_NODE_DOUBLE_LINK_TOPO | VPP_VM_ENV diff --git a/tests/vpp/func/vm_vhost/l2bd/eth2p-ethip4vxlan-l2bdbasemaclrn--eth-4vhost-2vm-fds-tenant-nets-func.robot b/tests/vpp/func/vm_vhost/l2bd/eth2p-ethip4vxlan-l2bdbasemaclrn--eth-4vhost-2vm-fds-tenant-nets-func.robot index 2d81d3b592..47728d73c7 100644 --- a/tests/vpp/func/vm_vhost/l2bd/eth2p-ethip4vxlan-l2bdbasemaclrn--eth-4vhost-2vm-fds-tenant-nets-func.robot +++ b/tests/vpp/func/vm_vhost/l2bd/eth2p-ethip4vxlan-l2bdbasemaclrn--eth-4vhost-2vm-fds-tenant-nets-func.robot @@ -16,16 +16,13 @@ | Resource | resources/libraries/robot/ip/ip4.robot | Resource | resources/libraries/robot/l2/l2_bridge_domain.robot | Resource | resources/libraries/robot/shared/testing_path.robot -| Resource | resources/libraries/robot/vm/double_qemu_setup.robot -| Resource | resources/libraries/robot/vm/qemu.robot | Library | resources.libraries.python.Trace | ... | Force Tags | HW_ENV | VM_ENV | SKIP_PATCH | ... | Test Setup | Set up functional test | ... -| Test Teardown | Tear down FDS functional test | ${dut1_node} | ${qemu_node1} -| ... | ${dut2_node} | ${qemu_node2} +| Test Teardown | Tear down FDS functional test | ${dut1_node} | ${dut2_node} | ... | Documentation | *Tenant network FDS related.* | ... diff --git a/tests/vpp/func/vm_vhost/l2bd/eth2p-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot b/tests/vpp/func/vm_vhost/l2bd/eth2p-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot index d6f4e57143..27691fe80c 100644 --- a/tests/vpp/func/vm_vhost/l2bd/eth2p-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot +++ b/tests/vpp/func/vm_vhost/l2bd/eth2p-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot @@ -16,16 +16,12 @@ | Resource | resources/libraries/robot/shared/testing_path.robot | Resource | resources/libraries/robot/overlay/vxlan.robot | Resource | resources/libraries/robot/l2/l2_traffic.robot -| Resource | resources/libraries/robot/vm/qemu.robot -| Resource | resources/libraries/robot/vm/double_qemu_setup.robot | Library | resources.libraries.python.Trace | Force Tags | 3_NODE_SINGLE_LINK_TOPO | VM_ENV | HW_ENV | VPP_VM_ENV | Test Setup | Set up functional test | Test Teardown | Run Keywords | Tear down functional test -| ... | AND | Run keyword | Tear down QEMU | ${dut1_node} -| ... | ${${qemu1}} | ${qemu1} -| ... | AND | Run keyword | Tear down QEMU | ${dut2_node} -| ... | ${${qemu2}} | ${qemu2} +| ... | AND | Run keyword | Tear down QEMU | ${dut1_node} | ${qemu1} +| ... | AND | Run keyword | Tear down QEMU | ${dut2_node} | ${qemu2} | Documentation | *L2BD with VM combined with VXLAN test cases - IPv4* | ... | ... | *[Top] Network topologies:* TG-DUT1-DUT2-TG 3-node circular topology diff --git a/tests/vpp/func/vm_vhost/l2bd/eth2p-ethip6vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot b/tests/vpp/func/vm_vhost/l2bd/eth2p-ethip6vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot index cde7bd8aff..c7b905d668 100644 --- a/tests/vpp/func/vm_vhost/l2bd/eth2p-ethip6vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot +++ b/tests/vpp/func/vm_vhost/l2bd/eth2p-ethip6vxlan-l2bdbasemaclrn-eth-2vhost-1vm-func.robot @@ -16,17 +16,13 @@ | Resource | resources/libraries/robot/shared/testing_path.robot | Resource | resources/libraries/robot/overlay/vxlan.robot | Resource | resources/libraries/robot/l2/l2_traffic.robot -| Resource | resources/libraries/robot/vm/qemu.robot -| Resource | resources/libraries/robot/vm/double_qemu_setup.robot | Library | resources.libraries.python.Trace | Library | resources.libraries.python.IPv6Setup | Force Tags | 3_NODE_SINGLE_LINK_TOPO | VM_ENV | HW_ENV | Test Setup | Set up functional test | Test Teardown | Run Keywords | Tear down functional test -| ... | AND | Run keyword | Tear down QEMU | ${dut1_node} -| ... | ${${qemu1}} | ${qemu1} -| ... | AND | Run keyword | Tear down QEMU | ${dut2_node} -| ... | ${${qemu2}} | ${qemu2} +| ... | AND | Run keyword | Tear down QEMU | ${dut1_node} | ${qemu1} +| ... | AND | Run keyword | Tear down QEMU | ${dut2_node} | ${qemu2} | Documentation | *L2BD with VM combined with VXLAN test cases - IPv6* | ... | ... | *[Top] Network topologies:* TG-DUT1-DUT2-TG 3-node circular topology |