it's not recommended to put the connection string in plugin specific
config file [1].
[1]:
https://github.com/openstack/neutron/blob/master/etc/neutron.conf#L534
Change-Id: I3c9d7fe3d34385185f483b509dadf7e2ba920a45
| ... | ... |
@@ -625,7 +625,7 @@ function _configure_neutron_common {
|
| 625 | 625 |
Q_PLUGIN_CONF_FILE=$Q_PLUGIN_CONF_PATH/$Q_PLUGIN_CONF_FILENAME |
| 626 | 626 |
cp $NEUTRON_DIR/$Q_PLUGIN_CONF_FILE /$Q_PLUGIN_CONF_FILE |
| 627 | 627 |
|
| 628 |
- iniset /$Q_PLUGIN_CONF_FILE database connection `database_connection_url $Q_DB_NAME` |
|
| 628 |
+ iniset $NEUTRON_CONF database connection `database_connection_url $Q_DB_NAME` |
|
| 629 | 629 |
iniset $NEUTRON_CONF DEFAULT state_path $DATA_DIR/neutron |
| 630 | 630 |
|
| 631 | 631 |
# If addition config files are set, make sure their path name is set as well |