l3_db: it updates port attribute without L2 plugin
L3_NAT_dbonly_mixin._add_interface_by_port update Port.owner
db entry directly without notifying l2 plugin.
Thus L2 plugin/ML2 mechanism driver will be confused when
interface is attached to router by port because port owner is different.
Use L2 plugin update_port method to update port:owner.
Reviewed: https:/ /review. openstack. org/202357 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=09474580187 25b241603139f4e c6f92e84b2f29b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0947458018725b2 41603139f4ec6f9 2e84b2f29b
Author: Isaku Yamahata <email address hidden>
Date: Wed Jul 15 12:17:48 2015 -0700
l3_db: it updates port attribute without L2 plugin
L3_ NAT_dbonly_ mixin._ add_interface_ by_port update Port.owner
db entry directly without notifying l2 plugin.
Thus L2 plugin/ML2 mechanism driver will be confused when
interface is attached to router by port because port owner is different.
Use L2 plugin update_port method to update port:owner.
Change-Id: If0178887282456 842b6078a851a92 33cb58a391a
Closes-Bug: #1475093