commit ed076e623458467c9dc4f2a9f49f3abb8466d562
Author: Timur Sufiev <email address hidden>
Date: Fri Aug 14 20:20:45 2015 +0300
Do not make unnecessary calls to Nova from FIPs and Volumes tabs
If none of the floating IPs listed within Horizon are attached to an
instance, do not request a list of Nova instances (because we have no
use for it). Apply the same behavior for Volumes tab (both Admin and
Project). This patch both saves us from making unnecessary and
potentially expensive call to Nova and lays the ground for a more
selective request of instance details from Nova. The latter will be
possible once Nova supports filtering instance details by >1
instance_id. For reference see https://blueprints.launchpad.net/nova/+spec/get-multi-servers-filter
Reviewed: https:/ /review. openstack. org/213260 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=ed076e62345 8467c9dc4f2a9f4 9f3abb8466d562
Committed: https:/
Submitter: Jenkins
Branch: master
commit ed076e623458467 c9dc4f2a9f49f3a bb8466d562
Author: Timur Sufiev <email address hidden>
Date: Fri Aug 14 20:20:45 2015 +0300
Do not make unnecessary calls to Nova from FIPs and Volumes tabs
If none of the floating IPs listed within Horizon are attached to an /blueprints. launchpad. net/nova/ +spec/get- multi-servers- filter
instance, do not request a list of Nova instances (because we have no
use for it). Apply the same behavior for Volumes tab (both Admin and
Project). This patch both saves us from making unnecessary and
potentially expensive call to Nova and lays the ground for a more
selective request of instance details from Nova. The latter will be
possible once Nova supports filtering instance details by >1
instance_id. For reference see
https:/
Change-Id: Ie7563b9e03b286 b4cf51507463213 162af3383b1
Partial-Bug: #1442310