- makes query efficient by using Quantum API filters (new in API v1.1)
- fixes correctness issue where we did not handle case where network
did not exist in quantum (note: this was masked by a quantum bug that
will be fixed once this change is into nova).
Also included a few other minor things in this patchset:
1) make get_instance_nw_info use network label from DB, which is already
available, rather than calling out to quantum just to get the name.
2) quantum manager was not properly cleaning up VIFs in the nova db. This fixes that.
3) set 'bridge' in nw_info dictionary to the empty string, to clearly indicate that this value is ignored by Quantum Manager.
Reviewed: https:/ /review. openstack. org/3796 github. com/openstack/ nova/commit/ 38682667c53199e 5860c35101ad33c 0cdc21e692
Committed: http://
Submitter: Jenkins
Branch: master
commit 38682667c53199e 5860c35101ad33c 0cdc21e692
Author: Dan Wendlandt <email address hidden>
Date: Mon Feb 6 01:32:12 2012 -0800
bug 927507: fix quantum manager get_port_ by_attachment
- makes query efficient by using Quantum API filters (new in API v1.1)
- fixes correctness issue where we did not handle case where network
did not exist in quantum (note: this was masked by a quantum bug that
will be fixed once this change is into nova).
Also included a few other minor things in this patchset: nw_info use network label from DB, which is already
1) make get_instance_
available, rather than calling out to quantum just to get the name.
2) quantum manager was not properly cleaning up VIFs in the nova db. This fixes that.
3) set 'bridge' in nw_info dictionary to the empty string, to clearly indicate that this value is ignored by Quantum Manager.
Change-Id: Ia1cbb5232f8ce3 73b605979902f88 d7528d3e456