Skip to content
Snippets Groups Projects
Commit 17165c4d authored by Mark Goddard's avatar Mark Goddard
Browse files

Allow configuration of neutron extension drivers

parent 149a765f
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,12 @@ kolla_neutron_ml2_tenant_network_types:
# range: Range of allowed VLANs on this physical network (min:max, (optional)
kolla_neutron_ml2_network_vlan_ranges: []
# List of Neutron ML2 extention drivers to use.
kolla_neutron_ml2_extension_drivers: []
###############################################################################
# Neutron ML2 generic switch driver configuration.
# List of switches to configure for use by genericswitch ML2 mechanism driver.
# Each item should be a dict containing the following items:
# name: Hostname of the switch
......
......@@ -189,6 +189,9 @@ kolla_neutron_ml2_tenant_network_types: []
# range: Range of allowed VLANs on this physical network (min:max, (optional)
kolla_neutron_ml2_network_vlan_ranges: []
# List of Neutron ML2 extention drivers to use.
kolla_neutron_ml2_extension_drivers: []
# List of switches to configure for use by genericswitch ML2 mechanism driver.
# Each item should be a dict containing the following items;
# name: Hostname of the switch
......
......@@ -13,6 +13,10 @@ type_drivers = {{ kolla_neutron_ml2_type_drivers | join(',') }}
tenant_network_types = {{ kolla_neutron_ml2_tenant_network_types | join(',') }}
{% endif %}
{% if kolla_neutron_ml2_extension_drivers %}
extension_drivers = {{ kolla_neutron_ml2_extension_drivers | join(',') }}
{% endif %}
[ml2_type_vlan]
{% if kolla_neutron_ml2_network_vlan_ranges %}
network_vlan_ranges = {% for vnr in kolla_neutron_ml2_network_vlan_ranges %}{{ vnr.physical_network }}{% if vnr.range is defined %}:{{ vnr.range }}{% endif %}{% if not loop.last %},{% endif %}{% endfor %}
......
......@@ -18,6 +18,9 @@
# max: Maximum of allowed VLAN range (optional)
#kolla_neutron_ml2_network_vlan_ranges:
# List of Neutron ML2 extention drivers to use.
#kolla_neutron_ml2_extension_drivers:
# List of switches to configure for use by genericswitch ML2 mechanism driver.
# Each item should be a dict containing the following items:
# name: Hostname of the switch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment