horizon/openstack_dashboard/dashboards/project/floating_ips
MinSun af8a01b362 usage: Ensure to count resources of a given project
When retrieving resource usage, the current code calls subnet_list
twice for shared=False/True, but 'shared' attribute of subnet is
not defined in the Networking API and actually there is no need to
use it (even though it works as expected accidentally).

What we need here is to specify tenant_id as a query parameter
with a single API to limit the scope to a given project.

The same way can be used for network_list() and router_list() calls
and it is more efficient. By doing so, we now need only one
network_list() call.

Change-Id: I40d61ed9cbae4b083e4f3cec9caa269e92daf306
Closes-Bug: #1663170
2017-04-13 09:40:15 +00:00
..
templates/floating_ips Move Floating IPs from Access & Security to panel 2017-02-01 18:57:44 +00:00
__init__.py Move Floating IPs from Access & Security to panel 2017-02-01 18:57:44 +00:00
forms.py Move Floating IPs from Access & Security to panel 2017-02-01 18:57:44 +00:00
panel.py Move Floating IPs from Access & Security to panel 2017-02-01 18:57:44 +00:00
tables.py Merge "Update Horizon to use latest nova policy rules for validation" 2017-04-05 20:34:46 +00:00
tests.py usage: Ensure to count resources of a given project 2017-04-13 09:40:15 +00:00
urls.py Move Floating IPs from Access & Security to panel 2017-02-01 18:57:44 +00:00
views.py Only get detailed info for Nova servers when necessary 2017-02-03 12:03:22 +13:00
workflows.py Move Floating IPs from Access & Security to panel 2017-02-01 18:57:44 +00:00