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}"/> |
| 19 | <parallel var="${OC#}"> |
| 20 | <step name="Uninstall-${#}" exec="onos-uninstall ${OC#}"/> |
| 21 | <step name="Install-${#}" exec="onos-install ${OC#}" |
| 22 | requires="Uninstall-${#},Push-Bits"/> |
| 23 | <step name="Wait-for-Start-${#}" exec="onos-wait-for-start ${OC#}" |
| 24 | requires="Install-${#}"/> |
| 25 | <step name="Check-Logs-${#}" exec="onos-check-logs ${OC#}" |
| 26 | requires="-Wait-for-Start-${#}"/> |
| 27 | </parallel> |
| 28 | </group> |
| 29 | </scenario> |