Comment 2 for bug 1404935

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/143236
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=3f0bf6cfac2e151d5a4a7f076062b3365bdbf457
Submitter: Jenkins
Branch: master

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.

    Closes-Bug: #1404935
    Change-Id: Ica20f8f8315196aa5a04657d28dde41a75f0368d