]> 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)
committerrossella <rsblendido@suse.com>
Wed, 26 Feb 2014 17:42:51 +0000 (17:42 +0000)
commit9bc29208bda6071a34bcc0da36a396eb8bab4f30
treed60b89ce8dfe27b533040baf7d386c10da0911d9
parentf07f9a3d71ba331e45283984a106411b50f10850
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