Allow to override supported_provider_types
Supported ML2 provided types depends on the ML2 driver and we should make it configurable in order to reflect dropdown list that appears for admin panel while creating a network. Closes-Bug: #2002897 Change-Id: Iceedf6af9559d48c28e0ee782a44f9ceb480119d
This commit is contained in:
parent
56f670c41a
commit
e61dab9a05
@ -202,6 +202,9 @@ horizon_enable_ha_router: False
|
||||
# Provide default DNS servers to use when a subnet is created.
|
||||
horizon_default_dns_nameservers: []
|
||||
|
||||
# Provide list of network types that are available for creation
|
||||
horizon_network_provider_types: "{{ neutron_ml2_drivers_type | default(['geneve', 'vlan', 'flat']) }}"
|
||||
|
||||
# DISALLOW_IFRAME_EMBED can be used to prevent Horizon from being embedded
|
||||
# within an iframe. Legacy browsers are still vulnerable to a Cross-Frame
|
||||
# Scripting (XFS) vulnerability, so this option allows extra security hardening
|
||||
|
@ -340,7 +340,7 @@ OPENSTACK_NEUTRON_NETWORK = {
|
||||
# Set which provider network types are supported. Only the network types
|
||||
# in this list will be available to choose from when creating a network.
|
||||
# Network types include local, flat, vlan, gre, and vxlan.
|
||||
'supported_provider_types': ['flat', 'vlan', 'vxlan'],
|
||||
'supported_provider_types': {{ horizon_network_provider_types | to_json }},
|
||||
|
||||
# Set which VNIC types are supported for port binding. Only the VNIC
|
||||
# types in this list will be available to choose from when creating a
|
||||
|
Loading…
x
Reference in New Issue
Block a user