|
...
|
...
|
@@ -44,13 +44,23 @@ function quantum_plugin_configure_plugin_agent() {
|
|
44
|
44
|
function quantum_plugin_configure_service() {
|
|
45
|
45
|
iniset /$Q_PLUGIN_CONF_FILE restproxy servers $BS_FL_CONTROLLERS_PORT
|
|
46
|
46
|
iniset /$Q_PLUGIN_CONF_FILE restproxy servertimeout $BS_FL_CONTROLLER_TIMEOUT
|
|
|
47
|
+ if [ "$BS_FL_VIF_DRIVER" = "ivs" ]
|
|
|
48
|
+ then
|
|
|
49
|
+ iniset /$Q_PLUGIN_CONF_FILE nova vif_type ivs
|
|
|
50
|
+ fi
|
|
47
|
51
|
}
|
|
48
|
52
|
|
|
49
|
53
|
function quantum_plugin_setup_interface_driver() {
|
|
50
|
54
|
local conf_file=$1
|
|
51
|
|
- iniset $conf_file DEFAULT interface_driver quantum.agent.linux.interface.OVSInterfaceDriver
|
|
|
55
|
+ if [ "$BS_FL_VIF_DRIVER" = "ivs" ]
|
|
|
56
|
+ then
|
|
|
57
|
+ iniset $conf_file DEFAULT interface_driver quantum.agent.linux.interface.IVSInterfaceDriver
|
|
|
58
|
+ else
|
|
|
59
|
+ iniset $conf_file DEFAULT interface_driver quantum.agent.linux.interface.OVSInterfaceDriver
|
|
|
60
|
+ fi
|
|
52
|
61
|
}
|
|
53
|
62
|
|
|
|
63
|
+
|
|
54
|
64
|
function has_quantum_plugin_security_group() {
|
|
55
|
65
|
# 1 means False here
|
|
56
|
66
|
return 1
|