Add vxlan tests using xconnect
[csit.git] / tests / suites / vxlan / vxlan_bd_untagged.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 untagged traffic tests using bridge domain.
16 | Resource | resources/libraries/robot/default.robot
17 | Resource | resources/libraries/robot/vxlan.robot
18 | Resource | resources/libraries/robot/l2_traffic.robot
19 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | VM_ENV | HW_ENV
20 | Suite Setup | Run Keywords | Setup all DUTs before test
21 | ...         | AND          | Setup all TGs before traffic script
22 | ...         | AND          | Setup VXLAN tunnel on nodes | ${nodes['TG']}
23 |             | ...          | ${nodes['DUT1']} | ${nodes['DUT2']} | ${VNI}
24
25 *** Variables ***
26 | ${VNI}= | 23
27
28 *** Test Cases ***
29 | VPP can encapsulate L2 in VXLAN over V4
30 | | Setup DUT for VXLAN using BD | ${nodes['DUT1']} | ${23} | ${dut1s_to_tg}
31 | | ...                          | ${vxlan_dut1}
32 | | Setup DUT for VXLAN using BD | ${nodes['DUT2']} | ${23} | ${dut2s_to_tg}
33 | | ...                          | ${vxlan_dut2}
34 | | Send and receive ICMPv4 | ${nodes['TG']} | ${tgs_to_dut1} | ${tgs_to_dut2}
35 | | Send and receive ICMPv4 | ${nodes['TG']} | ${tgs_to_dut2} | ${tgs_to_dut1}

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.