
This patch adds new functionality - merging base & environment specific kolla config. This allows you to place common settings in the base configuration and only keep environment specific settings in the environment directories. Change-Id: Id4588f4529a4522e68e22ce58711cb927fa68a9d Story: 2002009 Task: 42903
44 lines
1.2 KiB
INI
44 lines
1.2 KiB
INI
[ml2]
|
|
{% if kolla_neutron_ml2_mechanism_drivers %}
|
|
mechanism_drivers = {{ kolla_neutron_ml2_mechanism_drivers | 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 %}
|
|
{% endif %}
|
|
|
|
{% for switch in kolla_neutron_ml2_generic_switches %}
|
|
[genericswitch:{{ switch.name }}]
|
|
device_type = {{ switch.device_type }}
|
|
ip = {{ switch.ip }}
|
|
username = {{ switch.username }}
|
|
{% if switch.password is defined %}
|
|
password = {{ switch.password }}
|
|
{% endif %}
|
|
{% if switch.key_file is defined %}
|
|
key_file = {{ switch.key_file }}
|
|
{% endif %}
|
|
{% if switch.secret is defined %}
|
|
secret = {{ switch.secret }}
|
|
{% endif %}
|
|
{% for key, value in switch.items() %}
|
|
{% if key.startswith('ngs_') %}
|
|
{{ key }} = {{ value }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
{% if kolla_extra_neutron_ml2 %}
|
|
#######################
|
|
# Extra configuration
|
|
#######################
|
|
|
|
{{ kolla_extra_neutron_ml2 }}
|
|
{% endif %}
|