Comment 15 for bug 1566951

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

Reviewed: https://review.openstack.org/631844
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=edd8ad31d7cd9f340ebe8a607b6c6487a78ad7e5
Submitter: Zuul
Branch: stable/pike

commit edd8ad31d7cd9f340ebe8a607b6c6487a78ad7e5
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Nov 2 11:35:25 2018 +0000

    Check port VNIC type when associating a floating IP

    When associating a floating IP to a port and the router is distributed,
    the VNIC type of this port must be "normal" only. In any other case,
    the floating IP can't be assigned. For example, a SR-IOV can have a
    floating IP if the router is distributed (the router is in the same
    host of the port).

    This patch adds also function can_port_be_bound_to_virtual_bridge to
    neutron/db/l3_db.py module.
    Originally this function was introduced in neutron-lib with [1] but
    in stable branch there is older neutron-lib used so this isn't available
    from neutron-lib.

    [1] https://review.openstack.org/#/c/615126/

    Closes-Bug: #1566951

    Change-Id: I4944041df81e24683bc612560808bcdcc2db6bf2
    (cherry picked from commit 1966ad3945a7a44beeefc603f9d6da54ac67f9a3)
    (cherry picked from commit 0f14e30fa4618d0f3041f9f4bfb066ad248f19ed)
    (cherry picked from commit 1c573bb8b949baf591d8e0744537be4c0d1faa72)