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:
6 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 | Documentation | VXLAN tunnel over untagged IPv4 traffic tests using xconnect.
16 | Resource | resources/libraries/robot/default.robot
17 | Resource | resources/libraries/robot/vxlan.robot
18 | Resource | resources/libraries/robot/l2_traffic.robot
19 | Library | resources.libraries.python.Trace
20 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | VM_ENV | HW_ENV
21 | Test Setup | Run Keywords | Setup all DUTs before test
22 | ... | AND | Setup all TGs before traffic script
23 | Test Teardown | Show Packet Trace on All DUTs | ${nodes}
29 | VPP can pass IPv4 bidirectionally through VXLAN
30 | | Given Path for VXLAN testing is set
31 | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']}
32 | | And Interfaces in path are up
33 | | And IP addresses are set on interfaces | ${dut1} | ${dut1s_to_dut2} | ${NONE}
34 | | ... | ${dut2} | ${dut2s_to_dut1} | ${NONE}
35 | | ${dut1s_vxlan}= | When Create VXLAN interface | ${dut1} | ${VNI}
36 | | | ... | ${dut1s_ip_address} | ${dut2s_ip_address}
37 | | And Interfaces are added to xconnect | ${dut1}
38 | | ... | ${dut1s_to_tg} | ${dut1s_vxlan}
39 | | ${dut2s_vxlan}= | And Create VXLAN interface | ${dut2} | ${VNI}
40 | | | ... | ${dut2s_ip_address} | ${dut1s_ip_address}
41 | | And Interfaces are added to xconnect | ${dut2}
42 | | ... | ${dut2s_to_tg} | ${dut2s_vxlan}
43 | | Then Send and receive ICMPv4 bidirectionally
44 | | ... | ${tg} | ${tgs_to_dut1} | ${tgs_to_dut2}