stein: Switch to FWaaS v2
Stein drops support for FWaaS v1; switch agents to use FWaaS v2 drivers. Change-Id: Iba494398df29c1e2611d06345e41146a6f8e3d6d
This commit is contained in:
parent
3bd2435267
commit
dea96c0a11
9
templates/stein/fwaas_driver.ini
Normal file
9
templates/stein/fwaas_driver.ini
Normal file
@ -0,0 +1,9 @@
|
||||
# stein
|
||||
###############################################################################
|
||||
# [ WARNING ]
|
||||
# Configuration file maintained by Juju. Local changes may be overwritten.
|
||||
###############################################################################
|
||||
[fwaas]
|
||||
agent_version = v2
|
||||
driver = iptables_v2
|
||||
enabled = True
|
30
templates/stein/l3_agent.ini
Normal file
30
templates/stein/l3_agent.ini
Normal file
@ -0,0 +1,30 @@
|
||||
# stein
|
||||
###############################################################################
|
||||
# [ WARNING ]
|
||||
# Configuration file maintained by Juju. Local changes may be overwritten.
|
||||
###############################################################################
|
||||
[DEFAULT]
|
||||
interface_driver = openvswitch
|
||||
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
|
||||
handle_internal_only_routers = {{ handle_internal_only_router }}
|
||||
{% if plugin == 'n1kv' %}
|
||||
l3_agent_manager = neutron.agent.l3_agent.L3NATAgentWithStateReport
|
||||
external_network_bridge = br-int
|
||||
ovs_use_veth = False
|
||||
use_namespaces = True
|
||||
{% else %}
|
||||
ovs_use_veth = True
|
||||
{% endif %}
|
||||
{% if external_configuration_new -%}
|
||||
gateway_external_network_id =
|
||||
external_network_bridge =
|
||||
{% elif ext_net_id %}
|
||||
gateway_external_network_id = {{ ext_net_id }}
|
||||
{% else %}
|
||||
# Set default to deprecated external networking config
|
||||
external_network_bridge = br-ex
|
||||
{% endif -%}
|
||||
agent_mode = {{ agent_mode }}
|
||||
|
||||
[AGENT]
|
||||
extensions = fwaas_v2
|
@ -575,7 +575,11 @@ class NeutronGatewayBasicDeployment(OpenStackAmuletDeployment):
|
||||
}
|
||||
section = 'fwaas'
|
||||
|
||||
if self._get_openstack_release() >= self.xenial_newton:
|
||||
if self._get_openstack_release() >= self.bionic_stein:
|
||||
# Stein or later
|
||||
expected['driver'] = 'iptables_v2'
|
||||
expected['agent_version'] = 'v2'
|
||||
elif self._get_openstack_release() >= self.xenial_newton:
|
||||
# Newton or later
|
||||
expected['driver'] = 'iptables'
|
||||
expected['agent_version'] = 'v1'
|
||||
|
Loading…
Reference in New Issue
Block a user