horizon/openstack_dashboard/usage
Akihiro Motoki 81891697c6 Retrieve quota and usage only for quota-enabled resources
Previously _get_tenant_(compute|network|volume)_usage are callled
regardless of resources are listed in enabled_quotas.
This commit retrives usage information only for resources listed
in eanbled_quotas.

floating_ips and security_groups were returned even when
they are included in disabled_quotas. They are not needed
and they are cleanup in this commit.

All (*_)QUOTA_FILEDS were previously a list but it is always used
after converting into a set, so this commit changes (*_)QUOTA_FIELDS
into a set in the initial definitions.

This is a preparation for fix of bug 1675504

Partial-Bug: #1675504
Change-Id: I41cdabde477d87aa8b35d1c908e18a69454286c3
2017-05-05 13:53:11 +00:00
..
__init__.py hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00
base.py remove unused quotas code 2016-08-29 14:56:44 -06:00
quotas.py Retrieve quota and usage only for quota-enabled resources 2017-05-05 13:53:11 +00:00
tables.py hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00
views.py Add units in overview project page (limit summary) 2016-06-24 15:36:33 +00:00