239f58dd40
When qos plugin is defined in 'neutron_plugin_base' it should also be added to 'extension_drivers' at ml2_conf.ini. If not, neutron-server will not start, throwing the following error: "ExtensionDriverNotFound: Extension driver qos required for service plugin qos not found." Change-Id: I87839e8c0fb0db27b89538d10d0573e80235260a
42 lines
1022 B
Django/Jinja
42 lines
1022 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
# ML2 general
|
|
[ml2]
|
|
type_drivers = {{ neutron_ml2_drivers_type }}
|
|
tenant_network_types = {{ neutron_provider_networks.network_types }}
|
|
mechanism_drivers = {{ neutron_ml2_mechanism_drivers }}
|
|
extension_drivers = port_security{% if 'qos' in neutron_plugin_base %},qos{% endif %}
|
|
|
|
path_mtu = 0
|
|
segment_mtu = 0
|
|
|
|
{% if neutron_provider_networks.network_flat_networks is defined %}
|
|
|
|
# ML2 flat networks
|
|
[ml2_type_flat]
|
|
flat_networks = {{ neutron_provider_networks.network_flat_networks }}
|
|
|
|
{% endif %}
|
|
|
|
{% if neutron_provider_networks.network_vlan_ranges is defined %}
|
|
|
|
# ML2 VLAN networks
|
|
[ml2_type_vlan]
|
|
network_vlan_ranges = {{ neutron_provider_networks.network_vlan_ranges }}
|
|
|
|
{% endif %}
|
|
|
|
{% if neutron_provider_networks.network_vxlan_ranges is defined %}
|
|
|
|
# ML2 VXLAN networks
|
|
[ml2_type_vxlan]
|
|
vxlan_group = {{ neutron_vxlan_group }}
|
|
vni_ranges = {{ neutron_provider_networks.network_vxlan_ranges }}
|
|
|
|
{% endif %}
|
|
|
|
# Security groups
|
|
[securitygroup]
|
|
enable_security_group = True
|
|
enable_ipset = True
|