Commit Graph

9 Commits

Author SHA1 Message Date
Danny Al-Gaaf
3af7a1ac5b ceph-disk: fix /dev/dm-[0-9] handling list_all_partitions()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-20 12:10:22 +01:00
Danny Al-Gaaf
9bcf5b64f4 ceph-disk: rename local variable shadowing builtin
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-19 22:07:36 +01:00
Danny Al-Gaaf
4adf088107 ceph-disk: remove twice defined identical function unmount
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-19 22:05:23 +01:00
Danny Al-Gaaf
ea26ea0d81 ceph-disk: remove twice defined function mount
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-19 22:02:49 +01:00
Danny Al-Gaaf
c57daa3c6e ceph-disk: remove double defined function get_conf
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-19 22:00:41 +01:00
Danny Al-Gaaf
57dde5c8b1 ceph-disk: rename local variable shadowing builtin
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-19 21:51:54 +01:00
Sage Weil
f287c6f90a ceph-disk: simplify command dispatch
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-19 12:52:23 -07:00
Sage Weil
a019753bd3 ceph-disk: consolidate exceptions
Use a single exception type, and catch it at the top level.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-19 12:52:23 -07:00
Sage Weil
20e4ba5ceb ceph-disk: consolidate ceph-disk-* into a single binary
ceph-disk prepare ...
 ceph-disk activate ...
 ceph-disk ...

This let's us share code (we were already duplicating a bunch of stuff!)
and to add new commands easily.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-19 12:52:23 -07:00