Commit Graph

3 Commits

Author SHA1 Message Date
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