commit 3f0bf6cfac2e151d5a4a7f076062b3365bdbf457
Author: Terry Wilson <email address hidden>
Date: Fri Dec 19 19:01:36 2014 -0700
Don't unnecessarily loop through all ports/interfaces
The ovs-vsctl 'list' command can take a list of records as an
argument, so there is no need to manually loop through all records
discarding the ones with names that don't match the bridge's
port name list.
Also, since the data is returned as json, the ofport returned isn't
a string, so we don't have to convert it to int for testing.
Reviewed: https:/ /review. openstack. org/143236 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=3f0bf6cfac2 e151d5a4a7f0760 62b3365bdbf457
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3f0bf6cfac2e151 d5a4a7f076062b3 365bdbf457
Author: Terry Wilson <email address hidden>
Date: Fri Dec 19 19:01:36 2014 -0700
Don't unnecessarily loop through all ports/interfaces
The ovs-vsctl 'list' command can take a list of records as an
argument, so there is no need to manually loop through all records
discarding the ones with names that don't match the bridge's
port name list.
Also, since the data is returned as json, the ofport returned isn't
a string, so we don't have to convert it to int for testing.
Closes-Bug: #1404935 aa5a04657d28dde 41a75f0368d
Change-Id: Ica20f8f8315196