diff --git a/devstack/plugin.sh b/devstack/plugin.sh index d496717..1823ab1 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -64,6 +64,10 @@ function start_zeromq { run_process 0mq "$OSLO_BIN_DIR/oslo-messaging-zmq-broker" } +function get_transport_url { + echo "zmq://" +} + function iniset_zeromq_backend { local package=$1 local file=$2 @@ -71,6 +75,7 @@ function iniset_zeromq_backend { iniset $file $section rpc_backend "zmq" iniset $file $section rpc_zmq_host `hostname` + iniset $file $section transport_url $(get_transport_url) if [ "$ZEROMQ_MATCHMAKER" == "redis" ]; then iniset $file $section rpc_zmq_matchmaker "redis" MATCHMAKER_REDIS_HOST=${MATCHMAKER_REDIS_HOST:-127.0.0.1} diff --git a/tox.ini b/tox.ini index 20ecbaa..8e75f0d 100644 --- a/tox.ini +++ b/tox.ini @@ -11,15 +11,15 @@ install_command = pip install {opts} {packages} deps = bashate whitelist_externals = bash commands = bash -c "find {toxinidir} \ - -not \( -type d -name .?\* -prune \) \ # prune all 'dot' dirs - -not \( -type d -name doc -prune \) \ # skip documentation - -type f \ # only files - -not -name \*~ \ # skip editors, readme, etc + -not \( -type d -name .?\* -prune \) \ + -not \( -type d -name doc -prune \) \ + -type f \ + -not -name \*~ \ -not -name \*.md \ \( \ -name \*.sh -or \ -name \*rc -or \ -name functions\* -or \ - -wholename \*/lib/\* \ # /lib files are shell, but - \) \ # have no extension + -wholename \*/lib/\* \ + \) \ -print0 | xargs -0 bashate -v"