summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/consistency-group-snapshot.rst96
-rw-r--r--doc/source/command-objects/consistency-group.rst74
-rw-r--r--doc/source/command-objects/floating-ip.rst14
-rw-r--r--doc/source/command-objects/image.rst8
-rw-r--r--doc/source/command-objects/router.rst10
-rw-r--r--doc/source/command-objects/security-group.rst14
-rw-r--r--doc/source/command-objects/snapshot.rst6
-rw-r--r--doc/source/command-objects/volume-snapshot.rst171
-rw-r--r--doc/source/command-objects/volume.rst16
9 files changed, 406 insertions, 3 deletions
diff --git a/doc/source/command-objects/consistency-group-snapshot.rst b/doc/source/command-objects/consistency-group-snapshot.rst
new file mode 100644
index 00000000..b7b1423e
--- /dev/null
+++ b/doc/source/command-objects/consistency-group-snapshot.rst
@@ -0,0 +1,96 @@
+==========================
+consistency group snapshot
+==========================
+
+Block Storage v2
+
+consistency group snapshot create
+---------------------------------
+
+Create new consistency group snapshot.
+
+.. program:: consistency group snapshot create
+.. code:: bash
+
+ os consistency group snapshot create
+ [--consistency-group <consistency-group>]
+ [--description <description>]
+ [<snapshot-name>]
+
+.. option:: --consistency-group <consistency-group>
+
+ Consistency group to snapshot (name or ID)
+ (default to be the same as <snapshot-name>)
+
+.. option:: --description <description>
+
+ Description of this consistency group snapshot
+
+.. _consistency_group_snapshot_create-snapshot-name:
+.. option:: <snapshot-name>
+
+ Name of new consistency group snapshot (default to None)
+
+consistency group snapshot delete
+---------------------------------
+
+Delete consistency group snapshot(s)
+
+.. program:: consistency group snapshot delete
+.. code:: bash
+
+ os consistency group snapshot delete
+ <consistency-group-snapshot> [<consistency-group-snapshot> ...]
+
+.. _consistency_group_snapshot_delete-consistency-group-snapshot:
+.. describe:: <consistency-group-snapshot>
+
+ Consistency group snapshot(s) to delete (name or ID)
+
+consistency group snapshot list
+-------------------------------
+
+List consistency group snapshots.
+
+.. program:: consistency group snapshot list
+.. code:: bash
+
+ os consistency group snapshot list
+ [--all-projects]
+ [--long]
+ [--status <status>]
+ [--consistency-group <consistency-group>]
+
+.. option:: --all-projects
+
+ Show detail for all projects. Admin only.
+ (defaults to False)
+
+.. option:: --long
+
+ List additional fields in output
+
+.. option:: --status <status>
+
+ Filters results by a status
+ ("available", "error", "creating", "deleting" or "error_deleting")
+
+.. option:: --consistency-group <consistency-group>
+
+ Filters results by a consistency group (name or ID)
+
+consistency group snapshot show
+-------------------------------
+
+Display consistency group snapshot details.
+
+.. program:: consistency group snapshot show
+.. code:: bash
+
+ os consistency group snapshot show
+ <consistency-group-snapshot>
+
+.. _consistency_group_snapshot_show-consistency-group-snapshot:
+.. describe:: <consistency-group-snapshot>
+
+ Consistency group snapshot to display (name or ID)
diff --git a/doc/source/command-objects/consistency-group.rst b/doc/source/command-objects/consistency-group.rst
index f24df0d1..46682a56 100644
--- a/doc/source/command-objects/consistency-group.rst
+++ b/doc/source/command-objects/consistency-group.rst
@@ -4,6 +4,63 @@ consistency group
Block Storage v2
+consistency group create
+------------------------
+
+Create new consistency group.
+
+.. program:: consistency group create
+.. code:: bash
+
+ os consistency group create
+ --volume-type <volume-type> | --consistency-group-source <consistency-group>
+ [--description <description>]
+ [--availability-zone <availability-zone>]
+ [<name>]
+
+.. option:: --volume-type <volume-type>
+
+ Volume type of this consistency group (name or ID)
+
+.. option:: --consistency-group-source <consistency-group>
+
+ Existing consistency group (name or ID)
+
+.. option:: --description <description>
+
+ Description of this consistency group
+
+.. option:: --availability-zone <availability-zone>
+
+ Availability zone for this consistency group
+ (not available if creating consistency group from source)
+
+.. _consistency_group_create-name:
+.. option:: <name>
+
+ Name of new consistency group (default to None)
+
+consistency group delete
+------------------------
+
+Delete consistency group(s).
+
+.. program:: consistency group delete
+.. code:: bash
+
+ os consistency group delete
+ [--force]
+ <consistency-group> [<consistency-group> ...]
+
+.. option:: --force
+
+ Allow delete in state other than error or available
+
+.. _consistency_group_delete-consistency-group:
+.. describe:: <consistency-group>
+
+ Consistency group(s) to delete (name or ID)
+
consistency group list
----------------------
@@ -24,3 +81,20 @@ List consistency groups.
.. option:: --long
List additional fields in output
+
+consistency group show
+----------------------
+
+Display consistency group details.
+
+.. program:: consistency group show
+.. code:: bash
+
+ os consistency group show
+ <consistency-group>
+
+.. _consistency_group_show-consistency-group:
+.. describe:: <consistency-group>
+
+ Consistency group to display (name or ID)
+
diff --git a/doc/source/command-objects/floating-ip.rst b/doc/source/command-objects/floating-ip.rst
index b2cc8af0..6a5e38b0 100644
--- a/doc/source/command-objects/floating-ip.rst
+++ b/doc/source/command-objects/floating-ip.rst
@@ -18,6 +18,7 @@ Create floating IP
[--floating-ip-address <floating-ip-address>]
[--fixed-ip-address <fixed-ip-address>]
[--description <description>]
+ [--project <project> [--project-domain <project-domain>]]
<network>
.. option:: --subnet <subnet>
@@ -45,6 +46,19 @@ Create floating IP
Set floating IP description
*Network version 2 only*
+.. option:: --project <project>
+
+ Owner's project (name or ID)
+
+ *Network version 2 only*
+
+.. option:: --project-domain <project-domain>
+
+ Domain the project belongs to (name or ID).
+ This can be used in case collisions between project names exist.
+
+ *Network version 2 only*
+
.. describe:: <network>
Network to allocate floating IP from (name or ID)
diff --git a/doc/source/command-objects/image.rst b/doc/source/command-objects/image.rst
index 842eab8d..7fc33c69 100644
--- a/doc/source/command-objects/image.rst
+++ b/doc/source/command-objects/image.rst
@@ -78,7 +78,8 @@ Create/upload an image
.. option:: --disk-format <disk-format>
- Image disk format (default: raw)
+ Image disk format. The supported options are: ami, ari, aki, vhd, vmdk,
+ raw, qcow2, vhdx, vdi, and iso. The default format is: raw
.. option:: --size <size>
@@ -221,7 +222,7 @@ List available images
.. option:: --sort <key>[:<direction>]
- Sort output by selected keys and directions(asc or desc) (default: asc),
+ Sort output by selected keys and directions(asc or desc) (default: name:asc),
multiple keys and directions can be specified separated by comma
.. option:: --limit <limit>
@@ -337,7 +338,8 @@ Set image properties
.. option:: --disk-format <disk-format>
- Image disk format (default: raw)
+ Image disk format. The supported options are: ami, ari, aki, vhd, vmdk,
+ raw, qcow2, vhdx, vdi, and iso.
.. option:: --size <size>
diff --git a/doc/source/command-objects/router.rst b/doc/source/command-objects/router.rst
index 56b95ffa..059d1a3f 100644
--- a/doc/source/command-objects/router.rst
+++ b/doc/source/command-objects/router.rst
@@ -137,6 +137,7 @@ List routers
[--name <name>]
[--enable | --disable]
[--long]
+ [--project <project> [--project-domain <project-domain>]]
.. option:: --long
@@ -154,6 +155,15 @@ List routers
List disabled routers
+.. option:: --project <project>
+
+ List routers according to their project (name or ID)
+
+.. option:: --project-domain <project-domain>
+
+ Domain the project belongs to (name or ID).
+ This can be used in case collisions between project names exist.
+
router remove port
------------------
diff --git a/doc/source/command-objects/security-group.rst b/doc/source/command-objects/security-group.rst
index ba054554..5157f530 100644
--- a/doc/source/command-objects/security-group.rst
+++ b/doc/source/command-objects/security-group.rst
@@ -67,6 +67,7 @@ List security groups
os security group list
[--all-projects]
+ [--project <project> [--project-domain <project-domain>]]
.. option:: --all-projects
@@ -75,6 +76,19 @@ List security groups
*Network version 2 ignores this option and will always display information*
*for all projects (admin only).*
+.. option:: --project <project>
+
+ List security groups according to the project (name or ID)
+
+ *Network version 2 only*
+
+.. option:: --project-domain <project-domain>
+
+ Domain the project belongs to (name or ID).
+ This can be used in case collisions between project names exist.
+
+ *Network version 2 only*
+
security group set
------------------
diff --git a/doc/source/command-objects/snapshot.rst b/doc/source/command-objects/snapshot.rst
index a2709adb..e75693ca 100644
--- a/doc/source/command-objects/snapshot.rst
+++ b/doc/source/command-objects/snapshot.rst
@@ -8,6 +8,7 @@ snapshot create
---------------
Create new snapshot
+(Deprecated, please use ``volume snapshot create`` instead)
.. program:: snapshot create
.. code:: bash
@@ -46,6 +47,7 @@ snapshot delete
---------------
Delete snapshot(s)
+(Deprecated, please use ``volume snapshot delete`` instead)
.. program:: snapshot delete
.. code:: bash
@@ -62,6 +64,7 @@ snapshot list
-------------
List snapshots
+(Deprecated, please use ``volume snapshot list`` instead)
.. program:: snapshot list
.. code:: bash
@@ -96,6 +99,7 @@ snapshot set
------------
Set snapshot properties
+(Deprecated, please use ``volume snapshot set`` instead)
.. program:: snapshot set
.. code:: bash
@@ -137,6 +141,7 @@ snapshot show
-------------
Display snapshot details
+(Deprecated, please use ``volume snapshot show`` instead)
.. program:: snapshot show
.. code:: bash
@@ -153,6 +158,7 @@ snapshot unset
--------------
Unset snapshot properties
+(Deprecated, please use ``volume snapshot unset`` instead)
.. program:: snapshot unset
.. code:: bash
diff --git a/doc/source/command-objects/volume-snapshot.rst b/doc/source/command-objects/volume-snapshot.rst
new file mode 100644
index 00000000..b84601f4
--- /dev/null
+++ b/doc/source/command-objects/volume-snapshot.rst
@@ -0,0 +1,171 @@
+===============
+volume snapshot
+===============
+
+Block Storage v1, v2
+
+volume snapshot create
+----------------------
+
+Create new volume snapshot
+
+.. program:: volume snapshot create
+.. code:: bash
+
+ os volume snapshot create
+ [--volume <volume>]
+ [--description <description>]
+ [--force]
+ [--property <key=value> [...] ]
+ <snapshot-name>
+
+.. option:: --volume <volume>
+
+ Volume to snapshot (name or ID) (default is <snapshot-name>)
+
+.. option:: --description <description>
+
+ Description of the snapshot
+
+.. option:: --force
+
+ Create a snapshot attached to an instance. Default is False
+
+.. option:: --property <key=value>
+
+ Set a property to this snapshot (repeat option to set multiple properties)
+
+ *Volume version 2 only*
+
+.. _volume_snapshot_create-snapshot-name:
+.. describe:: <snapshot-name>
+
+ Name of the new snapshot (default to None)
+
+volume snapshot delete
+----------------------
+
+Delete volume snapshot(s)
+
+.. program:: volume snapshot delete
+.. code:: bash
+
+ os volume snapshot delete
+ <snapshot> [<snapshot> ...]
+
+.. _volume_snapshot_delete-snapshot:
+.. describe:: <snapshot>
+
+ Snapshot(s) to delete (name or ID)
+
+volume snapshot list
+--------------------
+
+List volume snapshots
+
+.. program:: volume snapshot list
+.. code:: bash
+
+ os volume snapshot list
+ [--all-projects]
+ [--long]
+ [--limit <limit>]
+ [--marker <marker>]
+
+.. option:: --all-projects
+
+ Include all projects (admin only)
+
+.. option:: --long
+
+ List additional fields in output
+
+.. option:: --limit <limit>
+
+ Maximum number of snapshots to display
+
+ *Volume version 2 only*
+
+.. option:: --marker <marker>
+
+ The last snapshot ID of the previous page
+
+ *Volume version 2 only*
+
+volume snapshot set
+-------------------
+
+Set volume snapshot properties
+
+.. program:: volume snapshot set
+.. code:: bash
+
+ os volume snapshot set
+ [--name <name>]
+ [--description <description>]
+ [--property <key=value> [...] ]
+ [--state <state>]
+ <snapshot>
+
+.. option:: --name <name>
+
+ New snapshot name
+
+.. option:: --description <description>
+
+ New snapshot description
+
+.. option:: --property <key=value>
+
+ Property to add or modify for this snapshot (repeat option to set multiple properties)
+
+.. option:: --state <state>
+
+ New snapshot state.
+ ("available", "error", "creating", "deleting", or "error_deleting") (admin only)
+ (This option simply changes the state of the snapshot in the database with
+ no regard to actual status, exercise caution when using)
+
+ *Volume version 2 only*
+
+.. _volume_snapshot_set-snapshot:
+.. describe:: <snapshot>
+
+ Snapshot to modify (name or ID)
+
+volume snapshot show
+--------------------
+
+Display volume snapshot details
+
+.. program:: volume snapshot show
+.. code:: bash
+
+ os volume snapshot show
+ <snapshot>
+
+.. _volume_snapshot_show-snapshot:
+.. describe:: <snapshot>
+
+ Snapshot to display (name or ID)
+
+volume snapshot unset
+---------------------
+
+Unset volume snapshot properties
+
+.. program:: volume snapshot unset
+.. code:: bash
+
+ os volume snapshot unset
+ [--property <key>]
+ <snapshot>
+
+.. option:: --property <key>
+
+ Property to remove from snapshot (repeat option to remove multiple properties)
+
+.. _volume_snapshot_unset-snapshot:
+.. describe:: <snapshot>
+
+ Snapshot to modify (name or ID)
diff --git a/doc/source/command-objects/volume.rst b/doc/source/command-objects/volume.rst
index abd433b6..df4d6880 100644
--- a/doc/source/command-objects/volume.rst
+++ b/doc/source/command-objects/volume.rst
@@ -254,6 +254,8 @@ Set volume properties
[--property <key=value> [...] ]
[--image-property <key=value> [...] ]
[--state <state>]
+ [--type <volume-type>]
+ [--retype-policy <retype-policy>]
[--bootable | --non-bootable]
[--read-only | --read-write]
<volume>
@@ -274,6 +276,20 @@ Set volume properties
Set a property on this volume (repeat option to set multiple properties)
+.. option:: --type <volume-type>
+
+ New volume type (name or ID)
+
+ *Volume version 2 only*
+
+.. option:: --retype-policy <retype-policy>
+
+ Migration policy while re-typing volume
+ ("never" or "on-demand", default is "never" )
+ (available only when "--type" option is specified)
+
+ *Volume version 2 only*
+
.. option:: --bootable
Mark volume as bootable