Comment 29 for bug 1607584

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/32912
Committed: http://github.com/Juniper/contrail-controller/commit/a484fc1ee61c3f98274681f96be219e9aef05994
Submitter: Zuul (<email address hidden>)
Branch: R3.0.3.x

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)