blob: 300dea6f3417d83e65a694bf26068a9da21e58c7 [file] [log] [blame]
Thomas Vachuskae76f6532015-07-08 09:40:53 -07001<!--
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 Vachuskaa02fc812015-07-21 18:37:58 -070019 <step name="Install-Apps"
20 exec="onos ${OC1} app activate org.onosproject.openflow org.onosproject.proxyarp org.onosproject.fwd"/>
Thomas Vachuskac8100c12016-01-22 10:24:27 -080021 <step name="Check-Apps" requires="Install-Apps"
Thomas Vachuska1c152872015-08-26 18:41:10 -070022 exec="onos-check-apps ${OC1} drivers,openflow,proxyarp,fwd includes"/>
Thomas Vachuskaa02fc812015-07-21 18:37:58 -070023
Thomas Vachuskac8100c12016-01-22 10:24:27 -080024 <step name="Ping-All" requires="Check-Apps"
Thomas Vachuskae827c0e2015-08-04 16:53:18 -070025 exec="onos-mininet sendAndExpect py net.pingAll(1) --expect 600/600 received"/>
Thomas Vachuskae76f6532015-07-08 09:40:53 -070026
Thomas Vachuskac8100c12016-01-22 10:24:27 -080027 <step name="Check-Summary-For-Hosts" requires="~Ping-All"
Thomas Vachuska2527a0f2015-07-14 11:38:21 -070028 exec="onos-check-summary ${OC1} [0-9]* 25 140 25"/>
Thomas Vachuskae76f6532015-07-08 09:40:53 -070029 </group>
Ray Milkey6e968e12015-09-18 09:55:07 -070030</scenario>