446de085a0
- Add default-tenant-network-type config option to allow the default network type for a tenant network to be set - Fix rendering of overlay-network-type so that an empty string is valid Change-Id: Ib2325d273a0dd5e637f36113b951130387902777 Closes-Bug: 1533651
46 lines
1.2 KiB
INI
46 lines
1.2 KiB
INI
# icehouse
|
|
###############################################################################
|
|
# [ WARNING ]
|
|
# Configuration file maintained by Juju. Local changes may be overwritten.
|
|
###############################################################################
|
|
[ml2]
|
|
{% if neutron_plugin == 'Calico' -%}
|
|
type_drivers = local,flat
|
|
mechanism_drivers = calico
|
|
{% else -%}
|
|
type_drivers = {{ tenant_network_types }}
|
|
tenant_network_types = {{ tenant_network_types }}
|
|
mechanism_drivers = openvswitch,hyperv,l2population
|
|
|
|
[ml2_type_gre]
|
|
tunnel_id_ranges = 1:1000
|
|
|
|
[ml2_type_vxlan]
|
|
vni_ranges = {{ vni_ranges }}
|
|
|
|
[ml2_type_vlan]
|
|
network_vlan_ranges = {{ vlan_ranges }}
|
|
|
|
[ml2_type_flat]
|
|
flat_networks = {{ network_providers }}
|
|
|
|
[ovs]
|
|
enable_tunneling = True
|
|
local_ip = {{ local_ip }}
|
|
|
|
[agent]
|
|
tunnel_types = {{ overlay_network_type }}
|
|
{% endif -%}
|
|
|
|
[securitygroup]
|
|
{% if neutron_security_groups -%}
|
|
enable_security_group = True
|
|
{% if neutron_plugin == 'Calico' -%}
|
|
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
|
|
{% else -%}
|
|
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
|
|
{% endif -%}
|
|
{% else -%}
|
|
enable_security_group = False
|
|
{% endif -%}
|