From 5b1dc2c1ffd1b80c4a8e51c5f02834e0d74ea614 Mon Sep 17 00:00:00 2001 From: Ricardo Dias Date: Fri, 11 Mar 2016 17:48:36 +0000 Subject: [PATCH] rbd-mirroring: test: Added mirror image enable/disable to RBD CLI syntax tests Signed-off-by: Ricardo Dias --- src/test/cli/rbd/help.t | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/test/cli/rbd/help.t b/src/test/cli/rbd/help.t index 03a5c9cd3f756..78897386e4bf0 100644 --- a/src/test/cli/rbd/help.t +++ b/src/test/cli/rbd/help.t @@ -42,6 +42,8 @@ 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 image disable Disable RBD mirroring for an image. + mirror image enable Enable RBD mirroring for an image. 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 @@ -746,6 +748,35 @@ --path arg path to merged diff (or '-' for stdout) --no-progress disable progress output + rbd help mirror image disable + usage: rbd mirror image disable [--force] [--pool ] [--image ] + + + Disable RBD mirroring for an image. + + Positional arguments + image specification + (example: [/]) + + Optional arguments + --force disable even if not primary + -p [ --pool ] arg pool name + --image arg image name + + rbd help mirror image enable + usage: rbd mirror image enable [--pool ] [--image ] + + + Enable RBD mirroring for an image. + + Positional arguments + image specification + (example: [/]) + + Optional arguments + -p [ --pool ] arg pool name + --image arg image name + rbd help mirror pool disable usage: rbd mirror pool disable [--pool ] -- 2.39.5