Remove EXPECTED_FAILING tag from TC
[csit.git] / tests / suites / vxlan / vxlan_bd_dot1q.robot
1 # Copyright (c) 2016 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 *** Settings ***
15 | Documentation | VXLAN tunnel over Dot1Q tagged IPv4 traffic tests using bridge domain.
16 | Resource | resources/libraries/robot/default.robot
17 | Resource | resources/libraries/robot/testing_path.robot
18 | Resource | resources/libraries/robot/vxlan.robot
19 | Resource | resources/libraries/robot/l2_traffic.robot
20 | Library  | resources.libraries.python.Trace
21 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | VM_ENV | HW_ENV
22 | Test Setup | Run Keywords | Setup all DUTs before test
23 | ...        | AND          | Setup all TGs before traffic script
24 | Test Teardown | Show Packet Trace on All DUTs | ${nodes}
25
26 *** Variables ***
27 | ${VNI}= | 23
28 | ${BID}= | 23
29 | ${VLAN}= | 10
30
31 *** Test Cases ***
32 | VPP can encapsulate L2 in VXLAN over IPv4 over Dot1Q
33 | | Given Path for 3-node testing is set
34 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | ${nodes['TG']}
35 | | And   Interfaces in 3-node path are up
36 | | And   Vlan interfaces for VXLAN are created | ${VLAN}
37 | |       ...                                   | ${dut1_node} | ${dut1_to_dut2}
38 | |       ...                                   | ${dut2_node} | ${dut2_to_dut1}
39 | | And   IP addresses are set on interfaces
40 | |       ...         | ${dut1_node} | ${dut1s_vlan_name} | ${dut1s_vlan_index}
41 | |       ...         | ${dut2_node} | ${dut2s_vlan_name} | ${dut2s_vlan_index}
42 | | ${dut1s_vxlan}= | When Create VXLAN interface     | ${dut1_node} | ${VNI}
43 | |                 | ...  | ${dut1s_ip_address} | ${dut2s_ip_address}
44 | |                   And  Interfaces are added to BD | ${dut1_node} | ${BID}
45 | |                   ...  | ${dut1_to_tg} | ${dut1s_vxlan}
46 | | ${dut2s_vxlan}= | And  Create VXLAN interface     | ${dut2_node} | ${VNI}
47 | |                 | ...  | ${dut2s_ip_address} | ${dut1s_ip_address}
48 | |                   And  Interfaces are added to BD | ${dut2_node} | ${BID}
49 | |                   ...  | ${dut2_to_tg} | ${dut2s_vxlan}
50 | | Then Send and receive ICMPv4 bidirectionally
51 | | ... | ${tg_node} | ${tg_to_dut1} | ${tg_to_dut2}