The openstack_dashboard.openstack.common.rpc.matchmaker_redis Module
The MatchMaker classes should accept a Topic or Fanout exchange key and
return keys for direct exchanges, per (approximate) AMQP parlance.
-
class openstack_dashboard.openstack.common.rpc.matchmaker_redis.MatchMakerRedis[source]
Bases: openstack_dashboard.openstack.common.rpc.matchmaker.HeartbeatMatchMakerBase
MatchMaker registering and looking-up hosts with a Redis server.
-
MatchMakerRedis.ack_alive(key, host)[source]
-
MatchMakerRedis.backend_register(key, key_host)[source]
-
MatchMakerRedis.backend_unregister(key, key_host)[source]
-
MatchMakerRedis.expire(topic, host)[source]
-
MatchMakerRedis.is_alive(topic, host)[source]
-
class openstack_dashboard.openstack.common.rpc.matchmaker_redis.RedisExchange(matchmaker)[source]
Bases: openstack_dashboard.openstack.common.rpc.matchmaker.Exchange
-
class openstack_dashboard.openstack.common.rpc.matchmaker_redis.RedisFanoutExchange(matchmaker)[source]
Bases: openstack_dashboard.openstack.common.rpc.matchmaker_redis.RedisExchange
Return a list of all hosts.
-
RedisFanoutExchange.run(topic)[source]
-
class openstack_dashboard.openstack.common.rpc.matchmaker_redis.RedisTopicExchange(matchmaker)[source]
Bases: openstack_dashboard.openstack.common.rpc.matchmaker_redis.RedisExchange
Exchange where all topic keys are split, sending to second half.
i.e. “compute.host” sends a message to “compute” running on “host”
-
RedisTopicExchange.run(topic)[source]