Thomas Vachuska | a48e3d1 | 2015-06-02 09:43:29 -0700 | [diff] [blame] | 1 | <!-- |
Brian O'Connor | a09fe5b | 2017-08-03 21:12:30 -0700 | [diff] [blame] | 2 | ~ Copyright 2015-present Open Networking Foundation |
Thomas Vachuska | a48e3d1 | 2015-06-02 09:43:29 -0700 | [diff] [blame] | 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="tar-setup" description="ONOS cluster setup via onos.tar.gz"> |
Thomas Vachuska | f2702c2 | 2020-01-28 11:01:50 -0800 | [diff] [blame] | 17 | <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 Vachuska | a48e3d1 | 2015-06-02 09:43:29 -0700 | [diff] [blame] | 20 | |
Thomas Vachuska | f2702c2 | 2020-01-28 11:01:50 -0800 | [diff] [blame] | 21 | <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 Vachuska | a48e3d1 | 2015-06-02 09:43:29 -0700 | [diff] [blame] | 26 | |
Thomas Vachuska | f2702c2 | 2020-01-28 11:01:50 -0800 | [diff] [blame] | 27 | <step name="Secure-SSH" |
| 28 | exec="onos-secure-ssh -u ${ONOS_WEB_USER} -p ${ONOS_WEB_PASS} ${OC1}" |
| 29 | requires="Untar-And-Run"/> |
Thomas Vachuska | a48e3d1 | 2015-06-02 09:43:29 -0700 | [diff] [blame] | 30 | |
Thomas Vachuska | f2702c2 | 2020-01-28 11:01:50 -0800 | [diff] [blame] | 31 | <step name="Wait-for-Start" exec="onos-wait-for-start ${OC1}" |
| 32 | requires="~Secure-SSH"/> |
Thomas Vachuska | 12bf445 | 2015-06-26 09:15:38 -0700 | [diff] [blame] | 33 | |
Thomas Vachuska | f2702c2 | 2020-01-28 11:01:50 -0800 | [diff] [blame] | 34 | <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 Vachuska | a48e3d1 | 2015-06-02 09:43:29 -0700 | [diff] [blame] | 42 | </group> |
Thomas Vachuska | a48e3d1 | 2015-06-02 09:43:29 -0700 | [diff] [blame] | 43 | </scenario> |