diff options
Diffstat (limited to 'openstack/common/rpc/matchmaker_ring.py')
| -rw-r--r-- | openstack/common/rpc/matchmaker_ring.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/openstack/common/rpc/matchmaker_ring.py b/openstack/common/rpc/matchmaker_ring.py index dbfb36f..2f1f79b 100644 --- a/openstack/common/rpc/matchmaker_ring.py +++ b/openstack/common/rpc/matchmaker_ring.py @@ -43,9 +43,7 @@ LOG = logging.getLogger(__name__) class RingExchange(mm.Exchange): - """ - Match Maker where hosts are loaded from a static file containing - a hashmap (JSON formatted). + """Match Maker where hosts are loaded from a static JSON formatted file. __init__ takes optional ring dictionary argument, otherwise loads the ringfile from CONF.mathcmaker_ringfile. @@ -104,9 +102,7 @@ class FanoutRingExchange(RingExchange): class MatchMakerRing(mm.MatchMakerBase): - """ - Match Maker where hosts are loaded from a static hashmap. - """ + """Match Maker where hosts are loaded from a static hashmap.""" def __init__(self, ring=None): super(MatchMakerRing, self).__init__() self.add_binding(mm.FanoutBinding(), FanoutRingExchange(ring)) |
