aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/tools/test/bin/ogroup-opts
diff options
context:
space:
mode:
authorCNlucius <lukai1@huawei.com>2016-09-13 11:40:12 +0800
committerCNlucius <lukai1@huawei.com>2016-09-13 11:41:53 +0800
commitb731e2f1dd0972409b136aebc7b463dd72c9cfad (patch)
tree5107d7d80c19ad8076c2c97c2b5ef8d1cf3ab903 /framework/src/onos/tools/test/bin/ogroup-opts
parentee93993458266114c29271a481ef9ce7ce621b2a (diff)
ONOSFW-171
O/S-SFC-ONOS scenario documentation Change-Id: I51ae1cf736ea24ab6680f8edca1b2bf5dd598365 Signed-off-by: CNlucius <lukai1@huawei.com>
Diffstat (limited to 'framework/src/onos/tools/test/bin/ogroup-opts')
-rw-r--r--framework/src/onos/tools/test/bin/ogroup-opts58
1 files changed, 0 insertions, 58 deletions
diff --git a/framework/src/onos/tools/test/bin/ogroup-opts b/framework/src/onos/tools/test/bin/ogroup-opts
deleted file mode 100644
index eec2f224..00000000
--- a/framework/src/onos/tools/test/bin/ogroup-opts
+++ /dev/null
@@ -1,58 +0,0 @@
-# Options read by onos-group for help message formatting and sanity checks.
-GOPTS='install kill patch-vm push-keys uninstall'
-
-# Tab completion settings for onos-group.
-function _ogroup-opts () {
- local cur=${COMP_WORDS[COMP_CWORD]}
- if [ $COMP_CWORD -eq 1 ]; then
- COMPREPLY=( $( compgen -W "${GOPTS} help" -- $cur ) )
- fi
-}
-
-complete -F _ogroup-opts onos-group
-
-
-# Tab completion settings for stc
-function _stc-opts () {
- local cur=${COMP_WORDS[COMP_CWORD]}
- if [ $COMP_CWORD -eq 1 ]; then
- COMPREPLY=( $( compgen -W "$(cd $ONOS_ROOT/tools/test/scenarios && ls -1 | sed 's/.xml//g')" -- $cur ) )
- fi
-}
-
-complete -F _stc-opts stc
-
-
-# Tab completion settings for stl
-function _stl-opts () {
- local cur=${COMP_WORDS[COMP_CWORD]}
- if [ $COMP_CWORD -eq 1 ]; then
- COMPREPLY=( $( compgen -W "$(cd /tmp/stc && ls -1)" -- $cur ) )
- elif [ $COMP_CWORD -eq 2 ]; then
- COMPREPLY=( $( compgen -W "$(cd /tmp/stc/$3 && ls -1)" -- $cur ) )
- fi
-}
-
-complete -F _stl-opts stl
-
-
-# Tab completion settings for cell
-function _cell-opts () {
- local cur=${COMP_WORDS[COMP_CWORD]}
- if [ $COMP_CWORD -eq 1 ]; then
- COMPREPLY=( $( compgen -W "$(cd $ONOS_ROOT/tools/test/cells && ls -1)" -- $cur ) )
- fi
-}
-
-complete -F _cell-opts cell vicell
-
-
-# Tab completion settings for onos-create-app.
-function _ocapp-opts () {
- local cur=${COMP_WORDS[COMP_CWORD]}
- if [ $COMP_CWORD -eq 1 ]; then
- COMPREPLY=( $( compgen -W "app bundle ui uitable uitopo cli" -- $cur ) )
- fi
-}
-
-complete -F _ocapp-opts onos-create-app