Move two neutron options from custom neutron.conf to globals.yml
Support was added in kolla-ansible for neutron_type_drivers and neutron_tenant_network_types.
This commit is contained in:
parent
f008b6a675
commit
a8f95c9e8a
@ -143,6 +143,12 @@ kolla_provision_interface:
|
||||
# Interface on which the inspector dnsmasq service listens.
|
||||
kolla_inspector_dnsmasq_interface:
|
||||
|
||||
# List of Neutron ML2 type drivers to use.
|
||||
kolla_neutron_ml2_type_drivers: []
|
||||
|
||||
# List of Neutron ML2 tenant network types to use.
|
||||
kolla_neutron_ml2_tenant_network_types: []
|
||||
|
||||
####################
|
||||
# TLS options
|
||||
####################
|
||||
|
@ -103,6 +103,17 @@ ironic_dnsmasq_interface: "{{ kolla_inspector_dnsmasq_interface }}"
|
||||
# Valid options are [ openvswitch, linuxbridge ]
|
||||
neutron_plugin_agent: "openvswitch"
|
||||
|
||||
# Comma-separated names of neutron ML2 type drivers.
|
||||
{% if kolla_neutron_ml2_type_drivers %}
|
||||
neutron_type_drivers: {{ kolla_neutron_ml2_type_drivers | join(',') }}
|
||||
{% endif %}
|
||||
|
||||
# Comma-separated types of tenant networks (should be listed in 'neutron_type_drivers')
|
||||
# NOTE: for ironic this list should also contain 'flat'
|
||||
{% if kolla_neutron_ml2_tenant_network_types %}
|
||||
neutron_tenant_network_types: {{ kolla_neutron_ml2_tenant_network_types | join(',') }}
|
||||
{% endif %}
|
||||
|
||||
|
||||
####################
|
||||
# keepalived options
|
||||
|
@ -215,12 +215,6 @@ kolla_enable_neutron:
|
||||
# List of Neutron ML2 mechanism drivers to use.
|
||||
kolla_neutron_ml2_mechanism_drivers: []
|
||||
|
||||
# List of Neutron ML2 type drivers to use.
|
||||
kolla_neutron_ml2_type_drivers: []
|
||||
|
||||
# List of Neutron ML2 tenant network types to use.
|
||||
kolla_neutron_ml2_tenant_network_types: []
|
||||
|
||||
# List of Neutron ML2 network VLAN ranges to use. Each item should be a dict
|
||||
# containing the following items:
|
||||
# physical_network: The physical network
|
||||
|
@ -5,14 +5,6 @@
|
||||
mechanism_drivers = {{ kolla_neutron_ml2_mechanism_drivers | join(',') }}
|
||||
{% endif %}
|
||||
|
||||
{% if kolla_neutron_ml2_type_drivers %}
|
||||
type_drivers = {{ kolla_neutron_ml2_type_drivers | join(',') }}
|
||||
{% endif %}
|
||||
|
||||
{% if kolla_neutron_ml2_tenant_network_types %}
|
||||
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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user