aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2019-04-03 03:28:13 +0200
committerJan Gelety <jgelety@cisco.com>2019-04-03 03:28:13 +0200
commita2738c39743aa429bd4b06d9887dfd261f97e29c (patch)
tree5d71e650e8688e269996e30e4875fda9b9923564
parentdab2c1f6a0252ce11b3d7da3431a7a3daa1e0b30 (diff)
Remove obsolete FDS tests
Change-Id: Ie161f7003cb33596ac7856783b332a75b5dbc14e Signed-off-by: Jan Gelety <jgelety@cisco.com>
-rw-r--r--resources/libraries/robot/shared/default.robot17
-rw-r--r--tests/vpp/func/vm_vhost/l2bd/eth2p-dot1q-l2bdbasemaclrn-eth-4vhost-2vm-fds-provider-nets-func.robot337
-rw-r--r--tests/vpp/func/vm_vhost/l2bd/eth2p-ethip4vxlan-l2bdbasemaclrn--eth-4vhost-2vm-fds-tenant-nets-func.robot329
3 files changed, 0 insertions, 683 deletions
diff --git a/resources/libraries/robot/shared/default.robot b/resources/libraries/robot/shared/default.robot
index 70f5da837b..8f1924250f 100644
--- a/resources/libraries/robot/shared/default.robot
+++ b/resources/libraries/robot/shared/default.robot
@@ -596,23 +596,6 @@
| | Linux Del Bridge | ${nodes['DUT1']} | ${bid_TAP}
| | Clean Up Namespaces | ${nodes['DUT1']}
-| Tear down FDS functional test
-| | [Documentation] | Common test teardown for FDS functional tests.
-| | ...
-| | ... | *Arguments:*
-| | ... | - dut1_node - Node Nr.1 where to clean qemu. Type: dictionary
-| | ... | - dut2_node - Node Nr.2 where to clean qemu. Type: dictionary
-| | ...
-| | ... | *Example:*
-| | ...
-| | ... | \| Tear down FDS functional test \| ${dut1_node} \| ${dut2_node} \|
-| | ...
-| | [Arguments] | ${dut1_node} | ${dut2_node}
-| | ...
-| | Tear down functional test
-| | Tear down QEMU | qemu_node1
-| | Tear down QEMU | qemu_node2
-
| Tear down functional test with container
| | [Documentation]
| | ... | Common test teardown for functional tests which uses containers.
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
deleted file mode 100644
index f86fd75849..0000000000
--- a/tests/vpp/func/vm_vhost/l2bd/eth2p-dot1q-l2bdbasemaclrn-eth-4vhost-2vm-fds-provider-nets-func.robot
+++ /dev/null
@@ -1,337 +0,0 @@
-# Copyright (c) 2016 Cisco and/or its affiliates.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at:
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-*** Settings ***
-| Resource | resources/libraries/robot/shared/default.robot
-| Resource | resources/libraries/robot/ip/ip4.robot
-| Resource | resources/libraries/robot/l2/l2_bridge_domain.robot
-| Resource | resources/libraries/robot/shared/testing_path.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} | ${dut2_node}
-| ...
-| Documentation | *Provider network FDS related.*
-| ...
-| ... | Test suite uses 3-node topology TG - DUT1 - DUT2 - TG
-| ... | with one link between nodes. Test packets are sent in both directions
-| ... | between namespaces in DUT1 and DUT2 with both positive and negative
-| ... | scenarios tested.
-
-*** Variables ***
-| ${bd_id1}= | 1
-| ${bd_id2}= | 2
-| ${shg1}= | 3
-| ${shg2}= | 4
-| ${sock1}= | /tmp/sock1
-| ${sock2}= | /tmp/sock2
-| ${sock3}= | /tmp/sock3
-| ${sock4}= | /tmp/sock4
-
-| ${bid_b}= | 23
-| ${bid_r}= | 24
-
-| ${vlan_red}= | 50
-| ${vlan_blue}= | 60
-
-| ${dut1_if_ip}= | 16.0.0.1
-| ${dut2_if_ip}= | 16.0.0.2
-
-| ${dut1_blue1}= | 16.0.10.1
-| ${dut1_blue2}= | 16.0.10.2
-| ${dut1_red1}= | 16.0.10.3
-| ${dut1_red2}= | 16.0.10.4
-
-| ${dut2_blue1}= | 16.0.20.1
-| ${dut2_blue2}= | 16.0.20.2
-| ${dut2_red1}= | 16.0.20.3
-| ${dut2_red2}= | 16.0.20.4
-
-| ${namespace1}= | nmspace1
-| ${namespace2}= | nmspace2
-| ${namespace3}= | nmspace3
-| ${namespace4}= | nmspace4
-
-| ${prefix_length}= | 16
-
-*** Test Cases ***
-| Provider network test cases with provider physical networks (VLAN)
-| | [Documentation] | Ping among all ports inside the same network should pass.
-| | ... | a) test l2 connectivity inside every network
-| | ... | b) test l2 connectivity between networks
-| | [Tags] | 3_NODE_DOUBLE_LINK_TOPO | VPP_VM_ENV
-| | Given Configure path in 3-node circular topology | ${nodes['TG']}
-| | ... | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']}
-| | And Set Interface Address | ${dut1_node} | ${dut1_to_dut2} | ${dut1_if_ip}
-| | ... | ${prefix_length}
-| | And Set Interface Address | ${dut2_node} | ${dut2_to_dut1} | ${dut2_if_ip}
-| | ... | ${prefix_length}
-| | And Set Interface State | ${dut1_node} | ${dut1_to_dut2} | up
-| | And Set Interface State | ${dut2_node} | ${dut2_to_dut1} | up
-| | ${vhost_if1_DUT1}= | And Vpp Create Vhost User Interface
-| | ... | ${dut1_node} | ${sock1}
-| | ${vhost_if2_DUT1}= | And Vpp Create Vhost User Interface
-| | ... | ${dut1_node} | ${sock2}
-| | ${vhost_if3_DUT1}= | And Vpp Create Vhost User Interface
-| | ... | ${dut1_node} | ${sock3}
-| | ${vhost_if4_DUT1}= | And Vpp Create Vhost User Interface
-| | ... | ${dut1_node} | ${sock4}
-| | ${dut1_vhosts}= | And Create List | ${vhost_if1_DUT1} | ${vhost_if2_DUT1}
-| | ... | ${vhost_if3_DUT1} | ${vhost_if4_DUT1}
-| | ${vhost_if1_DUT2}= | And Vpp Create Vhost User Interface
-| | ... | ${dut2_node} | ${sock1}
-| | ${vhost_if2_DUT2}= | And Vpp Create Vhost User Interface
-| | ... | ${dut2_node} | ${sock2}
-| | ${vhost_if3_DUT2}= | And Vpp Create Vhost User Interface
-| | ... | ${dut2_node} | ${sock3}
-| | ${vhost_if4_DUT2}= | And Vpp Create Vhost User Interface
-| | ... | ${dut2_node} | ${sock4}
-| | ${dut2_vhosts}= | And Create List | ${vhost_if1_DUT2} | ${vhost_if2_DUT2}
-| | ... | ${vhost_if3_DUT2} | ${vhost_if4_DUT2}
-| | When Configure QEMU vhost and run it | ${dut1_node}
-| | ... | ${sock1}
-| | ... | ${sock2}
-| | ... | ${sock3}
-| | ... | ${sock4}
-| | ... | ${dut1_blue1}
-| | ... | ${dut1_blue2}
-| | ... | ${dut1_red1}
-| | ... | ${dut1_red2}
-| | ... | ${prefix_length}
-| | ... | qemu_node1
-| | ... | 04
-| | And Configure QEMU vhost and run it | ${dut2_node}
-| | ... | ${sock1}
-| | ... | ${sock2}
-| | ... | ${sock3}
-| | ... | ${sock4}
-| | ... | ${dut2_blue1}
-| | ... | ${dut2_blue2}
-| | ... | ${dut2_red1}
-| | ... | ${dut2_red2}
-| | ... | ${prefix_length}
-| | ... | qemu_node2
-| | ... | 06
-| | And Setup VLAN and BD on Dut | ${dut1_node} | ${dut1_to_dut2}
-| | ... | @{dut1_vhosts}
-| | And Setup VLAN and BD on Dut | ${dut2_node} | ${dut2_to_dut1}
-| | ... | @{dut2_vhosts}
-| | Then Positive Scenario Ping From DUT1 - Intra network
-| | And Positive Scenario Ping From DUT1 - Inter network
-| | And Positive Scenario Ping From DUT2 - Intra network
-| | And Positive Scenario Ping From DUT2 - Inter network
-| | And Negative Scenario Ping From DUT1 - Intra network
-| | And Negative Scenario Ping From DUT1 - Inter network
-| | And Negative Scenario Ping From DUT2 - Intra network
-| | And Negative Scenario Ping From DUT2 - Inter network
-
-*** Keywords ***
-| Setup VLAN and BD on Dut
-| | [Documentation] | Setup VLAN and bridge domain on specific DUT and
-| | ... | subsequently interconnect them properly. Also set VLAN tag
-| | ... | rewrite on vhosts.
-| | ...
-| | ... | *Arguments:*
-| | ... | - dut_node - Node where to setup VLAN and BD. Type: dict
-| | ... | - interface - Interface where to create VLAN sub-interface.
-| | ... | Type: string
-| | ... | - vhosts - List containing vhost interfaces.
-| | ...
-| | ... | *Example:*
-| | ...
-| | ... | \| Setup VLAN and BD on Dut \| ${dut_node} \| GigabitEthernet0/6/0 \
-| | ... | \| @{vhosts} \|
-| | ...
-| | [Arguments] | ${dut_node} | ${interface} | @{vhosts}
-| | Create bridge domain | ${dut_node} | ${bid_b} | learn=${TRUE}
-| | Create bridge domain | ${dut_node} | ${bid_r} | learn=${TRUE}
-| | ${interface_name}= | Get interface name | ${dut_node} | ${interface}
-| | ${vlan1_name} | ${vlan1_index}= | Create Vlan Subinterface
-| | ... | ${dut_node} | ${interface_name} | ${vlan_blue}
-| | ${vlan2_name} | ${vlan2_index}= | Create Vlan Subinterface
-| | ... | ${dut_node} | ${interface_name} | ${vlan_red}
-| | L2 Vlan Tag Rewrite | ${dut_node} | @{vhosts}[0] | push-1
-| | ... | tag1_id=${vlan_blue}
-| | L2 Vlan Tag Rewrite | ${dut_node} | @{vhosts}[1] | push-1
-| | ... | tag1_id=${vlan_blue}
-| | L2 Vlan Tag Rewrite | ${dut_node} | @{vhosts}[2] | push-1
-| | ... | tag1_id=${vlan_red}
-| | L2 Vlan Tag Rewrite | ${dut_node} | @{vhosts}[3] | push-1
-| | ... | tag1_id=${vlan_red}
-| | Add interface to bridge domain | ${dut_node}
-| | ... | ${vlan1_index} | ${bid_b} | 0
-| | Add interface to bridge domain | ${dut_node}
-| | ... | @{vhosts}[0] | ${bid_b} | 0
-| | Add interface to bridge domain | ${dut_node}
-| | ... | @{vhosts}[1] | ${bid_b} | 0
-| | Add interface to bridge domain | ${dut_node}
-| | ... | ${vlan2_index} | ${bid_r} | 0
-| | Add interface to bridge domain | ${dut_node}
-| | ... | @{vhosts}[2] | ${bid_r} | 0
-| | Add interface to bridge domain | ${dut_node}
-| | ... | @{vhosts}[3] | ${bid_r} | 0
-
-| Positive Scenario Ping From DUT1 - Intra network
-| | [Documentation] | Send ping packets from specified namespaces to other in
-| | ... | order to test connectivity.
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_blue2} | ${namespace1}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_blue1} | ${namespace2}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_red2} | ${namespace3}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_red1} | ${namespace4}
-
-| Positive Scenario Ping From DUT1 - Inter network
-| | [Documentation] | Send ping packets from specified namespaces to other in
-| | ... | order to test connectivity.
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_blue1} | ${namespace1}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_blue2} | ${namespace1}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_blue1} | ${namespace2}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_blue2} | ${namespace2}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_red1} | ${namespace3}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_red2} | ${namespace3}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_red1} | ${namespace4}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_red2} | ${namespace4}
-
-| Positive Scenario Ping From DUT2 - Intra network
-| | [Documentation] | Send ping packets from specified namespaces to other in
-| | ... | order to test connectivity.
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_blue2} | ${namespace1}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_blue1} | ${namespace2}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_red2} | ${namespace3}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_red1} | ${namespace4}
-
-| Positive Scenario Ping From DUT2 - Inter network
-| | [Documentation] | Send ping packets from specified namespaces to other in
-| | ... | order to test connectivity.
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_blue1} | ${namespace1}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_blue2} | ${namespace1}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_blue1} | ${namespace2}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_blue2} | ${namespace2}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_red1} | ${namespace3}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_red2} | ${namespace3}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_red1} | ${namespace4}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_red2} | ${namespace4}
-
-| Negative Scenario Ping From DUT1 - Intra network
-| | [Documentation] | Send ping packets from specified namespaces to other in
-| | ... | order to test unreachability of namespaces.
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_red1}
-| | ... | ${namespace1}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_red2}
-| | ... | ${namespace1}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_red1}
-| | ... | ${namespace2}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_red2}
-| | ... | ${namespace2}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_blue1}
-| | ... | ${namespace3}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_blue2}
-| | ... | ${namespace3}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_blue1}
-| | ... | ${namespace4}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_blue2}
-| | ... | ${namespace4}
-
-| Negative Scenario Ping From DUT1 - Inter network
-| | [Documentation] | Send ping packets from specified namespaces to other in
-| | ... | order to test unreachability of namespaces.
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_red1}
-| | ... | ${namespace1}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_red2}
-| | ... | ${namespace1}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_red1}
-| | ... | ${namespace2}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_red2}
-| | ... | ${namespace2}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_blue1}
-| | ... | ${namespace3}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_blue2}
-| | ... | ${namespace3}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_blue1}
-| | ... | ${namespace4}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_blue2}
-| | ... | ${namespace4}
-
-| Negative Scenario Ping From DUT2 - Intra network
-| | [Documentation] | Send ping packets from specified namespaces to other in
-| | ... | order to test unreachability of namespaces.
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_red1}
-| | ... | ${namespace1}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_red2}
-| | ... | ${namespace1}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_red1}
-| | ... | ${namespace2}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_red2}
-| | ... | ${namespace2}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_blue1}
-| | ... | ${namespace3}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_blue2}
-| | ... | ${namespace3}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_blue1}
-| | ... | ${namespace4}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_blue2}
-| | ... | ${namespace4}
-
-| Negative Scenario Ping From DUT2 - Inter network
-| | [Documentation] | Send ping packets from specified namespaces to other in
-| | ... | order to test unreachability of namespaces.
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_red1}
-| | ... | ${namespace1}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_red2}
-| | ... | ${namespace1}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_red1}
-| | ... | ${namespace2}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_red2}
-| | ... | ${namespace2}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_blue1}
-| | ... | ${namespace3}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_blue2}
-| | ... | ${namespace3}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_blue1}
-| | ... | ${namespace4}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_blue2}
-| | ... | ${namespace4}
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
deleted file mode 100644
index 47728d73c7..0000000000
--- a/tests/vpp/func/vm_vhost/l2bd/eth2p-ethip4vxlan-l2bdbasemaclrn--eth-4vhost-2vm-fds-tenant-nets-func.robot
+++ /dev/null
@@ -1,329 +0,0 @@
-# Copyright (c) 2016 Cisco and/or its affiliates.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at:
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-*** Settings ***
-| Resource | resources/libraries/robot/shared/default.robot
-| Resource | resources/libraries/robot/ip/ip4.robot
-| Resource | resources/libraries/robot/l2/l2_bridge_domain.robot
-| Resource | resources/libraries/robot/shared/testing_path.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} | ${dut2_node}
-| ...
-| Documentation | *Tenant network FDS related.*
-| ...
-| ... | Test suite uses 3-node topology TG - DUT1 - DUT2 - TG
-| ... | with one link between nodes. Test packets are sent in both directions
-| ... | between namespaces in DUT1 and DUT2 with both positive and negative
-| ... | scenarios tested.
-
-*** Variables ***
-| ${bd_id1}= | 1
-| ${bd_id2}= | 2
-| ${shg1}= | 3
-| ${shg2}= | 4
-| ${sock1}= | /tmp/sock1
-| ${sock2}= | /tmp/sock2
-| ${sock3}= | /tmp/sock3
-| ${sock4}= | /tmp/sock4
-
-| ${vni_blue}= | 23
-| ${vni_red}= | 24
-
-| ${bid_b}= | 23
-| ${bid_r}= | 24
-
-| ${dut1_if_ip}= | 16.0.0.1
-| ${dut2_if_ip}= | 16.0.0.2
-
-| ${dut1_blue1}= | 16.0.10.1
-| ${dut1_blue2}= | 16.0.10.2
-| ${dut1_red1}= | 16.0.10.3
-| ${dut1_red2}= | 16.0.10.4
-
-| ${dut2_blue1}= | 16.0.20.1
-| ${dut2_blue2}= | 16.0.20.2
-| ${dut2_red1}= | 16.0.20.3
-| ${dut2_red2}= | 16.0.20.4
-
-| ${namespace1}= | nmspace1
-| ${namespace2}= | nmspace2
-| ${namespace3}= | nmspace3
-| ${namespace4}= | nmspace4
-
-| ${prefix_length}= | 16
-
-*** Test Cases ***
-| L2 test cases with tenant networks (VXLAN)
-| | [Documentation] | Ping among all ports inside the same network should pass.
-| | ... | a) test l2 connectivity inside every network
-| | ... | b) test l2 connectivity between networks
-| | [Tags] | 3_NODE_DOUBLE_LINK_TOPO | VPP_VM_ENV
-| | Given Configure path in 3-node circular topology
-| | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']}
-| | And Set Interface Address
-| | ... | ${dut1_node} | ${dut1_to_dut2} | ${dut1_if_ip} | ${prefix_length}
-| | And Set Interface Address
-| | ... | ${dut2_node} | ${dut2_to_dut1} | ${dut2_if_ip} | ${prefix_length}
-| | And Set Interface State | ${dut1_node} | ${dut1_to_dut2} | up
-| | And Set Interface State | ${dut2_node} | ${dut2_to_dut1} | up
-| | ${vhost_if1_DUT1}= | And Vpp Create Vhost User Interface
-| | ... | ${dut1_node} | ${sock1}
-| | ${vhost_if2_DUT1}= | And Vpp Create Vhost User Interface
-| | ... | ${dut1_node} | ${sock2}
-| | ${vhost_if3_DUT1}= | And Vpp Create Vhost User Interface
-| | ... | ${dut1_node} | ${sock3}
-| | ${vhost_if4_DUT1}= | And Vpp Create Vhost User Interface
-| | ... | ${dut1_node} | ${sock4}
-| | ${dut1_vhosts}= | And Create List | ${vhost_if1_DUT1} | ${vhost_if2_DUT1}
-| | ... | ${vhost_if3_DUT1} | ${vhost_if4_DUT1}
-| | ${vhost_if1_DUT2}= | And Vpp Create Vhost User Interface
-| | ... | ${dut2_node} | ${sock1}
-| | ${vhost_if2_DUT2}= | And Vpp Create Vhost User Interface
-| | ... | ${dut2_node} | ${sock2}
-| | ${vhost_if3_DUT2}= | And Vpp Create Vhost User Interface
-| | ... | ${dut2_node} | ${sock3}
-| | ${vhost_if4_DUT2}= | And Vpp Create Vhost User Interface
-| | ... | ${dut2_node} | ${sock4}
-| | ${dut2_vhosts}= | And Create List | ${vhost_if1_DUT2} | ${vhost_if2_DUT2}
-| | ... | ${vhost_if3_DUT2} | ${vhost_if4_DUT2}
-| | When Configure QEMU vhost and run it | ${dut1_node}
-| | ... | ${sock1}
-| | ... | ${sock2}
-| | ... | ${sock3}
-| | ... | ${sock4}
-| | ... | ${dut1_blue1}
-| | ... | ${dut1_blue2}
-| | ... | ${dut1_red1}
-| | ... | ${dut1_red2}
-| | ... | ${prefix_length}
-| | ... | qemu_node1
-| | ... | 04
-| | And Configure QEMU vhost and run it | ${dut2_node}
-| | ... | ${sock1}
-| | ... | ${sock2}
-| | ... | ${sock3}
-| | ... | ${sock4}
-| | ... | ${dut2_blue1}
-| | ... | ${dut2_blue2}
-| | ... | ${dut2_red1}
-| | ... | ${dut2_red2}
-| | ... | ${prefix_length}
-| | ... | qemu_node2
-| | ... | 06
-| | And Setup VXLAN and BD on Dut | ${dut1_node} | ${dut1_if_ip} | ${dut2_if_ip}
-| | ... | @{dut1_vhosts}
-| | And Setup VXLAN and BD on Dut | ${dut2_node} | ${dut2_if_ip} | ${dut1_if_ip}
-| | ... | @{dut2_vhosts}
-| | Then Positive Scenario Ping From DUT1 - Intra network
-| | And Positive Scenario Ping From DUT1 - Inter network
-| | And Positive Scenario Ping From DUT2 - Intra network
-| | And Positive Scenario Ping From DUT2 - Inter network
-| | And Negative Scenario Ping From DUT1 - Intra network
-| | And Negative Scenario Ping From DUT1 - Inter network
-| | And Negative Scenario Ping From DUT2 - Intra network
-| | And Negative Scenario Ping From DUT2 - Inter network
-
-*** Keywords ***
-| Setup VXLAN and BD on Dut
-| | [Documentation] | Setup VXLAN and bridge domain on specific DUT and
-| | ... | subsequently interconnect them properly.
-| | ...
-| | ... | *Arguments:*
-| | ... | - dut_node - Node where to setup vxlan and BD. Type: dict
-| | ... | - src_ip - Source IP for VXLAN. Type: string
-| | ... | - dst_ip - Destination IP for vxlan. Type: string
-| | ... | - vhosts - List containing vhost interfaces.
-| | ...
-| | ... | *Example:*
-| | ...
-| | ... | \| Setup VXLAN and BD on Dut \| ${dut_node} \| 16.0.0.1 \| 16.0.0.1 \
-| | ... | \| @{vhosts} \|
-| | ...
-| | [Arguments] | ${dut_node} | ${src_ip} | ${dst_ip} | @{vhosts}
-| | Create bridge domain
-| | ... | ${dut_node} | ${bid_b} | learn=${TRUE}
-| | Create bridge domain
-| | ... | ${dut_node} | ${bid_r} | learn=${TRUE}
-| | ${vxlan1_if}= | Create VXLAN interface | ${dut_node} | ${vni_blue}
-| | ... | ${src_ip} | ${dst_ip}
-| | ${vxlan2_if}= | Create VXLAN interface | ${dut_node} | ${vni_red}
-| | ... | ${src_ip} | ${dst_ip}
-| | Add interface to bridge domain
-| | ... | ${dut_node} | ${vxlan1_if} | ${bid_b} | 0
-| | Add interface to bridge domain
-| | ... | ${dut_node} | @{vhosts}[0] | ${bid_b} | 0
-| | Add interface to bridge domain
-| | ... | ${dut_node} | @{vhosts}[1] | ${bid_b} | 0
-| | Add interface to bridge domain
-| | ... | ${dut_node} | ${vxlan2_if} | ${bid_r} | 0
-| | Add interface to bridge domain
-| | ... | ${dut_node} | @{vhosts}[2] | ${bid_r} | 0
-| | Add interface to bridge domain
-| | ... | ${dut_node} | @{vhosts}[3] | ${bid_r} | 0
-
-| Positive Scenario Ping From DUT1 - Intra network
-| | [Documentation] | Send ping packets from specified namespaces to other in
-| | ... | order to test connectivity.
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_blue2} | ${namespace1}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_blue1} | ${namespace2}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_red2} | ${namespace3}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_red1} | ${namespace4}
-
-| Positive Scenario Ping From DUT1 - Inter network
-| | [Documentation] | Send ping packets from specified namespaces to other in
-| | ... | order to test connectivity.
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_blue1} | ${namespace1}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_blue2} | ${namespace1}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_blue1} | ${namespace2}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_blue2} | ${namespace2}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_red1} | ${namespace3}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_red2} | ${namespace3}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_red1} | ${namespace4}
-| | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_red2} | ${namespace4}
-
-| Positive Scenario Ping From DUT2 - Intra network
-| | [Documentation] | Send ping packets from specified namespaces to other in
-| | ... | order to test connectivity.
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_blue2} | ${namespace1}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_blue1} | ${namespace2}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_red2} | ${namespace3}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_red1} | ${namespace4}
-
-| Positive Scenario Ping From DUT2 - Inter network
-| | [Documentation] | Send ping packets from specified namespaces to other in
-| | ... | order to test connectivity.
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_blue1} | ${namespace1}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_blue2} | ${namespace1}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_blue1} | ${namespace2}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_blue2} | ${namespace2}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_red1} | ${namespace3}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_red2} | ${namespace3}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_red1} | ${namespace4}
-| | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_red2} | ${namespace4}
-
-| Negative Scenario Ping From DUT1 - Intra network
-| | [Documentation] | Send ping packets from specified namespaces to other in
-| | ... | order to test unreachability of namespaces.
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_red1}
-| | ... | ${namespace1}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_red2}
-| | ... | ${namespace1}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_red1}
-| | ... | ${namespace2}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_red2}
-| | ... | ${namespace2}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_blue1}
-| | ... | ${namespace3}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_blue2}
-| | ... | ${namespace3}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_blue1}
-| | ... | ${namespace4}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut1_blue2}
-| | ... | ${namespace4}
-
-| Negative Scenario Ping From DUT1 - Inter network
-| | [Documentation] | Send ping packets from specified namespaces to other in
-| | ... | order to test unreachability of namespaces.
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_red1}
-| | ... | ${namespace1}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_red2}
-| | ... | ${namespace1}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_red1}
-| | ... | ${namespace2}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_red2}
-| | ... | ${namespace2}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_blue1}
-| | ... | ${namespace3}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_blue2}
-| | ... | ${namespace3}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_blue1}
-| | ... | ${namespace4}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node1} | ${dut2_blue2}
-| | ... | ${namespace4}
-
-| Negative Scenario Ping From DUT2 - Intra network
-| | [Documentation] | Send ping packets from specified namespaces to other in
-| | ... | order to test unreachability of namespaces.
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_red1}
-| | ... | ${namespace1}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_red2}
-| | ... | ${namespace1}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_red1}
-| | ... | ${namespace2}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_red2}
-| | ... | ${namespace2}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_blue1}
-| | ... | ${namespace3}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_blue2}
-| | ... | ${namespace3}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_blue1}
-| | ... | ${namespace4}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut2_blue2}
-| | ... | ${namespace4}
-
-| Negative Scenario Ping From DUT2 - Inter network
-| | [Documentation] | Send ping packets from specified namespaces to other in
-| | ... | order to test unreachability of namespaces.
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_red1}
-| | ... | ${namespace1}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_red2}
-| | ... | ${namespace1}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_red1}
-| | ... | ${namespace2}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_red2}
-| | ... | ${namespace2}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_blue1}
-| | ... | ${namespace3}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_blue2}
-| | ... | ${namespace3}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_blue1}
-| | ... | ${namespace4}
-| | Run keyword and expect error | Ping Not Successful
-| | ... | Send Ping From Node To Dst | ${qemu_node2} | ${dut1_blue2}
-| | ... | ${namespace4}