]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix get_vif_port_by_id to only return relevant ports
authorVincent Untz <vuntz@suse.com>
Sun, 23 Feb 2014 16:57:05 +0000 (17:57 +0100)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:34 +0000 (15:20 +0800)
commit1d1091f6b84ffb0a20b6872b09f3ec75781ea57c
tree6e4f46f0723ec15418cfd305dd1f0407bd8da7e3
parent3ed30597f589fb41209d37b8dbf135be033a8a48
Fix get_vif_port_by_id to only return relevant ports

This is returning any port, even if it's not on the switch that we're
looking at. As a side-effect, this means that we can actually manipulate
these ports while we really shouldn't.

Co-Authored-By: Rossella Sblendido <rsblendido@suse.com>
Change-Id: Ia4f4e93237c1c2ea6cb4b6c2f5adf78d6b34c7bf
Closes-Bug: #1283765
neutron/agent/linux/ovs_lib.py
neutron/tests/unit/openvswitch/test_ovs_lib.py