Merge "Add pluggability for matchmaker-redis"

This commit is contained in:
Jenkins 2015-04-06 23:40:05 +00:00 committed by Gerrit Code Review
commit 4a640c6847

View File

@ -250,8 +250,7 @@ function iniset_rpc_backend {
iniset $file $section rpc_backend "zmq"
iniset $file $section rpc_zmq_host `hostname`
if [ "$ZEROMQ_MATCHMAKER" == "redis" ]; then
iniset $file $section rpc_zmq_matchmaker \
oslo.messaging._drivers.matchmaker_redis.MatchMakerRedis
iniset $file $section rpc_zmq_matchmaker "redis"
MATCHMAKER_REDIS_HOST=${MATCHMAKER_REDIS_HOST:-127.0.0.1}
iniset $file matchmaker_redis host $MATCHMAKER_REDIS_HOST
else