blob: d43e77ceeb9a757656e10ddbba45965e372170c9 [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#}">
21 <step name="Uninstall-${#}" exec="onos-uninstall ${OC#}"/>
Thomas Vachuska8189a742015-05-29 10:02:52 -070022
Thomas Vachuskaf9c84362015-04-15 11:20:45 -070023 <step name="Install-${#}" exec="onos-install ${OC#}"
24 requires="Uninstall-${#},Push-Bits"/>
Thomas Vachuska8189a742015-05-29 10:02:52 -070025
Thomas Vachuskaf9c84362015-04-15 11:20:45 -070026 <step name="Wait-for-Start-${#}" exec="onos-wait-for-start ${OC#}"
27 requires="Install-${#}"/>
Thomas Vachuska8189a742015-05-29 10:02:52 -070028
Thomas Vachuskaf9c84362015-04-15 11:20:45 -070029 <step name="Check-Logs-${#}" exec="onos-check-logs ${OC#}"
30 requires="-Wait-for-Start-${#}"/>
Thomas Vachuska8189a742015-05-29 10:02:52 -070031 <step name="Check-Components-${#}" exec="onos-check-components ${OC#}"
32 requires="-Wait-for-Start-${#}"/>
33 <step name="Check-Apps-${#}" exec="onos-check-apps ${OC#}"
34 requires="-Wait-for-Start-${#}"/>
Thomas Vachuskaf9c84362015-04-15 11:20:45 -070035 </parallel>
36 </group>
37</scenario>