neutronv2 API: remove_fixed_ip_from_instance constructs a client for each port in the loop
Bug #1430481 reported by
Matt Riedemann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Matt Riedemann |
Bug Description
We already get a neutronclient object once at the beginning of this method when we're getting the list of ports, we don't need to get it again every time we're in the loop for the ports to update them:
http://
Changed in nova: | |
milestone: | none → kilo-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-rc1 → 2015.1.0 |
To post a comment you must log in.
Same thing in add_fixed_ ip_to_instance:
http:// git.openstack. org/cgit/ openstack/ nova/tree/ nova/network/ neutronv2/ api.py# n773