]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd-mirroring: test: Added mirror image enable/disable to RBD CLI syntax tests
authorRicardo Dias <rdias@suse.com>
Fri, 11 Mar 2016 17:48:36 +0000 (17:48 +0000)
committerRicardo Dias <rdias@suse.com>
Mon, 14 Mar 2016 18:30:41 +0000 (18:30 +0000)
Signed-off-by: Ricardo Dias <rdias@suse.com>
src/test/cli/rbd/help.t

index 03a5c9cd3f756a445cdc423fb896d1fa9477ed6d..78897386e4bf0497225ed0d075046710c46c4835 100644 (file)
@@ -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
     --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 <pool>] [--image <image>] 
+                                  <image-spec> 
+  
+  Disable RBD mirroring for an image.
+  
+  Positional arguments
+    <image-spec>         image specification
+                         (example: [<pool-name>/]<image-name>)
+  
+  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 <pool>] [--image <image>] 
+                                 <image-spec> 
+  
+  Enable RBD mirroring for an image.
+  
+  Positional arguments
+    <image-spec>         image specification
+                         (example: [<pool-name>/]<image-name>)
+  
+  Optional arguments
+    -p [ --pool ] arg    pool name
+    --image arg          image name
+  
   rbd help mirror pool disable
   usage: rbd mirror pool disable [--pool <pool>] 
                                  <pool-name>