Browse code

Add pluggability for matchmaker-redis

This commit introduces stevedore to matchmaker-redis:

https://review.openstack.org/#/c/161615/

Change-Id: I547157c02c9e0536add6949910a911540f27fb2d

Li Ma authored on 2015/03/24 15:05:15
Showing 1 changed files
... ...
@@ -251,8 +251,7 @@ function iniset_rpc_backend {
251 251
         iniset $file $section rpc_backend "zmq"
252 252
         iniset $file $section rpc_zmq_host `hostname`
253 253
         if [ "$ZEROMQ_MATCHMAKER" == "redis" ]; then
254
-            iniset $file $section rpc_zmq_matchmaker \
255
-                oslo.messaging._drivers.matchmaker_redis.MatchMakerRedis
254
+            iniset $file $section rpc_zmq_matchmaker "redis"
256 255
             MATCHMAKER_REDIS_HOST=${MATCHMAKER_REDIS_HOST:-127.0.0.1}
257 256
             iniset $file matchmaker_redis host $MATCHMAKER_REDIS_HOST
258 257
         else