Use same instance of iptables_manager in L2 agent and extensions
This commit adds common_agent_extension class which is agent API
for L2 extension drivers used e.g. by Linuxbridge agent.
This is necessary to be able to use instance of iptables_manager
used in firewall driver also in L2 extension drivers (like qos).
This patch refactors little bit iptables_manager code to make possible
to initialize e.g. mangle or nat table on demand, even if iptables
is created as "state_less"
Reviewed: https:/ /review. openstack. org/527965 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=cbee0f9f88f f34f70ff1959047 1b5405e06ff2a9
Committed: https:/
Submitter: Zuul
Branch: master
commit cbee0f9f88ff34f 70ff19590471b54 05e06ff2a9
Author: Sławek Kapłoński <email address hidden>
Date: Thu Dec 14 14:51:01 2017 +0100
Use same instance of iptables_manager in L2 agent and extensions
This commit adds common_ agent_extension class which is agent API
for L2 extension drivers used e.g. by Linuxbridge agent.
This is necessary to be able to use instance of iptables_manager
used in firewall driver also in L2 extension drivers (like qos).
This patch refactors little bit iptables_manager code to make possible
to initialize e.g. mangle or nat table on demand, even if iptables
is created as "state_less"
Change-Id: I3b66e49b7f1761 24e8aea3eb96d0d 465f1ab1ea0
Closes-Bug: #1736674