Merge "[user guides] Change quota show
commands in admin guide"
This commit is contained in:
@@ -21,9 +21,7 @@ View Block Storage quotas
|
|||||||
|
|
||||||
Administrative users can view Block Storage service quotas.
|
Administrative users can view Block Storage service quotas.
|
||||||
|
|
||||||
#. Obtain the project ID.
|
#. Obtain the project ID:
|
||||||
|
|
||||||
For example:
|
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
@@ -33,13 +31,7 @@ Administrative users can view Block Storage service quotas.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ cinder quota-defaults PROJECT_ID
|
$ openstack quota show --default $OS_TENANT_ID
|
||||||
|
|
||||||
For example:
|
|
||||||
|
|
||||||
.. code-block:: console
|
|
||||||
|
|
||||||
$ cinder quota-defaults $project_id
|
|
||||||
+-----------+-------+
|
+-----------+-------+
|
||||||
| Property | Value |
|
| Property | Value |
|
||||||
+-----------+-------+
|
+-----------+-------+
|
||||||
@@ -48,17 +40,20 @@ Administrative users can view Block Storage service quotas.
|
|||||||
| volumes | 10 |
|
| volumes | 10 |
|
||||||
+-----------+-------+
|
+-----------+-------+
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
Listing default quotas with the OpenStack command line client will
|
||||||
|
provide all quotas for storage and network services. Previously, the
|
||||||
|
:command:`cinder quota-defaults` command would list only storage
|
||||||
|
quotas. You can use `PROJECT_ID` or `$OS_TENANT_NAME` arguments to
|
||||||
|
show Block Storage service quotas. If the `PROJECT_ID` argument returns
|
||||||
|
errors in locating resources, use `$OS_TENANT_NAME`.
|
||||||
|
|
||||||
#. View Block Storage service quotas for a project:
|
#. View Block Storage service quotas for a project:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ cinder quota-show PROJECT_ID
|
$ openstack quota show $OS_TENANT_ID
|
||||||
|
|
||||||
For example:
|
|
||||||
|
|
||||||
.. code-block:: console
|
|
||||||
|
|
||||||
$ cinder quota-show $project_id
|
|
||||||
+-----------+-------+
|
+-----------+-------+
|
||||||
| Property | Value |
|
| Property | Value |
|
||||||
+-----------+-------+
|
+-----------+-------+
|
||||||
@@ -69,12 +64,6 @@ Administrative users can view Block Storage service quotas.
|
|||||||
|
|
||||||
#. Show the current usage of a per-project quota:
|
#. Show the current usage of a per-project quota:
|
||||||
|
|
||||||
.. code-block:: console
|
|
||||||
|
|
||||||
$ cinder quota-usage PROJECT_ID
|
|
||||||
|
|
||||||
For example:
|
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ cinder quota-usage $project_id
|
$ cinder quota-usage $project_id
|
||||||
@@ -106,15 +95,15 @@ service quotas.
|
|||||||
$ cinder quota-update --QUOTA_NAME QUOTA_VALUE PROJECT_ID
|
$ cinder quota-update --QUOTA_NAME QUOTA_VALUE PROJECT_ID
|
||||||
|
|
||||||
Replace ``QUOTA_NAME`` with the quota that is to be updated,
|
Replace ``QUOTA_NAME`` with the quota that is to be updated,
|
||||||
``QUOTA_VALUE`` with the required new value, and ``PROJECT_ID``
|
``QUOTA_VALUE`` with the required new value. Use the :command:`openstack quota show`
|
||||||
with the required project ID.
|
command with ``PROJECT_ID``, which is the required project ID.
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ cinder quota-update --volumes 15 $project_id
|
$ cinder quota-update --volumes 15 $project_id
|
||||||
$ cinder quota-show $project_id
|
$ openstack quota show $project_id
|
||||||
+-----------+-------+
|
+-----------+-------+
|
||||||
| Property | Value |
|
| Property | Value |
|
||||||
+-----------+-------+
|
+-----------+-------+
|
||||||
|
@@ -329,7 +329,7 @@ the default set of quotas are enforced for all projects, so no
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ neutron quota-show --tenant_id 6f88036c45344d9999a1f971e4882723
|
$ openstack quota show PROJECT_ID 6f88036c45344d9999a1f971e4882723
|
||||||
+---------------------+-------+
|
+---------------------+-------+
|
||||||
| Field | Value |
|
| Field | Value |
|
||||||
+---------------------+-------+
|
+---------------------+-------+
|
||||||
@@ -343,3 +343,10 @@ the default set of quotas are enforced for all projects, so no
|
|||||||
| subnet | 10 |
|
| subnet | 10 |
|
||||||
| subnetpool | -1 |
|
| subnetpool | -1 |
|
||||||
+---------------------+-------+
|
+---------------------+-------+
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
Listing defualt quotas with the OpenStack command line client will
|
||||||
|
provide all quotas for networking and other services. Previously,
|
||||||
|
the :command:`neutron quota-show --tenant_id` would list only networking
|
||||||
|
quotas.
|
||||||
|
Reference in New Issue
Block a user