Read-only API for default quotas
Bug #1204956 reported by
Julie Pichon
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack SDK |
Fix Released
|
Undecided
|
Rui Chen | ||
neutron |
Fix Released
|
Medium
|
Abhishek Raut | ||
python-neutronclient |
Fix Released
|
Undecided
|
Abhishek Raut | ||
python-openstackclient |
Fix Released
|
Medium
|
Rui Chen |
Bug Description
Having a read-only API to access the default quotas, similar to `nova quota-defaults` would be helpful to API consumers like Horizon (see e.g. bug 1109140). As far as I can tell, there is no way to get to this information at the moment.
tags: | added: neutron-core |
Changed in neutron: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in neutron: | |
assignee: | nobody → Armando Migliaccio (armando-migliaccio) |
Changed in neutron: | |
assignee: | nobody → Slawek Kaplonski (slawek-t) |
Changed in neutron: | |
status: | In Progress → Confirmed |
Changed in neutron: | |
assignee: | Slawek Kaplonski (slaweq) → li,chen (chen-li) |
tags: | added: rfe |
Changed in neutron: | |
assignee: | Abhishek Raut (abhraut) → Henry Gessau (gessau) |
Changed in neutron: | |
assignee: | Henry Gessau (gessau) → Abhishek Raut (abhraut) |
Changed in python-neutronclient: | |
assignee: | nobody → Abhishek Raut (abhraut) |
Changed in python-openstackclient: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
Other projects usually provides an API to read the default quotas.
It is not difficult to provide this information through the API.
The question is what URL should be used. quotas/ <tenant- id>".
The URL of "neutron quota-show" is "/v2.0/
there are several options:
(1) GET /v2.0/quotas/ default ("default" is a special tenant-id to represent the default quotas.) <tenant- id>/default
(2) GET /v2.0/quotas/
(3) ....
If we use (1), all tenants can have a single set of default quotas.
If tenants are categorized into several classes and default quotas are defined per class, (1) cannot be used.