Test VIRL connection.
[csit.git] / tests / suites / ipv6 / ipv6_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 """IPv6 untagged test suite"""
15
16 *** Settings ***
17 | Documentation | IPv6 untagged test suite
18 | Resource | resources/libraries/robot/ipv6.robot
19 | Resource | resources/libraries/robot/counters.robot
20 | Resource | resources/libraries/robot/default.robot
21 | Variables | resources/libraries/python/IPv6NodesAddr.py | ${nodes}
22 | Suite Setup | Run Keywords | Setup ipv6 to all dut in topology | ${nodes} | ${nodes_ipv6_addr}
23 | ...         | AND          | Vpp nodes ra supress link layer | ${nodes}
24 | ...         | AND          | Vpp nodes setup ipv6 routing | ${nodes} | ${nodes_ipv6_addr}
25 | ...         | AND          | Setup all TGs before traffic script
26 | Test Setup | Clear interface counters on all vpp nodes in topology | ${nodes}
27
28 *** Test Cases ***
29 | VPP replies to ICMPv6 echo request
30 | | Ipv6 icmp echo | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes_ipv6_addr}
31
32 | VPP can process ICMPv6 echo request from min to max packet size with 1B increment
33 | | Ipv6 icmp echo sweep | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes_ipv6_addr}
34
35 | TG can route to first DUT egress interface
36 | | Ipv6 tg to dut1 egress | ${nodes['TG']} | ${nodes['DUT1']} |
37 | | ...                    | ${nodes['DUT2']} | ${nodes_ipv6_addr}
38
39 | TG can route to second DUT through first DUT
40 | | Ipv6 tg to dut2 via dut1 | ${nodes['TG']} | ${nodes['DUT1']}
41 | | ...                      | ${nodes['DUT2']} | ${nodes_ipv6_addr}
42
43 | TG can route to second DUT egress interface through first DUT
44 | | Ipv6 tg to dut2 egress via dut1 | ${nodes['TG']} | ${nodes['DUT1']}
45 | | ...                             | ${nodes['DUT2']} | ${nodes_ipv6_addr}
46
47 | TG can route to TG through first and second DUT
48 | | Ipv6 tg to tg routed | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']}
49 | | ...                  | ${nodes_ipv6_addr}
50
51 | VPP replies to IPv6 Neighbor Solicitation
52 | | Ipv6 neighbor solicitation | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes_ipv6_addr}