]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush: add --dump to crushtool 13726/head
authorLoic Dachary <ldachary@redhat.com>
Wed, 1 Mar 2017 14:16:28 +0000 (15:16 +0100)
committerLoic Dachary <ldachary@redhat.com>
Wed, 1 Mar 2017 16:04:46 +0000 (17:04 +0100)
commit46e0a2c2fb4cc490418e227242da504d0a59e9cb
tree9555b909e9ec3301aab6f57ab67a3b82c7b04fad
parent3955caca28a34ec2c4e9e1deb4f5d1a460b7aa0c
crush: add --dump to crushtool

So it can display the same as ceph osd crush dump from a file instead of
a live cluster. The default format is json-pretty and can be modified
via -f or --format in the same way as the ceph cli.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/cli/crushtool/help.t
src/tools/crushtool.cc