From ba449e33c801030f69f0e1d8b4d86a1aff2a720a Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Wed, 25 Nov 2015 11:00:12 -0500 Subject: [PATCH] tests: added new rbd mirroring CLI commands Signed-off-by: Jason Dillaman --- src/test/cli/rbd/help.t | 94 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) diff --git a/src/test/cli/rbd/help.t b/src/test/cli/rbd/help.t index 52239df5c25..6fbd7eb00e1 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 -- 2.39.5