diff options
| author | Joe Gordon <jogo@cloudscaling.com> | 2013-03-21 18:55:49 +0000 |
|---|---|---|
| committer | Joe Gordon <jogo@cloudscaling.com> | 2013-03-21 18:55:49 +0000 |
| commit | 7ab98e935a63454d0736e6f8a7525a8e73cf6c04 (patch) | |
| tree | d66fccabf799a2af55ea8ccc2c2b276f5c379010 /nova/openstack | |
| parent | 5499640f639009f60fbf909786770654e1f1b5a0 (diff) | |
| download | nova-7ab98e935a63454d0736e6f8a7525a8e73cf6c04.tar.gz nova-7ab98e935a63454d0736e6f8a7525a8e73cf6c04.tar.xz nova-7ab98e935a63454d0736e6f8a7525a8e73cf6c04.zip | |
Remove unnecessary DB call to find EC2 AZs.
Update get_availability_zone_by_host, so it doesn't need a list of services,
and remove unneeded service_get_all_by_host calls. This removes N DB calls in
the EC2 api when doing a DescribeInstances, where N is number if instances
that are being described.
Partially fix bug 1157437
Change-Id: I0050ba736828faad94549bc6e55f4ca1d05dcbe7
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
