Ray Milkey | 0b53f95 | 2018-04-02 08:54:51 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright 2018-present Open Networking Foundation |
| 3 | ~ |
| 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | ~ you may not use this file except in compliance with the License. |
| 6 | ~ You may obtain a copy of the License at |
| 7 | ~ |
| 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | ~ |
| 10 | ~ Unless required by applicable law or agreed to in writing, software |
| 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | ~ See the License for the specific language governing permissions and |
| 14 | ~ limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | |
| 18 | |
| 19 | <scenario name="net-trellis-HAG-connectivity" description="Trellis HAG network connectivity test steps"> |
| 20 | |
| 21 | <group name="Net-Trellis-HAG-Connectivity"> |
| 22 | <step name="Net-Trellis-HAG-Connectivity.IP4Ping1" |
| 23 | exec="onos-mininet sendAndExpect h1 ping -c3 h2 --expect \ 0% packet loss"/> |
| 24 | <step name="Net-Trellis-HAG-Connectivity.IP4Ping2" requires="^" |
| 25 | exec="onos-mininet sendAndExpect h2 ping -c3 h1 --expect \ 0% packet loss"/> |
| 26 | <step name="Net-Trellis-HAG-Connectivity.IP4Ping3" requires="^" |
| 27 | exec="onos-mininet sendAndExpect h3 ping -c3 h4 --expect \ 0% packet loss"/> |
| 28 | <step name="Net-Trellis-HAG-Connectivity.IP4Ping4" requires="^" |
| 29 | exec="onos-mininet sendAndExpect h4 ping -c3 h3 --expect \ 0% packet loss"/> |
| 30 | |
| 31 | <step name="Net-Trellis-HAG-Connectivity.IP6Ping1" requires="^" |
| 32 | exec="onos-mininet sendAndExpect h1v6 ping6 -c3 2000::201 --expect \ 0% packet loss"/> |
| 33 | <step name="Net-Trellis-HAG-Connectivity.IP6Ping2" requires="^" |
| 34 | exec="onos-mininet sendAndExpect h1v6 ping6 -c3 2000::202 --expect \ 0% packet loss"/> |
| 35 | <step name="Net-Trellis-HAG-Connectivity.IP6Ping3" requires="^" |
| 36 | exec="onos-mininet sendAndExpect h3v6 ping6 -c3 2000::301 --expect \ 0% packet loss"/> |
| 37 | <step name="Net-Trellis-HAG-Connectivity.IP6Ping4" requires="^" |
| 38 | exec="onos-mininet sendAndExpect h3v6 ping6 -c3 2000::302 --expect \ 0% packet loss"/> |
| 39 | </group> |
| 40 | |
| 41 | </scenario> |