commit 0f14e30fa4618d0f3041f9f4bfb066ad248f19ed
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.
Reviewed: https:/ /review. openstack. org/631837 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=0f14e30fa46 18d0f3041f9f4bf b066ad248f19ed
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 0f14e30fa4618d0 f3041f9f4bfb066 ad248f19ed
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 db/l3_db. py module.
neutron/
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: I4944041df81e24 683bc612560808b cdcc2db6bf2 beeefc603f9d6da 54ac67f9a3)
(cherry picked from commit 1966ad3945a7a44