Thomas Vachuska | f9c8436 | 2015-04-15 11:20:45 -0700 | [diff] [blame] | 1 | <!-- |
| 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 Vachuska | 8189a74 | 2015-05-29 10:02:52 -0700 | [diff] [blame] | 19 | |
Thomas Vachuska | f9c8436 | 2015-04-15 11:20:45 -0700 | [diff] [blame] | 20 | <parallel var="${OC#}"> |
Thomas Vachuska | a48e3d1 | 2015-06-02 09:43:29 -0700 | [diff] [blame] | 21 | <step name="Push-Bits-${#}" exec="onos-push-bits ${OC#}" unless="${OCT}"/> |
Thomas Vachuska | f9c8436 | 2015-04-15 11:20:45 -0700 | [diff] [blame] | 22 | <step name="Uninstall-${#}" exec="onos-uninstall ${OC#}"/> |
Thomas Vachuska | 4355496 | 2015-06-02 11:45:24 -0700 | [diff] [blame^] | 23 | <step name="Kill-${#}" env="~" exec="onos-kill ${OC#}"/> |
Thomas Vachuska | 8189a74 | 2015-05-29 10:02:52 -0700 | [diff] [blame] | 24 | |
Thomas Vachuska | f9c8436 | 2015-04-15 11:20:45 -0700 | [diff] [blame] | 25 | <step name="Install-${#}" exec="onos-install ${OC#}" |
Thomas Vachuska | a48e3d1 | 2015-06-02 09:43:29 -0700 | [diff] [blame] | 26 | requires="Uninstall-${#},Push-Bits-${#},Push-Bits"/> |
Thomas Vachuska | 8189a74 | 2015-05-29 10:02:52 -0700 | [diff] [blame] | 27 | |
Thomas Vachuska | f9c8436 | 2015-04-15 11:20:45 -0700 | [diff] [blame] | 28 | <step name="Wait-for-Start-${#}" exec="onos-wait-for-start ${OC#}" |
| 29 | requires="Install-${#}"/> |
Thomas Vachuska | 8189a74 | 2015-05-29 10:02:52 -0700 | [diff] [blame] | 30 | |
Thomas Vachuska | f9c8436 | 2015-04-15 11:20:45 -0700 | [diff] [blame] | 31 | <step name="Check-Logs-${#}" exec="onos-check-logs ${OC#}" |
Thomas Vachuska | 18571b0 | 2015-05-31 22:30:06 -0700 | [diff] [blame] | 32 | requires="~Wait-for-Start-${#}"/> |
Thomas Vachuska | 8189a74 | 2015-05-29 10:02:52 -0700 | [diff] [blame] | 33 | <step name="Check-Components-${#}" exec="onos-check-components ${OC#}" |
Thomas Vachuska | 4355496 | 2015-06-02 11:45:24 -0700 | [diff] [blame^] | 34 | requires="~Wait-for-Start-${#},~Check-Logs-${#}"/> |
Thomas Vachuska | 8189a74 | 2015-05-29 10:02:52 -0700 | [diff] [blame] | 35 | <step name="Check-Apps-${#}" exec="onos-check-apps ${OC#}" |
Thomas Vachuska | 4355496 | 2015-06-02 11:45:24 -0700 | [diff] [blame^] | 36 | requires="~Wait-for-Start-${#},~Check-Logs-${#}"/> |
Thomas Vachuska | f9c8436 | 2015-04-15 11:20:45 -0700 | [diff] [blame] | 37 | </parallel> |
| 38 | </group> |
| 39 | </scenario> |