horizon/openstack_dashboard/dashboards/admin/instances
Feilong Wang a42f58de50 Allow to skip API calls to Neutron in instance tables
Now instance panel is sending API calls to Neutron to get the addresses
info about network. It take some time until Nova network info cache is
synced when IP address operation like floating IP association is made
in Neutron. The API calls to Neutron exist from this reason.

However, it retrieves a full list of port, so it can potentially leads
to performance issues in large deployments. This commit adds a setting
flag to control whether API calls to Neutron is used or skipped in
the project instance table.

This commits drops a call of servers_update_addresses() in the admin
instance table. In the admin instance table there is no need to retrieve
IP addresses from neutron because the main purpose of the admin panel is
to see all instances and IP addresses in nova network info cache will be
synced soon.

Closes-Bug: #1722417
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: Ie16784eb6352f70ab644dc8b6ea03fc6a881d3f9
2017-12-11 23:19:01 +09:00
..
templates/instances Add default common template to python table views 2017-01-05 08:59:35 +00:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
forms.py Merge "Check the target host before live migrating a instance" 2017-04-26 09:45:58 +00:00
panel.py Fix an incorrect policy rule in Admin > Instances 2017-07-13 19:27:22 +01:00
tables.py Merge "Do not fail on AdminUpdateRow if tenant is not found" 2017-10-05 14:28:20 +00:00
tabs.py Remove link for user id field on project action log 2017-03-12 18:22:36 +00:00
tests.py Allow to skip API calls to Neutron in instance tables 2017-12-11 23:19:01 +09:00
urls.py Add MKS console support 2017-11-29 21:06:38 -05:00
views.py Allow to skip API calls to Neutron in instance tables 2017-12-11 23:19:01 +09:00