Comment 1 for bug 1204956

Revision history for this message
Akihiro Motoki (amotoki) wrote :

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.
The URL of "neutron quota-show" is "/v2.0/quotas/<tenant-id>".
there are several options:

(1) GET /v2.0/quotas/default ("default" is a special tenant-id to represent the default quotas.)
(2) GET /v2.0/quotas/<tenant-id>/default
(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.