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.
Reviewed: https:/ /review. openstack. org/80760 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c47900064f2 f3b4384cfa3fd6f e21f452514fa36
Committed: https:/
Submitter: Jenkins
Branch: master
commit c47900064f2f3b4 384cfa3fd6fe21f 452514fa36
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