]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tools: monmaptool: support monmap features 10907/head
authorJoao Eduardo Luis <joao@suse.de>
Mon, 22 Aug 2016 21:51:29 +0000 (22:51 +0100)
committerJoao Eduardo Luis <joao@suse.de>
Wed, 2 Nov 2016 23:50:12 +0000 (23:50 +0000)
commitf0e29abe4c15bd773575cf96f67f64304e4cf9e6
tree984b4b24cc3f3bf9e2bd9c6e8a5def4ec1ee6c8a
parentacf4b8604c397a1f5cd702b6b6ad98776d9e5764
tools: monmaptool: support monmap features

Adds three new options:

  --feature-list     will list monmap features, as well as available
                     features.
  --feature-set      sets a feature on the monmap
  --feature-unset    unsets a feature on the monmap

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
src/test/cli/monmaptool/add-exists.t
src/test/cli/monmaptool/feature-set-unset-list.t [new file with mode: 0644]
src/test/cli/monmaptool/help.t
src/test/cli/monmaptool/rm-nonexistent.t
src/test/cli/monmaptool/simple.t
src/tools/monmaptool.cc