diff options
author | Tim Rozet <trozet@redhat.com> | 2016-07-21 23:34:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-07-21 23:34:11 +0000 |
commit | 605514ba7d4d1d251aaae7018589629cd6e2a1c7 (patch) | |
tree | 11ee7d55e1458785f52bdc681092764cbe6671e9 /ci | |
parent | 7c3b94c06222b2b61d4e5bd42d87de6833840d14 (diff) | |
parent | 7687bc27268fee5ac35f13a0a560a9f3f6136adb (diff) |
Merge "Adds utility to connect to ODL karaf console"
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/util.sh | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -5,7 +5,7 @@ CONFIG=${CONFIG:-'/var/opt/opnfv'} RESOURCES=${RESOURCES:-"$CONFIG/images"} LIB=${LIB:-"$CONFIG/lib"} -VALID_CMDS="undercloud overcloud debug-stack -h --help" +VALID_CMDS="undercloud overcloud opendaylight debug-stack -h --help" source $LIB/utility-functions.sh @@ -27,6 +27,8 @@ display_usage() { echo -e " user Optional: Defaults to 'stack'\n" echo -e " command Optional: Defaults to none\n" echo -e "" + echo -e " opendaylight Connect to OpenDaylight Karaf console\n" + echo -e "" echo -e " overcloud [ node [ command ] ] Connect to an Overcloud node and optionally execute a command\n" echo -e " node Required: in format controller|compute<number>. Example: controller0\n" echo -e " command Optional: Defaults to none\n" @@ -79,6 +81,10 @@ parse_cmdline() { fi exit 0 ;; + opendaylight) + opendaylight_connect + exit 0 + ;; debug-stack) undercloud_connect stack "$(typeset -f debug_stack); debug_stack" exit 0 |