Parameterized configuration variables for PLUMgrid plugin

Fixes bug 1171028

Change-Id: Ie60ef8903001913996e265917c449bdce1e5aae9
This commit is contained in:
Edgar Magana 2013-04-17 15:11:04 -07:00
parent 181b41b6ff
commit 43a655c312

View File

@ -25,8 +25,10 @@ function quantum_plugin_configure_common() {
} }
function quantum_plugin_configure_service() { function quantum_plugin_configure_service() {
iniset /$Q_PLUGIN_CONF_FILE PLUMgridNOS nos_server localhost PLUMGRID_NOS_IP=${PLUMGRID_NOS_IP:-localhost}
iniset /$Q_PLUGIN_CONF_FILE PLUMgridNOS nos_server_port 7766 PLUMGRID_NOS_PORT=${PLUMGRID_NOS_PORT:-7766}
iniset /$Q_PLUGIN_CONF_FILE PLUMgridNOS nos_server $PLUMGRID_NOS_IP
iniset /$Q_PLUGIN_CONF_FILE PLUMgridNOS nos_server_port $PLUMGRID_NOS_PORT
} }
function quantum_plugin_configure_debug_command() { function quantum_plugin_configure_debug_command() {