blob: 48049275260d241c490f92d110460992cacaf100 [file] [log] [blame]
Thomas Vachuskae76f6532015-07-08 09:40:53 -07001<!--
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 ~ Copyright 2015-present Open Networking Laboratory
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 Milkey955c4b82016-07-11 09:48:53 -070020 <import file="${ONOS_SCENARIOS}/net-activate-fwd.xml" namespace="Reactive-Forwarding"/>
21 <dependency name="Reactive-Forwarding.Net-Activate-Fwd" requires="Net-Setup"/>
22
Thomas Vachuska33937c42015-07-15 17:40:32 -070023 <import file="${ONOS_SCENARIOS}/net-pingall.xml" namespace="Reactive-Forwarding"/>
Ray Milkey955c4b82016-07-11 09:48:53 -070024 <dependency name="Reactive-Forwarding.Net-Pingall" requires="Reactive-Forwarding.Net-Activate-Fwd"/>
Thomas Vachuskae76f6532015-07-08 09:40:53 -070025
Thomas Vachuska33937c42015-07-15 17:40:32 -070026 <import file="${ONOS_SCENARIOS}/net-link-down-up.xml" namespace="Reactive-Forwarding"/>
Thomas Vachuska0ec6ff42015-07-17 11:00:02 -070027 <dependency name="Reactive-Forwarding.Net-Link-Down-Up" requires="Net-Setup,~Reactive-Forwarding.Net-Pingall"/>
Thomas Vachuska33937c42015-07-15 17:40:32 -070028
Ray Milkey955c4b82016-07-11 09:48:53 -070029 <import file="${ONOS_SCENARIOS}/net-deactivate-fwd.xml" namespace="Reactive-Forwarding"/>
30 <dependency name="Reactive-Forwarding.Net-Deactivate-Fwd" requires="Reactive-Forwarding.Net-Link-Down-Up"/>
31
Thomas Vachuska33937c42015-07-15 17:40:32 -070032 <import file="${ONOS_SCENARIOS}/net-host-intent.xml"/>
Thomas Vachuska0ec6ff42015-07-17 11:00:02 -070033 <dependency name="Host-Intent-Connectivity" requires="Net-Setup,~Reactive-Forwarding.Net-Link-Down-Up"/>
Thomas Vachuskae76f6532015-07-08 09:40:53 -070034
Ray Milkeyc6987732015-08-25 11:05:28 -070035 <import file="${ONOS_SCENARIOS}/net-point-intent.xml"/>
Thomas Vachuska1c152872015-08-26 18:41:10 -070036 <dependency name="P2P-Intent-Connectivity" requires="Net-Setup,~Reactive-Forwarding.Net-Link-Down-Up,Host-Intent-Connectivity"/>
Ray Milkeyc6987732015-08-25 11:05:28 -070037
Ray Milkey3bc0be12016-03-03 16:47:04 -080038 <import file="${ONOS_SCENARIOS}/net-single-to-multi-intent.xml"/>
39 <dependency name="S2M-Intent-Connectivity"
40 requires="Net-Setup,~Reactive-Forwarding.Net-Link-Down-Up,Host-Intent-Connectivity,P2P-Intent-Connectivity"/>
41
Ray Milkey5557a502016-03-04 10:04:59 -080042 <import file="${ONOS_SCENARIOS}/net-multi-to-single-intent.xml"/>
43 <dependency name="M2S-Intent-Connectivity"
44 requires="S2M-Intent-Connectivity"/>
Ray Milkey955c4b82016-07-11 09:48:53 -070045
Ray Milkey4ff514c2015-09-01 09:02:03 -070046 <import file="${ONOS_SCENARIOS}/net-rest.xml"/>
Ray Milkey5557a502016-03-04 10:04:59 -080047 <dependency name="Net-REST" requires="Net-Setup,P2P-Intent-Connectivity,M2S-Intent-Connectivity"/>
Ray Milkey4ff514c2015-09-01 09:02:03 -070048
Ray Milkey43ee97f2015-09-04 15:14:40 -070049 <import file="${ONOS_SCENARIOS}/net-create-flows.xml"/>
50 <dependency name="Net-Create-Flows" requires="Net-Setup,P2P-Intent-Connectivity,Net-REST"/>
51
Ray Milkey48bf76c2016-02-23 15:27:39 -080052 <import file="${ONOS_SCENARIOS}/net-flow-objectives.xml"/>
53 <dependency name="Net-Flow-Objectives" requires="Net-Setup,P2P-Intent-Connectivity,Net-REST,Net-Create-Flows"/>
54
Ray Milkeye0827772015-09-11 16:49:21 -070055 <import file="${ONOS_SCENARIOS}/net-topo.xml"/>
Ray Milkey48bf76c2016-02-23 15:27:39 -080056 <dependency name="Net-Topo" requires="Net-Setup,Net-Create-Flows,Net-Flow-Objectives"/>
Ray Milkeye0827772015-09-11 16:49:21 -070057
Thomas Vachuskae76f6532015-07-08 09:40:53 -070058 <import file="${ONOS_SCENARIOS}/net-teardown.xml"/>
Ray Milkey43ee97f2015-09-04 15:14:40 -070059 <dependency name="Net-Teardown" requires="~Host-Intent-Connectivity,
60 ~P2P-Intent-Connectivity,
61 ~Net-REST,
Ray Milkey6e968e12015-09-18 09:55:07 -070062 ~Net-Create-Flows,
Thomas Vachuskae5ab5f72015-10-13 11:55:52 -070063 ~Net-Topo"/>
Thomas Vachuska20bbf782016-07-06 11:42:27 -070064
65 <parallel var="${OC#}">
66 <step name="Net-Smoke-Check-Logs-${#}" requires="~Net-Teardown"
67 exec="onos-check-logs ${OC#}"/>
68 </parallel>
Thomas Vachuskae76f6532015-07-08 09:40:53 -070069 </group>
Ray Milkeyc6987732015-08-25 11:05:28 -070070</scenario>