commit c6b30c392f4bd778e1b69fe1a1b82c9832b83e29
Author: Richard Theis <email address hidden>
Date: Thu Jun 30 16:17:28 2016 -0500
Fix L3 NAT DB signature mismatch
Agentless L3 plugins, such as used by networking-ovn, are required
to inherit from L3_NAT_db_mixin instead of L3_NAT_dbonly_mixin.
One reason is that the do_notify=False argument is passed to the
L3 plugin's disassociate_floatingips() method by the ML2 plugin
during delete_port(). However, the argument doesn't exist in the
parent class method. This patch fixes the signature mismatch.
In addition, agentless L3 plugins implicitly pick up callbacks
intended for use by L3 agents. Such callbacks will fail unless
the L3 plugin inherits from L3_NAT_db_mixin. This will be fixed
in a separate patch.
The result is that agentless L3 plugins will have added RPC
notification overhead which isn't necessary.
Reviewed: https:/ /review. openstack. org/348558 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=c6b30c392f4 bd778e1b69fe1a1 b82c9832b83e29
Committed: https:/
Submitter: Jenkins
Branch: master
commit c6b30c392f4bd77 8e1b69fe1a1b82c 9832b83e29
Author: Richard Theis <email address hidden>
Date: Thu Jun 30 16:17:28 2016 -0500
Fix L3 NAT DB signature mismatch
Agentless L3 plugins, such as used by networking-ovn, are required dbonly_ mixin. floatingips( ) method by the ML2 plugin
to inherit from L3_NAT_db_mixin instead of L3_NAT_
One reason is that the do_notify=False argument is passed to the
L3 plugin's disassociate_
during delete_port(). However, the argument doesn't exist in the
parent class method. This patch fixes the signature mismatch.
In addition, agentless L3 plugins implicitly pick up callbacks
intended for use by L3 agents. Such callbacks will fail unless
the L3 plugin inherits from L3_NAT_db_mixin. This will be fixed
in a separate patch.
The result is that agentless L3 plugins will have added RPC
notification overhead which isn't necessary.
Change-Id: I7a7e6b8f07974a c877d36ccb0a941 00bf0e07a0e
Partial-Bug: #1597898