]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commit
Add abstracted function about get monitor initial members.
authorVicente Cheng <freeze.bilsted@gmail.com>
Fri, 20 Mar 2015 02:08:06 +0000 (10:08 +0800)
committerVicente Cheng <freeze.bilsted@gmail.com>
Fri, 20 Mar 2015 02:08:06 +0000 (10:08 +0800)
commit88c48395471e686389bc2c672e29d61026de8d95
tree67f9097dd3448acac3f70aa56d62c795e9d7845c
parentd3569231689f0239eafb4413c89e0428577991b5
Add abstracted function about get monitor initial members.

    To get monitor members feature will be reuse serval
    times in mon.py and osd.py. Due to this reason, I
    rewrite the helper function for this feature.

    1. Add get_mon_initial_members that can handle
       monitor member featching and configuration
       input.
    2. Let all works about monitor featching of
       mon.py and osd.py to use this abstracted function.

If you have any questions, feel free to let me know.
Thanks!

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
ceph_deploy/mon.py
ceph_deploy/osd.py