Merge "Use the value of "ml2_plugin_config" when retrieving the ML2 conf file"
This commit is contained in:
commit
2c618d8d11
@ -304,9 +304,13 @@ def get_neutron_api_service_name():
|
|||||||
|
|
||||||
|
|
||||||
def get_ml2_conf_file():
|
def get_ml2_conf_file():
|
||||||
"""Neutron ML2 config file name depending on the installation type"""
|
"""Neutron ML2 config file name depending on the installation type
|
||||||
|
|
||||||
|
The default value of WB_CONF.ml2_plugin_config is
|
||||||
|
'/etc/neutron/plugins/ml2/ml2_conf.ini'.
|
||||||
|
"""
|
||||||
if WB_CONF.openstack_type in ('podified', 'devstack'):
|
if WB_CONF.openstack_type in ('podified', 'devstack'):
|
||||||
return '/etc/neutron/plugins/ml2/ml2_conf.ini'
|
return WB_CONF.ml2_plugin_config
|
||||||
else:
|
else:
|
||||||
return ('/var/lib/config-data/puppet-generated/neutron'
|
return ('/var/lib/config-data/puppet-generated/neutron' +
|
||||||
'/etc/neutron/plugins/ml2/ml2_conf.ini')
|
WB_CONF.ml2_plugin_config)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user