Agentless L3 plugins, such as used by networking-ovn, were required
to inherit from L3_NAT_db_mixin instead of L3_NAT_dbonly_mixin due
to an L3 NAT DB signature mismatch which was fixed by [1]. With [1]
fix, agentless L3 plugins would still 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 patch supports
callbacks for L3 plugins without an agent. The callbacks
have been refactored and are now done implicitly during object
creation. As a result, the l3_db subscribe() method has been
deprecated.
Reviewed: https:/ /review. openstack. org/348933 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=c7c9c398dbf 74456c2a04ebc63 4e7eaddd5e0ec7
Committed: https:/
Submitter: Jenkins
Branch: master
commit c7c9c398dbf7445 6c2a04ebc634e7e addd5e0ec7
Author: Richard Theis <email address hidden>
Date: Fri Jul 29 10:30:14 2016 -0500
Support callbacks for L3 plugins without an agent
Agentless L3 plugins, such as used by networking-ovn, were required
to inherit from L3_NAT_db_mixin instead of L3_NAT_dbonly_mixin due
to an L3 NAT DB signature mismatch which was fixed by [1]. With [1]
fix, agentless L3 plugins would still 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 patch supports
callbacks for L3 plugins without an agent. The callbacks
have been refactored and are now done implicitly during object
creation. As a result, the l3_db subscribe() method has been
deprecated.
[1] https:/ /review. openstack. org/#/c/ 348558/
Change-Id: Id5dd012ffd2743 14f7d1b39a28525 893e0675500
Partial-Bug: #1597898