Committed by
Gerrit Code Review
Marking some old developer tools as deprecated; wil be removed after Falcon release.
Adding a teardown STC scenario. Change-Id: Ifb0d5ce0546f072f46485266e5247cb49a39db1c
Showing
3 changed files
with
28 additions
and
0 deletions
| ... | @@ -3,6 +3,9 @@ | ... | @@ -3,6 +3,9 @@ |
| 3 | # Launches the ONOS tests on the current cell environment. | 3 | # Launches the ONOS tests on the current cell environment. |
| 4 | # ----------------------------------------------------------------------------- | 4 | # ----------------------------------------------------------------------------- |
| 5 | 5 | ||
| 6 | +echo "This command has been deprecated and will be removed after Falcon release" | ||
| 7 | +echo "Please use the 'stc setup' command instead" | ||
| 8 | + | ||
| 6 | set -e | 9 | set -e |
| 7 | 10 | ||
| 8 | [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 | 11 | [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 | ... | ... |
| ... | @@ -3,6 +3,9 @@ | ... | @@ -3,6 +3,9 @@ |
| 3 | # Allows a select group of commands to be sent to all ONOS instances in a cell. | 3 | # Allows a select group of commands to be sent to all ONOS instances in a cell. |
| 4 | # ----------------------------------------------------------------------------- | 4 | # ----------------------------------------------------------------------------- |
| 5 | 5 | ||
| 6 | +echo "This command has been deprecated and will be removed after Falcon release" | ||
| 7 | +echo "Please use the 'stc setup|shutdown|teardown' command instead" | ||
| 8 | + | ||
| 6 | set -o pipefail | 9 | set -o pipefail |
| 7 | IFS=$'\n' | 10 | IFS=$'\n' |
| 8 | 11 | ... | ... |
tools/test/scenarios/teardown.xml
0 → 100644
| 1 | +<!-- | ||
| 2 | + ~ Copyright 2014-2016 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="teardown" description="ONOS cluster teardown/uninstall"> | ||
| 17 | + <group name="Teardown"> | ||
| 18 | + <parallel var="${OC#}"> | ||
| 19 | + <step name="Uninstall-${#}" exec="onos-uninstall ${OC#}"/> | ||
| 20 | + </parallel> | ||
| 21 | + </group> | ||
| 22 | +</scenario> |
-
Please register or login to post a comment