blob: fdbde189fe2c3df4ee673767740cf7e3d5930e05 [file] [log] [blame]
Thomas Vachuskae76f6532015-07-08 09:40:53 -07001<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 ~ Copyright 2015-present Open Networking Foundation
Thomas Vachuskae76f6532015-07-08 09:40:53 -07003 ~
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-smoke" description="Basic network functionality smoke test">
17 <group name="Net-Smoke">
18 <import file="${ONOS_SCENARIOS}/net-setup.xml"/>
19
Ray Milkey32715622016-07-12 10:15:55 -070020 <import file="${ONOS_SCENARIOS}/net-reactive-fwd.xml"/>
21 <dependency name="Net-Reactive-Fwd" requires="Net-Setup"/>
Ray Milkey955c4b82016-07-11 09:48:53 -070022
Thomas Vachuska33937c42015-07-15 17:40:32 -070023 <import file="${ONOS_SCENARIOS}/net-host-intent.xml"/>
Ray Milkey32715622016-07-12 10:15:55 -070024 <dependency name="Host-Intent-Connectivity" requires="Net-Reactive-Fwd"/>
Thomas Vachuskae76f6532015-07-08 09:40:53 -070025
Ray Milkeyc6987732015-08-25 11:05:28 -070026 <import file="${ONOS_SCENARIOS}/net-point-intent.xml"/>
Ray Milkey32715622016-07-12 10:15:55 -070027 <dependency name="P2P-Intent-Connectivity" requires="Net-Setup,~Net-Reactive-Fwd,Host-Intent-Connectivity"/>
Ray Milkeyc6987732015-08-25 11:05:28 -070028
Ray Milkey3bc0be12016-03-03 16:47:04 -080029 <import file="${ONOS_SCENARIOS}/net-single-to-multi-intent.xml"/>
30 <dependency name="S2M-Intent-Connectivity"
Ray Milkey32715622016-07-12 10:15:55 -070031 requires="Net-Setup,~Net-Reactive-Fwd,Host-Intent-Connectivity,P2P-Intent-Connectivity"/>
Ray Milkey3bc0be12016-03-03 16:47:04 -080032
Ray Milkey5557a502016-03-04 10:04:59 -080033 <import file="${ONOS_SCENARIOS}/net-multi-to-single-intent.xml"/>
34 <dependency name="M2S-Intent-Connectivity"
35 requires="S2M-Intent-Connectivity"/>
Ray Milkey955c4b82016-07-11 09:48:53 -070036
Ray Milkey4ff514c2015-09-01 09:02:03 -070037 <import file="${ONOS_SCENARIOS}/net-rest.xml"/>
Ray Milkey5557a502016-03-04 10:04:59 -080038 <dependency name="Net-REST" requires="Net-Setup,P2P-Intent-Connectivity,M2S-Intent-Connectivity"/>
Ray Milkey4ff514c2015-09-01 09:02:03 -070039
Ray Milkey43ee97f2015-09-04 15:14:40 -070040 <import file="${ONOS_SCENARIOS}/net-create-flows.xml"/>
41 <dependency name="Net-Create-Flows" requires="Net-Setup,P2P-Intent-Connectivity,Net-REST"/>
42
Ray Milkey48bf76c2016-02-23 15:27:39 -080043 <import file="${ONOS_SCENARIOS}/net-flow-objectives.xml"/>
44 <dependency name="Net-Flow-Objectives" requires="Net-Setup,P2P-Intent-Connectivity,Net-REST,Net-Create-Flows"/>
45
Ray Milkeye0827772015-09-11 16:49:21 -070046 <import file="${ONOS_SCENARIOS}/net-topo.xml"/>
Ray Milkey48bf76c2016-02-23 15:27:39 -080047 <dependency name="Net-Topo" requires="Net-Setup,Net-Create-Flows,Net-Flow-Objectives"/>
Ray Milkeye0827772015-09-11 16:49:21 -070048
Thomas Vachuskae76f6532015-07-08 09:40:53 -070049 <import file="${ONOS_SCENARIOS}/net-teardown.xml"/>
Ray Milkey43ee97f2015-09-04 15:14:40 -070050 <dependency name="Net-Teardown" requires="~Host-Intent-Connectivity,
51 ~P2P-Intent-Connectivity,
52 ~Net-REST,
Ray Milkey6e968e12015-09-18 09:55:07 -070053 ~Net-Create-Flows,
Thomas Vachuskae5ab5f72015-10-13 11:55:52 -070054 ~Net-Topo"/>
Thomas Vachuska20bbf782016-07-06 11:42:27 -070055
56 <parallel var="${OC#}">
57 <step name="Net-Smoke-Check-Logs-${#}" requires="~Net-Teardown"
58 exec="onos-check-logs ${OC#}"/>
59 </parallel>
Thomas Vachuskae76f6532015-07-08 09:40:53 -070060 </group>
Ray Milkeyc6987732015-08-25 11:05:28 -070061</scenario>