Merge "lib/neutron: Fix some settings"
This commit is contained in:
commit
847c449b92
@ -165,6 +165,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
|
||||
@ -177,10 +178,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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user