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.
- ack_alive(key, host)[source]
- backend_register(key, key_host)[source]
- backend_unregister(key, key_host)[source]
- expire(topic, host)[source]
- 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.
- 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”
- run(topic)[source]