2.11. Listing project quotas¶
2.11.1. Cores and RAM¶
2.11.1.1. Request¶
# curl -ks -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
https://<node_IP_addr>:8774/v2.1/f5d834d636c642c7bfe8af86139c6f26/os-quota-sets/afe9d74ab80149a2aa3d5fbf2a4f3c92
2.11.1.2. Response¶
{
"quota_set": {
<...>
"ram": 32768,
<...>
"cores": 8,
<...>
}
}
2.11.2. Storage limits of storage policies¶
2.11.2.1. Request¶
# curl -ks -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
https://<node_IP_addr>:8776/v3/f5d834d636c642c7bfe8af86139c6f26/os-quota-sets/afe9d74ab80149a2aa3d5fbf2a4f3c92
2.11.2.2. Response¶
{
"quota_set": {
<...>
"gigabytes_default": 64,
<...>
"gigabytes_policy1": 128
}
}
2.11.3. Floating IPs¶
2.11.3.1. Request¶
# curl -ks -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
https://<node_IP_addr>:9696/v2.0/quotas/afe9d74ab80149a2aa3d5fbf2a4f3c92
2.11.3.2. Response¶
{
"quota": {
<...>
"floatingip": 24,
<...>
}
}
2.11.4. Load balancers¶
The add-on service must be installed.
2.11.4.1. Request¶
# curl -ks -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
https://<node_IP_addr>:9888/v2/lbaas/quotas/afe9d74ab80149a2aa3d5fbf2a4f3c92
2.11.4.2. Response¶
{
"quota": {
"load_balancer": 8,
<...>
}
}
2.11.5. Kubernetes clusters¶
The add-on service must be installed.
2.11.5.1. Request¶
# curl -ks -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
https://<node_IP_addr>:9513/v1/quotas/afe9d74ab80149a2aa3d5fbf2a4f3c92/Cluster
2.11.5.2. Response¶
{
"resource": "Cluster",
<...>
"hard_limit": 8,
<...>
}
2.11.6. Placements¶
The add-on service must be installed. Specify the microversion in the header, e.g., OpenStack-API-Version: placement 1.32
.
2.11.6.1. Request¶
# curl -ks -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
-H 'OpenStack-API-Version: placement 1.32' \
https://<node_IP_addr>:8780/quotas/afe9d74ab80149a2aa3d5fbf2a4f3c92
2.11.6.2. Response¶
{
"quotas": {
"CUSTOM_HCI_122E856B9E9C4D80A0F8C21591B5AFCB": 16
}
}
Version 4.7.0 — Oct 18, 2021