|
| 1 | +===== |
| 2 | +quota |
| 3 | +===== |
| 4 | + |
| 5 | +Resource quotas appear in multiple APIs, OpenStackClient presents them as a single object with multiple properties. |
| 6 | + |
| 7 | +quota set |
| 8 | +--------- |
| 9 | + |
| 10 | +Set quotas for project |
| 11 | + |
| 12 | +.. program:: quota set |
| 13 | +.. code:: bash |
| 14 | +
|
| 15 | + os quota set |
| 16 | + # Compute settings |
| 17 | + [--cores <num-cores>] |
| 18 | + [--fixed-ips <num-fixed-ips>] |
| 19 | + [--floating-ips <num-floating-ips>] |
| 20 | + [--injected-file-size <injected-file-bytes>] |
| 21 | + [--injected-files <num-injected-files>] |
| 22 | + [--instances <num-instances>] |
| 23 | + [--key-pairs <num-key-pairs>] |
| 24 | + [--properties <num-properties>] |
| 25 | + [--ram <ram-mb>] |
| 26 | +
|
| 27 | + # Volume settings |
| 28 | + [--gigabytes <new-gigabytes>] |
| 29 | + [--snapshots <new-snapshots>] |
| 30 | + [--volumes <new-volumes>] |
| 31 | +
|
| 32 | + <project> |
| 33 | +
|
| 34 | +Set quotas for class |
| 35 | + |
| 36 | +.. code:: bash |
| 37 | +
|
| 38 | + os quota set |
| 39 | + --class |
| 40 | + # Compute settings |
| 41 | + [--cores <num-cores>] |
| 42 | + [--fixed-ips <num-fixed-ips>] |
| 43 | + [--floating-ips <num-floating-ips>] |
| 44 | + [--injected-file-size <injected-file-bytes>] |
| 45 | + [--injected-files <num-injected-files>] |
| 46 | + [--instances <num-instances>] |
| 47 | + [--key-pairs <num-key-pairs>] |
| 48 | + [--properties <num-properties>] |
| 49 | + [--ram <ram-mb>] |
| 50 | +
|
| 51 | + # Volume settings |
| 52 | + [--gigabytes <new-gigabytes>] |
| 53 | + [--snapshots <new-snapshots>] |
| 54 | + [--volumes <new-volumes>] |
| 55 | +
|
| 56 | + <class> |
| 57 | +
|
| 58 | +.. option:: --class |
| 59 | + |
| 60 | + Set quotas for ``<class>`` |
| 61 | + |
| 62 | +.. option:: --properties <new-properties> |
| 63 | + |
| 64 | + New value for the properties quota |
| 65 | + |
| 66 | +.. option:: --ram <new-ram> |
| 67 | + |
| 68 | + New value for the ram quota |
| 69 | + |
| 70 | +.. option:: --secgroup-rules <new-secgroup-rules> |
| 71 | + |
| 72 | + New value for the secgroup-rules quota |
| 73 | + |
| 74 | +.. option:: --instances <new-instances> |
| 75 | + |
| 76 | + New value for the instances quota |
| 77 | + |
| 78 | +.. option:: --key-pairs <new-key-pairs> |
| 79 | + |
| 80 | + New value for the key-pairs quota |
| 81 | + |
| 82 | +.. option:: --fixed-ips <new-fixed-ips> |
| 83 | + |
| 84 | + New value for the fixed-ips quota |
| 85 | + |
| 86 | +.. option:: --secgroups <new-secgroups> |
| 87 | + |
| 88 | + New value for the secgroups quota |
| 89 | + |
| 90 | +.. option:: --injected-file-size <new-injected-file-size> |
| 91 | + |
| 92 | + New value for the injected-file-size quota |
| 93 | + |
| 94 | +.. option:: --floating-ips <new-floating-ips> |
| 95 | + |
| 96 | + New value for the floating-ips quota |
| 97 | + |
| 98 | +.. option:: --injected-files <new-injected-files> |
| 99 | + |
| 100 | + New value for the injected-files quota |
| 101 | + |
| 102 | +.. option:: --cores <new-cores> |
| 103 | + |
| 104 | + New value for the cores quota |
| 105 | + |
| 106 | +.. option:: --injected-path-size <new-injected-path-size> |
| 107 | + |
| 108 | + New value for the injected-path-size quota |
| 109 | + |
| 110 | +.. option:: --gigabytes <new-gigabytes> |
| 111 | + |
| 112 | + New value for the gigabytes quota |
| 113 | + |
| 114 | +.. option:: --volumes <new-volumes> |
| 115 | + |
| 116 | + New value for the volumes quota |
| 117 | + |
| 118 | +.. option:: --snapshots <new-snapshots> |
| 119 | + |
| 120 | + New value for the snapshots quota |
| 121 | + |
| 122 | +quota show |
| 123 | +---------- |
| 124 | + |
| 125 | +Show quotas for project |
| 126 | + |
| 127 | +.. program:: quota show |
| 128 | +.. code:: bash |
| 129 | +
|
| 130 | + os quota show |
| 131 | + [--default] |
| 132 | + <project> |
| 133 | +
|
| 134 | +
|
| 135 | +.. option:: --default |
| 136 | + |
| 137 | + Show default quotas for :ref:`\<project\> <quota_show-project>` |
| 138 | + |
| 139 | +.. _quota_show-project: |
| 140 | +.. describe:: <project> |
| 141 | + |
| 142 | + Show quotas for class |
| 143 | + |
| 144 | +.. code:: bash |
| 145 | +
|
| 146 | + os quota show |
| 147 | + --class |
| 148 | + <class> |
| 149 | +
|
| 150 | +.. option:: --class |
| 151 | + |
| 152 | + Show quotas for :ref:`\<class\> <quota_show-class>` |
| 153 | + |
| 154 | +.. _quota_show-class: |
| 155 | +.. describe:: <class> |
| 156 | + |
| 157 | + Class to show |
0 commit comments