From 9599ffe65d9dcd4b3aa780d346eccd1e760890bf Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 13 Jun 2017 15:55:33 -0400 Subject: reorganize existing documentation according to the new standard layout Move existing content around based on the doc-migration specification. Replace :doc: markup with :ref: to have sphinx keep track of where the files move and generate valid hyperlinks. Add a few toctrees and index pages for the new directories. Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454 Change-Id: I253ee8f89d3ec40e39310c18bb87ed1d3d5de330 Signed-off-by: Doug Hellmann --- doc/source/cli/command-objects/quota.rst | 269 +++++++++++++++++++++++++++++++ 1 file changed, 269 insertions(+) create mode 100644 doc/source/cli/command-objects/quota.rst (limited to 'doc/source/cli/command-objects/quota.rst') diff --git a/doc/source/cli/command-objects/quota.rst b/doc/source/cli/command-objects/quota.rst new file mode 100644 index 00000000..f39536af --- /dev/null +++ b/doc/source/cli/command-objects/quota.rst @@ -0,0 +1,269 @@ +===== +quota +===== + +Resource quotas appear in multiple APIs, OpenStackClient presents them as a +single object with multiple properties. + +Block Storage v1, v2, Compute v2, Network v2 + +quota list +---------- + +List quotas for all projects with non-default quota values + +.. program:: quota list +.. code:: bash + + openstack quota list + --compute | --network | --volume + +.. option:: --network + + List network quotas + +.. option:: --compute + + List compute quotas + +.. option:: --volume + + List volume quotas + +quota set +--------- + +Set quotas for project + +.. program:: quota set +.. code:: bash + + openstack quota set + # Compute settings + [--cores ] + [--fixed-ips ] + [--floating-ips ] + [--injected-file-size ] + [--injected-files ] + [--instances ] + [--key-pairs ] + [--properties ] + [--ram ] + [--server-groups ] + [--server-group-members ] + + # Block Storage settings + [--backups ] + [--backup-gigabytes ] + [--gigabytes ] + [--per-volume-gigabytes ] + [--snapshots ] + [--volumes ] + [--volume-type ] + + # Network settings + [--floating-ips ] + [--secgroup-rules ] + [--secgroups ] + [--networks ] + [--subnets ] + [--ports ] + [--routers ] + [--rbac-policies ] + [--vips ] + [--subnetpools ] + [--members ] + [--health-monitors ] + + + +Set quotas for class + +.. code:: bash + + openstack quota set + --class + # Compute settings + [--cores ] + [--fixed-ips ] + [--floating-ips ] + [--injected-file-size ] + [--injected-files ] + [--instances ] + [--key-pairs ] + [--properties ] + [--ram ] + [--server-groups ] + [--server-group-members ] + + # Block Storage settings + [--backups ] + [--backup-gigabytes ] + [--gigabytes ] + [--per-volume-gigabytes ] + [--snapshots ] + [--volumes ] + + + +.. option:: --class + + Set quotas for ```` + +.. option:: --properties + + New value for the properties quota + +.. option:: --ram + + New value for the ram quota + +.. option:: --secgroup-rules + + New value for the secgroup-rules quota + +.. option:: --instances + + New value for the instances quota + +.. option:: --key-pairs + + New value for the key-pairs quota + +.. option:: --fixed-ips + + New value for the fixed-ips quota + +.. option:: --secgroups + + New value for the secgroups quota + +.. option:: --injected-file-size + + New value for the injected-file-size quota + +.. option:: --server-groups + + New value for the server-groups quota + +.. option:: --server-group-members + + New value for the server-group-members quota + +.. option:: --floating-ips + + New value for the floating-ips quota + +.. option:: --injected-files + + New value for the injected-files quota + +.. option:: --cores + + New value for the cores quota + +.. option:: --injected-path-size + + New value for the injected-path-size quota + +.. option:: --backups + + New value for the backups quota + +.. option:: --backup-gigabytes + + New value for the backup gigabytes quota + +.. option:: --gigabytes + + New value for the gigabytes quota + +.. option:: --per-volume-gigabytes + + New value for the gigabytes quota of per volume + +.. option:: --volumes + + New value for the volumes quota + +.. option:: --snapshots + + New value for the snapshots quota + +.. option:: --volume-type + + Set quotas for a specific . The supported quotas are: + gigabytes, snapshots, volumes. + +.. option:: --networks + + New value for the networks quota + +.. option:: --subnets + + New value for the subnets quota + +.. option:: --ports + + New value for the ports quota + +.. option:: --routers + + New value for the routers quota + +.. option:: --rbac-policies + + New value for the rbac-policies quota + +.. option:: --vips + + New value for the vips quota + +.. option:: --subnetpools + + New value for the subnetpools quota + +.. option:: --members + + New value for the members quota + +.. option:: --health-monitors + + New value for the health-monitors quota + +quota show +---------- + +Show quotas for project or class + +.. program:: quota show +.. code:: bash + + openstack quota show + [--default] + [] + + +.. option:: --default + + Show default quotas for :ref:`\ ` + +.. _quota_show-project: +.. describe:: + + Show quotas for this project (name or ID) + +.. code:: bash + + openstack quota show + --class + [] + +.. option:: --class + + Show quotas for :ref:`\ ` + +.. _quota_show-class: +.. describe:: + + Show quotas for this class (name or ID) -- cgit v1.2.1