The openstack_dashboard.openstack.common.rpc.matchmaker_ring Module
The MatchMaker classes should except a Topic or Fanout exchange key and
return keys for direct exchanges, per (approximate) AMQP parlance.
-
class openstack_dashboard.openstack.common.rpc.matchmaker_ring.FanoutRingExchange(ring=None)[source]
Bases: openstack_dashboard.openstack.common.rpc.matchmaker_ring.RingExchange
Fanout Exchange based on a hashmap.
-
FanoutRingExchange.run(key)[source]
-
class openstack_dashboard.openstack.common.rpc.matchmaker_ring.MatchMakerRing(ring=None)[source]
Bases: openstack_dashboard.openstack.common.rpc.matchmaker.MatchMakerBase
Match Maker where hosts are loaded from a static hashmap.
-
class openstack_dashboard.openstack.common.rpc.matchmaker_ring.RingExchange(ring=None)[source]
Bases: openstack_dashboard.openstack.common.rpc.matchmaker.Exchange
Match Maker where hosts are loaded from a static file containing
a hashmap (JSON formatted).
__init__ takes optional ring dictionary argument, otherwise
loads the ringfile from CONF.mathcmaker_ringfile.
-
class openstack_dashboard.openstack.common.rpc.matchmaker_ring.RoundRobinRingExchange(ring=None)[source]
Bases: openstack_dashboard.openstack.common.rpc.matchmaker_ring.RingExchange
A Topic Exchange based on a hashmap.
-
RoundRobinRingExchange.run(key)[source]