blob: 9630c980838451516e8997ea7020e0981cf94659 [file] [log] [blame]
Thomas Vachuskaf9c84362015-04-15 11:20:45 -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="setup" description="ONOS cluster setup">
17 <group name="Setup">
18 <step name="Push-Bits" exec="onos-push-bits-through-proxy" if="${OCT}"/>
Thomas Vachuska8189a742015-05-29 10:02:52 -070019
Thomas Vachuskaf9c84362015-04-15 11:20:45 -070020 <parallel var="${OC#}">
Thomas Vachuskaa48e3d12015-06-02 09:43:29 -070021 <step name="Push-Bits-${#}" exec="onos-push-bits ${OC#}" unless="${OCT}"/>
Thomas Vachuskaf9c84362015-04-15 11:20:45 -070022 <step name="Uninstall-${#}" exec="onos-uninstall ${OC#}"/>
Thomas Vachuska8189a742015-05-29 10:02:52 -070023
Thomas Vachuskaf9c84362015-04-15 11:20:45 -070024 <step name="Install-${#}" exec="onos-install ${OC#}"
Thomas Vachuskaa48e3d12015-06-02 09:43:29 -070025 requires="Uninstall-${#},Push-Bits-${#},Push-Bits"/>
Thomas Vachuska8189a742015-05-29 10:02:52 -070026
Thomas Vachuskaf9c84362015-04-15 11:20:45 -070027 <step name="Wait-for-Start-${#}" exec="onos-wait-for-start ${OC#}"
28 requires="Install-${#}"/>
Thomas Vachuska8189a742015-05-29 10:02:52 -070029
Thomas Vachuskaf9c84362015-04-15 11:20:45 -070030 <step name="Check-Logs-${#}" exec="onos-check-logs ${OC#}"
Thomas Vachuska18571b02015-05-31 22:30:06 -070031 requires="~Wait-for-Start-${#}"/>
Thomas Vachuska8189a742015-05-29 10:02:52 -070032 <step name="Check-Components-${#}" exec="onos-check-components ${OC#}"
Thomas Vachuska18571b02015-05-31 22:30:06 -070033 requires="~Wait-for-Start-${#}"/>
Thomas Vachuska8189a742015-05-29 10:02:52 -070034 <step name="Check-Apps-${#}" exec="onos-check-apps ${OC#}"
Thomas Vachuska18571b02015-05-31 22:30:06 -070035 requires="~Wait-for-Start-${#}"/>
Thomas Vachuskaf9c84362015-04-15 11:20:45 -070036 </parallel>
37 </group>
38</scenario>