Fix fwaas options
fwaas is in pending create state when I attach it to a router. This patch fix this. Change-Id: I18b56ed3698e22a02a8718b39360fde76c12428b Closes-Bug: #1689703
This commit is contained in:
parent
8bcbf493f1
commit
865736c21d
@ -268,7 +268,7 @@ service_plugins:
|
||||
enabled: "{{ neutron_plugin_agent == 'sfc' }}"
|
||||
- name: "lbaasv2"
|
||||
enabled: "{{ enable_neutron_lbaas | bool }}"
|
||||
- name: "neutron_fwaas.services.firewall.fwaas_plugin.FirewallPlugin"
|
||||
- name: "firewall"
|
||||
enabled: "{{ enable_neutron_fwaas | bool }}"
|
||||
- name: "vpnaas"
|
||||
enabled: "{{ enable_neutron_vpnaas | bool }}"
|
||||
|
@ -183,6 +183,7 @@
|
||||
vars:
|
||||
service_name: "{{ item.key }}"
|
||||
services_need_fwaas_driver_ini:
|
||||
- "neutron-server"
|
||||
- "neutron-l3-agent"
|
||||
- "neutron-vpnaas-agent"
|
||||
merge_configs:
|
||||
|
@ -1 +1,8 @@
|
||||
{% if enable_neutron_fwaas | bool %}
|
||||
[service_providers]
|
||||
service_provider = FIREWALL:Iptables:neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver:default
|
||||
|
||||
[fwaas]
|
||||
driver = iptables
|
||||
enabled = True
|
||||
{% endif %}
|
||||
|
@ -13,10 +13,6 @@ agent_mode = legacy
|
||||
ha_vrrp_health_check_interval = 5
|
||||
{% endif %}
|
||||
{% if enable_neutron_fwaas | bool %}
|
||||
[fwaas]
|
||||
driver = neutron_fwaas.services.firewall.drivers.linux.iptables_fwaas.IptablesFwaasDriver
|
||||
enabled = True
|
||||
|
||||
[agent]
|
||||
extensions = fwaas
|
||||
{% endif %}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"command": "neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --config-file /etc/neutron/neutron_lbaas.conf --config-file /etc/neutron/neutron_vpnaas.conf {% if neutron_plugin_agent == 'vmware_nsxv' %} --config-file /etc/neutron/plugins/vmware/nsx.ini {% endif %}",
|
||||
"command": "neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --config-file /etc/neutron/neutron_lbaas.conf --config-file /etc/neutron/neutron_vpnaas.conf --config-file /etc/neutron/fwaas_driver.ini {% if neutron_plugin_agent == 'vmware_nsxv' %} --config-file /etc/neutron/plugins/vmware/nsx.ini {% endif %}",
|
||||
"config_files": [
|
||||
{
|
||||
"source": "{{ container_config_directory }}/neutron.conf",
|
||||
@ -7,6 +7,12 @@
|
||||
"owner": "neutron",
|
||||
"perm": "0600"
|
||||
},
|
||||
{
|
||||
"source": "{{ container_config_directory }}/fwaas_driver.ini",
|
||||
"dest": "/etc/neutron/fwaas_driver.ini",
|
||||
"owner": "neutron",
|
||||
"perm": "0600"
|
||||
},
|
||||
{
|
||||
"source": "{{ container_config_directory }}/neutron_lbaas.conf",
|
||||
"dest": "/etc/neutron/neutron_lbaas.conf",
|
||||
|
Loading…
Reference in New Issue
Block a user