Remove unneeded call to fetch network info on shutdown
There is no reason to fetch the network_info from the network api on shutdown
since we can just pull it out of the local cache. There are probably other
places where this call to the network api call can be removed but this patch
just handles the case for shutdown.
Note: the following test was removed 'test_terminate_no_fixed_ips' as
the call to the network api is no longer done so this test would be the
same as test_terminate_no_network.
Closes-bug: #1288392
Change-Id: Ifbf751739c215e566926719f481c03e2c064163a
(cherry picked from commit c47900064f2f3b4384cfa3fd6fe21f452514fa36)
Reviewed: https:/ /review. openstack. org/89645 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c816488776e 19beac3da3f45d4 5c5773c0439146
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit c816488776e19be ac3da3f45d45c57 73c0439146
Author: Aaron Rosen <email address hidden>
Date: Fri Mar 14 23:50:57 2014 -0700
Remove unneeded call to fetch network info on shutdown
There is no reason to fetch the network_info from the network api on shutdown
since we can just pull it out of the local cache. There are probably other
places where this call to the network api call can be removed but this patch
just handles the case for shutdown.
Note: the following test was removed 'test_terminate _no_fixed_ ips' as no_network.
the call to the network api is no longer done so this test would be the
same as test_terminate_
Closes-bug: #1288392
Change-Id: Ifbf751739c215e 566926719f481c0 3e2c064163a 384cfa3fd6fe21f 452514fa36)
(cherry picked from commit c47900064f2f3b4