From edcb7e5bb321d247c9667933f3ff7c72973caa6f Mon Sep 17 00:00:00 2001 From: "Sean M. Collins" Date: Thu, 15 Dec 2016 11:29:28 -0500 Subject: [PATCH] lib/neutron: Fix some settings * Set ml2_type_flat setting so that the public flat network is created correctly * Set securitygroup driver correctly It should be set as: [securitygroup] firewall_driver = iptables Change-Id: I7369b45fbc5a47ce958693c67a1902a8cb24f367 --- lib/neutron | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/neutron b/lib/neutron index 4915dcce31..5d03543180 100644 --- a/lib/neutron +++ b/lib/neutron @@ -161,6 +161,7 @@ function configure_neutron_new { iniset $NEUTRON_CORE_PLUGIN_CONF ml2 tenant_network_types vxlan iniset $NEUTRON_CORE_PLUGIN_CONF ml2 mechanism_drivers openvswitch,linuxbridge iniset $NEUTRON_CORE_PLUGIN_CONF ml2_type_vxlan vni_ranges 1001:2000 + iniset $NEUTRON_CORE_PLUGIN_CONF ml2_type_flat flat_networks public if [[ "$NEUTRON_PORT_SECURITY" = "True" ]]; then iniset $NEUTRON_CORE_PLUGIN_CONF ml2 extension_drivers port_security fi @@ -173,10 +174,10 @@ function configure_neutron_new { # Configure the neutron agent if [[ $NEUTRON_AGENT == "linuxbridge" ]]; then - iniset $NEUTRON_CORE_PLUGIN_CONF securitygroup iptables + iniset $NEUTRON_CORE_PLUGIN_CONF securitygroup firewall_driver iptables iniset $NEUTRON_CORE_PLUGIN_CONF vxlan local_ip $HOST_IP else - iniset $NEUTRON_CORE_PLUGIN_CONF securitygroup iptables_hybrid + iniset $NEUTRON_CORE_PLUGIN_CONF securitygroup firewall_driver iptables_hybrid iniset $NEUTRON_CORE_PLUGIN_CONF ovs local_ip $HOST_IP fi