Correctly construct type drivers from CONFIG_NEUTRON_ML2_TYPE_DRIVERS

Previously packstack was constructing type drivers configuration from
CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES instead of TYPE_DRIVERS.

Resolves: rhbz#1181131

Change-Id: Ia518d450c98fe97507d08c6bed307ee245ea8119
This commit is contained in:
Lukas Bezdicka 2015-11-04 15:30:58 +01:00
parent 81a934b86f
commit 8cb6674719
1 changed files with 1 additions and 1 deletions

View File

@ -757,7 +757,7 @@ def create_l2_agent_manifests(config, messages):
config['CONFIG_NEUTRON_USE_L2POPULATION'] = False
if agent == "openvswitch":
ovs_type = 'CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES'
ovs_type = 'CONFIG_NEUTRON_ML2_TYPE_DRIVERS'
ovs_type = config.get(ovs_type, 'local')
tunnel = use_openvswitch_vxlan(config) or use_openvswitch_gre(config)
config["CONFIG_NEUTRON_OVS_TUNNELING"] = tunnel