Comment 2 for bug 1540259

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

Reviewed: https://review.openstack.org/274550
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=951dd5e015cbd102aed80a6808f623b4626e727d
Submitter: Jenkins
Branch: master

commit 951dd5e015cbd102aed80a6808f623b4626e727d
Author: lzklibj <email address hidden>
Date: Mon Feb 1 16:39:54 2016 +0800

    Fix port relationship for DVRPortBinding

    uselist=False is used for one to one relationship, but for
    DVRPortBinding, a router_interface_distributed port can have
    multiple bindings. That causes SAWarning:
    Multiple rows returned with uselist=False for lazily-loaded attribute
    'Port.dvr_port_binding'.

    "uselist=False" is misused in DVRPortBinding port relationship,
    this patch will fix this.

    Change-Id: I2b00d96aaa445e0977bc3d4957d35a28d44dd953
    Closes-Bug: #1540259