From: Jason Dillaman Date: Wed, 25 Nov 2015 16:00:12 +0000 (-0500) Subject: tests: added new rbd mirroring CLI commands X-Git-Tag: v10.0.2~113^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F6129%2Fhead;p=ceph.git tests: added new rbd mirroring CLI commands Signed-off-by: Jason Dillaman --- diff --git a/src/test/cli/rbd/help.t b/src/test/cli/rbd/help.t index 52239df5c25b..6fbd7eb00e10 100644 --- a/src/test/cli/rbd/help.t +++ b/src/test/cli/rbd/help.t @@ -36,6 +36,13 @@ lock remove (lock rm) Release a lock on an image. map Map image to a block device using the kernel. merge-diff Merge two diff exports together. + mirror pool disable Disable RBD mirroring by default within a pool. + mirror pool enable Enable RBD mirroring by default within a pool. + mirror pool info Show information about the pool mirroring + configuration. + mirror pool peer add Add a mirroring peer to a pool. + mirror pool peer remove Remove a mirroring peer from a pool. + mirror pool peer set Update mirroring peer settings. nbd list (nbd ls) List the nbd devices already used. nbd map Map image to a nbd device. nbd unmap Unmap a nbd device. @@ -560,6 +567,93 @@ --path arg path to merged diff (or '-' for stdout) --no-progress disable progress output + rbd help mirror pool disable + usage: rbd mirror pool disable [--pool ] + + + Disable RBD mirroring by default within a pool. + + Positional arguments + pool name + + Optional arguments + -p [ --pool ] arg pool name + + rbd help mirror pool enable + usage: rbd mirror pool enable [--pool ] + + + Enable RBD mirroring by default within a pool. + + Positional arguments + pool name + + Optional arguments + -p [ --pool ] arg pool name + + rbd help mirror pool info + usage: rbd mirror pool info [--pool ] [--format ] + [--pretty-format] + + + Show information about the pool mirroring configuration. + + Positional arguments + pool name + + Optional arguments + -p [ --pool ] arg pool name + --format arg output format [plain, json, or xml] + --pretty-format pretty formatting (json and xml) + + rbd help mirror pool peer add + usage: rbd mirror pool peer add [--pool ] + [--remote-client-name ] + [--remote-cluster ] + [--remote-cluster-uuid ] + + + Add a mirroring peer to a pool. + + Positional arguments + pool name + remote cluster spec + (example: [@] + + Optional arguments + -p [ --pool ] arg pool name + --remote-client-name arg remote client name + --remote-cluster arg remote cluster name + --remote-cluster-uuid arg remote cluster uuid + + rbd help mirror pool peer remove + usage: rbd mirror pool peer remove [--pool ] + + + Remove a mirroring peer from a pool. + + Positional arguments + pool name + cluster UUID + + Optional arguments + -p [ --pool ] arg pool name + + rbd help mirror pool peer set + usage: rbd mirror pool peer set [--pool ] + + + Update mirroring peer settings. + + Positional arguments + pool name + cluster UUID + peer parameter [client or cluster] + new client or cluster name + + Optional arguments + -p [ --pool ] arg pool name + rbd help nbd list usage: rbd nbd list