Specify agent mode and service cluster uuid for nicira plugin
Supports blueprint nsx-integrated-services Change-Id: Ib02716fe447f1d7f47f2f49d16f0d2ad7afe741f
This commit is contained in:
parent
c0e837e840
commit
ec0ff2acf8
@ -119,6 +119,16 @@ function neutron_plugin_configure_service() {
|
|||||||
if [[ "$NVP_REDIRECTS" != "" ]]; then
|
if [[ "$NVP_REDIRECTS" != "" ]]; then
|
||||||
iniset /$Q_PLUGIN_CONF_FILE DEFAULT redirects $NVP_REDIRECTS
|
iniset /$Q_PLUGIN_CONF_FILE DEFAULT redirects $NVP_REDIRECTS
|
||||||
fi
|
fi
|
||||||
|
if [[ "$AGENT_MODE" != "" ]]; then
|
||||||
|
iniset /$Q_PLUGIN_CONF_FILE nvp agent_mode $AGENT_MODE
|
||||||
|
if [[ "$AGENT_MODE" == "agentless" ]]; then
|
||||||
|
if [[ "$DEFAULT_SERVICE_CLUSTER_UUID" != "" ]]; then
|
||||||
|
iniset /$Q_PLUGIN_CONF_FILE DEFAULT default_service_cluster_uuid $DEFAULT_SERVICE_CLUSTER_UUID
|
||||||
|
else
|
||||||
|
die $LINENO "Agentless mode requires a service cluster."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function neutron_plugin_setup_interface_driver() {
|
function neutron_plugin_setup_interface_driver() {
|
||||||
|
Loading…
Reference in New Issue
Block a user