]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdmaptool: dump 'osd tree' in specified format
authorKefu Chai <kchai@redhat.com>
Wed, 20 May 2015 06:16:14 +0000 (14:16 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 28 May 2015 08:39:35 +0000 (01:39 -0700)
commitaa62dcbe39f003c599688f6a3003c746773fdd86
tree3a11e51f222cc3a1e918313ed8ab0cd594b5f35b
parentb2ccd9e365ce21394a1a852cfbcff8985ad3ad81
osdmaptool: dump 'osd tree' in specified format

* so we are able to dump more info from osdmap using this tool,
  and this allows us to reproduce the behavior of "ceph osd tree".
* add a test for 'osdmaptool --tree=<format> filepath'

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/cli/osdmaptool/tree.t [new file with mode: 0644]
src/tools/osdmaptool.cc