commit a484fc1ee61c3f98274681f96be219e9aef05994
Author: Édouard Thuleau <email address hidden>
Date: Fri Aug 5 17:34:13 2016 +0200
[VNC OpenStack] In port list, apply filters even device_ids filter is defined
Divide the port list in two cases:
- if device_ids filter: list vmis filtered by ids and [back-]referenced by
device_ids then filter that list with project if necessary
- if no device_ids filter: list vmis filtered by ids and project owner.
After that, the list of vnc vmi objects is transformed to a list of
neutron port dicts where last filters (network, device_owner, name and
fixed_ips) are applied.
Change-Id: I840361304da4a69b819216ceda892519f1b4fddc
Closes-Bug: #1607584
(cherry picked from commit 72c9434b65d037858cf319064d519db3e578fd52)
(cherry picked from commit 701dbb73e109e95f049355542b8faf8b06a2967a)
Reviewed: https:/ /review. opencontrail. org/32912 github. com/Juniper/ contrail- controller/ commit/ a484fc1ee61c3f9 8274681f96be219 e9aef05994
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R3.0.3.x
commit a484fc1ee61c3f9 8274681f96be219 e9aef05994
Author: Édouard Thuleau <email address hidden>
Date: Fri Aug 5 17:34:13 2016 +0200
[VNC OpenStack] In port list, apply filters even device_ids filter is defined
Divide the port list in two cases:
- if device_ids filter: list vmis filtered by ids and [back-]referenced by
device_ids then filter that list with project if necessary
- if no device_ids filter: list vmis filtered by ids and project owner.
After that, the list of vnc vmi objects is transformed to a list of
neutron port dicts where last filters (network, device_owner, name and
fixed_ips) are applied.
Change-Id: I840361304da4a6 9b819216ceda892 519f1b4fddc 58cf319064d519d b3e578fd52) f049355542b8faf 8b06a2967a)
Closes-Bug: #1607584
(cherry picked from commit 72c9434b65d0378
(cherry picked from commit 701dbb73e109e95