Skip to content

Commit

Permalink
tests: added new rbd mirroring CLI commands
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
  • Loading branch information
Jason Dillaman committed Dec 1, 2015
1 parent 67256bd commit 9a68bec
Showing 1 changed file with 94 additions and 0 deletions.
94 changes: 94 additions & 0 deletions src/test/cli/rbd/help.t
Expand Up @@ -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.
object-map rebuild Rebuild an invalid object map.
remove (rm) Delete an image.
rename (mv) Rename image within pool.
Expand Down Expand Up @@ -557,6 +564,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 <pool>]
<pool-name>

Disable RBD mirroring by default within a pool.

Positional arguments
<pool-name> pool name

Optional arguments
-p [ --pool ] arg pool name

rbd help mirror pool enable
usage: rbd mirror pool enable [--pool <pool>]
<pool-name>

Enable RBD mirroring by default within a pool.

Positional arguments
<pool-name> pool name

Optional arguments
-p [ --pool ] arg pool name

rbd help mirror pool info
usage: rbd mirror pool info [--pool <pool>] [--format <format>]
[--pretty-format]
<pool-name>

Show information about the pool mirroring configuration.

Positional arguments
<pool-name> 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 <pool>]
[--remote-client-name <remote-client-name>]
[--remote-cluster <remote-cluster>]
[--remote-cluster-uuid <remote-cluster-uuid>]
<pool-name> <remote-cluster-spec>

Add a mirroring peer to a pool.

Positional arguments
<pool-name> pool name
<remote-cluster-spec> remote cluster spec
(example: [<client name>@]<cluster name>

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 <pool>]
<pool-name> <cluster-uuid>

Remove a mirroring peer from a pool.

Positional arguments
<pool-name> pool name
<cluster-uuid> cluster UUID

Optional arguments
-p [ --pool ] arg pool name

rbd help mirror pool peer set
usage: rbd mirror pool peer set [--pool <pool>]
<pool-name> <cluster-uuid> <key> <value>

Update mirroring peer settings.

Positional arguments
<pool-name> pool name
<cluster-uuid> cluster UUID
<key> peer parameter [client or cluster]
<value> new client or cluster name

Optional arguments
-p [ --pool ] arg pool name

rbd help object-map rebuild
usage: rbd object-map rebuild [--pool <pool>] [--image <image>]
[--snap <snap>] [--no-progress]
Expand Down

0 comments on commit 9a68bec

Please sign in to comment.