blob: 980a011f77c2b47aea1b1f32e3edaa2559910c6a [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
Thomas Vachuska33937c42015-07-15 17:40:32 -070020 <import file="${ONOS_SCENARIOS}/net-pingall.xml" namespace="Reactive-Forwarding"/>
21 <dependency name="Reactive-Forwarding.Net-Pingall" requires="Net-Setup"/>
Thomas Vachuskae76f6532015-07-08 09:40:53 -070022
Thomas Vachuska33937c42015-07-15 17:40:32 -070023 <import file="${ONOS_SCENARIOS}/net-link-down-up.xml" namespace="Reactive-Forwarding"/>
Thomas Vachuska0ec6ff42015-07-17 11:00:02 -070024 <dependency name="Reactive-Forwarding.Net-Link-Down-Up" requires="Net-Setup,~Reactive-Forwarding.Net-Pingall"/>
Thomas Vachuska33937c42015-07-15 17:40:32 -070025
26 <import file="${ONOS_SCENARIOS}/net-host-intent.xml"/>
Thomas Vachuska0ec6ff42015-07-17 11:00:02 -070027 <dependency name="Host-Intent-Connectivity" requires="Net-Setup,~Reactive-Forwarding.Net-Link-Down-Up"/>
Thomas Vachuskae76f6532015-07-08 09:40:53 -070028
Ray Milkeyc6987732015-08-25 11:05:28 -070029 <import file="${ONOS_SCENARIOS}/net-point-intent.xml"/>
Thomas Vachuska1c152872015-08-26 18:41:10 -070030 <dependency name="P2P-Intent-Connectivity" requires="Net-Setup,~Reactive-Forwarding.Net-Link-Down-Up,Host-Intent-Connectivity"/>
Ray Milkeyc6987732015-08-25 11:05:28 -070031
Ray Milkey3bc0be12016-03-03 16:47:04 -080032 <import file="${ONOS_SCENARIOS}/net-single-to-multi-intent.xml"/>
33 <dependency name="S2M-Intent-Connectivity"
34 requires="Net-Setup,~Reactive-Forwarding.Net-Link-Down-Up,Host-Intent-Connectivity,P2P-Intent-Connectivity"/>
35
Ray Milkey5557a502016-03-04 10:04:59 -080036 <import file="${ONOS_SCENARIOS}/net-multi-to-single-intent.xml"/>
37 <dependency name="M2S-Intent-Connectivity"
38 requires="S2M-Intent-Connectivity"/>
39
Ray Milkey4ff514c2015-09-01 09:02:03 -070040 <import file="${ONOS_SCENARIOS}/net-rest.xml"/>
Ray Milkey5557a502016-03-04 10:04:59 -080041 <dependency name="Net-REST" requires="Net-Setup,P2P-Intent-Connectivity,M2S-Intent-Connectivity"/>
Ray Milkey4ff514c2015-09-01 09:02:03 -070042
Ray Milkey43ee97f2015-09-04 15:14:40 -070043 <import file="${ONOS_SCENARIOS}/net-create-flows.xml"/>
44 <dependency name="Net-Create-Flows" requires="Net-Setup,P2P-Intent-Connectivity,Net-REST"/>
45
Ray Milkey48bf76c2016-02-23 15:27:39 -080046 <import file="${ONOS_SCENARIOS}/net-flow-objectives.xml"/>
47 <dependency name="Net-Flow-Objectives" requires="Net-Setup,P2P-Intent-Connectivity,Net-REST,Net-Create-Flows"/>
48
Ray Milkeye0827772015-09-11 16:49:21 -070049 <import file="${ONOS_SCENARIOS}/net-topo.xml"/>
Ray Milkey48bf76c2016-02-23 15:27:39 -080050 <dependency name="Net-Topo" requires="Net-Setup,Net-Create-Flows,Net-Flow-Objectives"/>
Ray Milkeye0827772015-09-11 16:49:21 -070051
Thomas Vachuskae76f6532015-07-08 09:40:53 -070052 <import file="${ONOS_SCENARIOS}/net-teardown.xml"/>
Ray Milkey43ee97f2015-09-04 15:14:40 -070053 <dependency name="Net-Teardown" requires="~Host-Intent-Connectivity,
54 ~P2P-Intent-Connectivity,
55 ~Net-REST,
Ray Milkey6e968e12015-09-18 09:55:07 -070056 ~Net-Create-Flows,
Thomas Vachuskae5ab5f72015-10-13 11:55:52 -070057 ~Net-Topo"/>
Thomas Vachuska20bbf782016-07-06 11:42:27 -070058
59 <parallel var="${OC#}">
60 <step name="Net-Smoke-Check-Logs-${#}" requires="~Net-Teardown"
61 exec="onos-check-logs ${OC#}"/>
62 </parallel>
Thomas Vachuskae76f6532015-07-08 09:40:53 -070063 </group>
Ray Milkeyc6987732015-08-25 11:05:28 -070064</scenario>