blob: 4c1c67896f3c06b76db8216efc55a1e61d11f157 [file] [log] [blame]
Thomas Vachuskaa48e3d12015-06-02 09:43:29 -07001<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 ~ Copyright 2015-present Open Networking Foundation
Thomas Vachuskaa48e3d12015-06-02 09:43:29 -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="tar-setup" description="ONOS cluster setup via onos.tar.gz">
Thomas Vachuskaf2702c22020-01-28 11:01:50 -080017 <group name="TAR-Setup">
18 <step name="Push-Bits-Via-Proxy" exec="onos-push-bits-through-proxy" if="${OCT}"/>
19 <step name="Push-Bits" exec="onos-push-bits ${OC1}" unless="${OCT}"/>
Thomas Vachuskaa48e3d12015-06-02 09:43:29 -070020
Thomas Vachuskaf2702c22020-01-28 11:01:50 -080021 <step name="Uninstall" exec="onos-uninstall ${OC1}"/>
22 <step name="Kill" env="~" exec="onos-kill ${OC1}"
23 requires="Uninstall"/>
24 <step name="Untar-And-Run" exec="onos-untar-and-run ${OC1}"
25 requires="Kill,Push-Bits-Via-Proxy,Push-Bits"/>
Thomas Vachuskaa48e3d12015-06-02 09:43:29 -070026
Thomas Vachuskaf2702c22020-01-28 11:01:50 -080027 <step name="Secure-SSH"
28 exec="onos-secure-ssh -u ${ONOS_WEB_USER} -p ${ONOS_WEB_PASS} ${OC1}"
29 requires="Untar-And-Run"/>
Thomas Vachuskaa48e3d12015-06-02 09:43:29 -070030
Thomas Vachuskaf2702c22020-01-28 11:01:50 -080031 <step name="Wait-for-Start" exec="onos-wait-for-start ${OC1}"
32 requires="~Secure-SSH"/>
Thomas Vachuska12bf4452015-06-26 09:15:38 -070033
Thomas Vachuskaf2702c22020-01-28 11:01:50 -080034 <step name="Check-Logs" exec="onos-check-logs ${OC1}"
35 requires="~Wait-for-Start"/>
36 <step name="Check-Components" exec="onos-check-components ${OC1}"
37 requires="~Wait-for-Start"/>
38 <step name="Check-Apps" exec="onos-check-apps ${OC1} drivers includes"
39 requires="~Wait-for-Start"/>
40 <step name="Check-Nodes" exec="onos-check-nodes ${OC1} ${OC1}"
41 requires="~Wait-for-Start"/>
Thomas Vachuskaa48e3d12015-06-02 09:43:29 -070042 </group>
Thomas Vachuskaa48e3d12015-06-02 09:43:29 -070043</scenario>