Browse code

Merge "lib/neutron: Fix some settings"

Jenkins authored on 2017/01/07 02:47:11
Showing 1 changed files
... ...
@@ -165,6 +165,7 @@ function configure_neutron_new {
165 165
         iniset $NEUTRON_CORE_PLUGIN_CONF ml2 tenant_network_types vxlan
166 166
         iniset $NEUTRON_CORE_PLUGIN_CONF ml2 mechanism_drivers openvswitch,linuxbridge
167 167
         iniset $NEUTRON_CORE_PLUGIN_CONF ml2_type_vxlan vni_ranges 1001:2000
168
+        iniset $NEUTRON_CORE_PLUGIN_CONF ml2_type_flat flat_networks public
168 169
         if [[ "$NEUTRON_PORT_SECURITY" = "True" ]]; then
169 170
             iniset $NEUTRON_CORE_PLUGIN_CONF ml2 extension_drivers port_security
170 171
         fi
... ...
@@ -177,10 +178,10 @@ function configure_neutron_new {
177 177
 
178 178
         # Configure the neutron agent
179 179
         if [[ $NEUTRON_AGENT == "linuxbridge" ]]; then
180
-            iniset $NEUTRON_CORE_PLUGIN_CONF securitygroup iptables
180
+            iniset $NEUTRON_CORE_PLUGIN_CONF securitygroup firewall_driver iptables
181 181
             iniset $NEUTRON_CORE_PLUGIN_CONF vxlan local_ip $HOST_IP
182 182
         else
183
-            iniset $NEUTRON_CORE_PLUGIN_CONF securitygroup iptables_hybrid
183
+            iniset $NEUTRON_CORE_PLUGIN_CONF securitygroup firewall_driver iptables_hybrid
184 184
             iniset $NEUTRON_CORE_PLUGIN_CONF ovs local_ip $HOST_IP
185 185
         fi
186 186