blob: 066ab71007306ce0baf6c6edbf7abc4cf57f26eb [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"/>
Thomas Vachuska45103b12018-01-09 10:00:15 -080027 <dependency name="P2P-Intent-Connectivity" requires="Net-Setup,~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"/>
Thomas Vachuska45103b12018-01-09 10:00:15 -080030 <dependency name="S2M-Intent-Connectivity" requires="Net-Setup,~P2P-Intent-Connectivity"/>
Ray Milkey3bc0be12016-03-03 16:47:04 -080031
Ray Milkey5557a502016-03-04 10:04:59 -080032 <import file="${ONOS_SCENARIOS}/net-multi-to-single-intent.xml"/>
Thomas Vachuska45103b12018-01-09 10:00:15 -080033 <dependency name="M2S-Intent-Connectivity" requires="Net-Setup,~S2M-Intent-Connectivity"/>
Ray Milkey955c4b82016-07-11 09:48:53 -070034
Ray Milkey4ff514c2015-09-01 09:02:03 -070035 <import file="${ONOS_SCENARIOS}/net-rest.xml"/>
Thomas Vachuska45103b12018-01-09 10:00:15 -080036 <dependency name="Net-REST" requires="Net-Setup,~M2S-Intent-Connectivity"/>
Ray Milkey4ff514c2015-09-01 09:02:03 -070037
Ray Milkey43ee97f2015-09-04 15:14:40 -070038 <import file="${ONOS_SCENARIOS}/net-create-flows.xml"/>
Thomas Vachuska45103b12018-01-09 10:00:15 -080039 <dependency name="Net-Create-Flows" requires="Net-Setup,~Net-REST"/>
Ray Milkey43ee97f2015-09-04 15:14:40 -070040
Ray Milkey48bf76c2016-02-23 15:27:39 -080041 <import file="${ONOS_SCENARIOS}/net-flow-objectives.xml"/>
Thomas Vachuska45103b12018-01-09 10:00:15 -080042 <dependency name="Net-Flow-Objectives" requires="Net-Setup,~Net-Create-Flows"/>
Ray Milkey48bf76c2016-02-23 15:27:39 -080043
Ray Milkeye0827772015-09-11 16:49:21 -070044 <import file="${ONOS_SCENARIOS}/net-topo.xml"/>
Thomas Vachuska45103b12018-01-09 10:00:15 -080045 <dependency name="Net-Topo" requires="Net-Setup,~Net-Flow-Objectives"/>
Ray Milkeye0827772015-09-11 16:49:21 -070046
Thomas Vachuskae76f6532015-07-08 09:40:53 -070047 <import file="${ONOS_SCENARIOS}/net-teardown.xml"/>
Thomas Vachuska45103b12018-01-09 10:00:15 -080048 <dependency name="Net-Teardown" requires="~Net-Reactive-Fwd,
49 ~Host-Intent-Connectivity,
Ray Milkey43ee97f2015-09-04 15:14:40 -070050 ~P2P-Intent-Connectivity,
Thomas Vachuska45103b12018-01-09 10:00:15 -080051 ~S2M-Intent-Connectivity,
52 ~M2S-Intent-Connectivity,
Ray Milkey43ee97f2015-09-04 15:14:40 -070053 ~Net-REST,
Ray Milkey6e968e12015-09-18 09:55:07 -070054 ~Net-Create-Flows,
Thomas Vachuskae5ab5f72015-10-13 11:55:52 -070055 ~Net-Topo"/>
Thomas Vachuska20bbf782016-07-06 11:42:27 -070056
57 <parallel var="${OC#}">
58 <step name="Net-Smoke-Check-Logs-${#}" requires="~Net-Teardown"
59 exec="onos-check-logs ${OC#}"/>
60 </parallel>
Thomas Vachuskae76f6532015-07-08 09:40:53 -070061 </group>
Ray Milkeyc6987732015-08-25 11:05:28 -070062</scenario>