Thomas Vachuska | e76f653 | 2015-07-08 09:40:53 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright 2015 Open Networking Laboratory |
| 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 | <scenario name="net-pingall" description="Network pingall test"> |
| 17 | <!-- TODO: parametrize this via recipes --> |
| 18 | <group name="Net-Pingall"> |
Thomas Vachuska | a02fc81 | 2015-07-21 18:37:58 -0700 | [diff] [blame] | 19 | <step name="Install-Apps" |
| 20 | exec="onos ${OC1} app activate org.onosproject.openflow org.onosproject.proxyarp org.onosproject.fwd"/> |
Thomas Vachuska | 1c15287 | 2015-08-26 18:41:10 -0700 | [diff] [blame] | 21 | <step name="Check-Apps" requires="^" |
| 22 | exec="onos-check-apps ${OC1} drivers,openflow,proxyarp,fwd includes"/> |
Thomas Vachuska | a02fc81 | 2015-07-21 18:37:58 -0700 | [diff] [blame] | 23 | |
Thomas Vachuska | 1c15287 | 2015-08-26 18:41:10 -0700 | [diff] [blame] | 24 | <!-- TODO: take this out when initial pingall sweep is 100% --> |
| 25 | <step name="Initial-Ping-All" requires="Check-Apps" |
Ray Milkey | 6e968e1 | 2015-09-18 09:55:07 -0700 | [diff] [blame] | 26 | exec="onos-mininet sendAndExpect py net.pingAll(1) --expect received"/> |
Thomas Vachuska | a02fc81 | 2015-07-21 18:37:58 -0700 | [diff] [blame] | 27 | |
Thomas Vachuska | 1c15287 | 2015-08-26 18:41:10 -0700 | [diff] [blame] | 28 | <step name="Ping-All-And-Verify" requires="Check-Apps,Initial-Ping-All" |
Thomas Vachuska | e827c0e | 2015-08-04 16:53:18 -0700 | [diff] [blame] | 29 | exec="onos-mininet sendAndExpect py net.pingAll(1) --expect 600/600 received"/> |
Thomas Vachuska | e76f653 | 2015-07-08 09:40:53 -0700 | [diff] [blame] | 30 | |
| 31 | <step name="Check-Summary-For-Hosts" requires="~Ping-All-And-Verify" |
Thomas Vachuska | 2527a0f | 2015-07-14 11:38:21 -0700 | [diff] [blame] | 32 | exec="onos-check-summary ${OC1} [0-9]* 25 140 25"/> |
Thomas Vachuska | e76f653 | 2015-07-08 09:40:53 -0700 | [diff] [blame] | 33 | |
Thomas Vachuska | b51b8bc | 2015-07-27 08:37:12 -0700 | [diff] [blame] | 34 | <step name="Config-Topo" requires="~Check-Summary-For-Hosts" |
Thomas Vachuska | e76f653 | 2015-07-08 09:40:53 -0700 | [diff] [blame] | 35 | exec="onos-topo-cfg ${OC1} ${ONOS_ROOT}/tools/test/topos/attmpls.json"/> |
| 36 | </group> |
Ray Milkey | 6e968e1 | 2015-09-18 09:55:07 -0700 | [diff] [blame] | 37 | </scenario> |