Browse code

Renaming NOS to Director Moving PLUMgrid Director parameters to the common configuration function

Fix bug #1198281

Change-Id: I5231950121cfaac9d2d8cc58c4e7b904ccaa9dce

Edgar Magana authored on 2013/07/06 03:03:57
Showing 1 changed files
... ...
@@ -22,13 +22,13 @@ function neutron_plugin_configure_common() {
22 22
     Q_PLUGIN_CONF_FILENAME=plumgrid.ini
23 23
     Q_DB_NAME="plumgrid_neutron"
24 24
     Q_PLUGIN_CLASS="neutron.plugins.plumgrid.plumgrid_nos_plugin.plumgrid_plugin.NeutronPluginPLUMgridV2"
25
+    PLUMGRID_DIRECTOR_IP=${PLUMGRID_DIRECTOR_IP:-localhost}
26
+    PLUMGRID_DIRECTOR_PORT=${PLUMGRID_DIRECTOR_PORT:-7766}
25 27
 }
26 28
 
27 29
 function neutron_plugin_configure_service() {
28
-    PLUMGRID_NOS_IP=${PLUMGRID_NOS_IP:-localhost}
29
-    PLUMGRID_NOS_PORT=${PLUMGRID_NOS_PORT:-7766}
30
-    iniset /$Q_PLUGIN_CONF_FILE plumgridnos nos_server $PLUMGRID_NOS_IP
31
-    iniset /$Q_PLUGIN_CONF_FILE plumgridnos nos_server_port $PLUMGRID_NOS_PORT
30
+    iniset /$Q_PLUGIN_CONF_FILE PLUMgridDirector director_server $PLUMGRID_DIRECTOR_IP
31
+    iniset /$Q_PLUGIN_CONF_FILE PLUMgridDirector director_server_port $PLUMGRID_DIRECTOR_PORT
32 32
 }
33 33
 
34 34
 function neutron_plugin_configure_debug_command() {