Quantum: use generic VIF driver
For plugins that support VIF bindings, make use of the LibvirtGenericVIFDriver libvirt vif driver. The plugin returns the VIF type to Nova which inturn "knows" what to do. Change-Id: I82982a9f1324db878439aa6bbee38bd205f073d0
This commit is contained in:
parent
fd6aa547f0
commit
4d8c5b0aca
@ -18,7 +18,7 @@ functions
|
||||
* ``quantum_plugin_create_nova_conf`` :
|
||||
set ``NOVA_VIF_DRIVER`` and optionally set options in nova_conf
|
||||
e.g.
|
||||
NOVA_VIF_DRIVER=${NOVA_VIF_DRIVER:-"nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver"}
|
||||
NOVA_VIF_DRIVER=${NOVA_VIF_DRIVER:-"nova.virt.libvirt.vif.LibvirtGenericVIFDriver"}
|
||||
* ``quantum_plugin_install_agent_packages`` :
|
||||
install packages that is specific to plugin agent
|
||||
e.g.
|
||||
|
@ -9,7 +9,7 @@ source $TOP_DIR/lib/quantum_plugins/ovs_base
|
||||
source $TOP_DIR/lib/quantum_thirdparty/bigswitch_floodlight # for third party service specific configuration values
|
||||
|
||||
function quantum_plugin_create_nova_conf() {
|
||||
NOVA_VIF_DRIVER=${NOVA_VIF_DRIVER:-"nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver"}
|
||||
NOVA_VIF_DRIVER=${NOVA_VIF_DRIVER:-"nova.virt.libvirt.vif.LibvirtGenericVIFDriver"}
|
||||
}
|
||||
|
||||
function quantum_plugin_install_agent_packages() {
|
||||
|
@ -10,7 +10,7 @@ function is_quantum_ovs_base_plugin() {
|
||||
}
|
||||
|
||||
function quantum_plugin_create_nova_conf() {
|
||||
NOVA_VIF_DRIVER=${NOVA_VIF_DRIVER:-"nova.virt.libvirt.vif.QuantumLinuxBridgeVIFDriver"}
|
||||
NOVA_VIF_DRIVER=${NOVA_VIF_DRIVER:-"nova.virt.libvirt.vif.LibvirtGenericVIFDriver"}
|
||||
}
|
||||
|
||||
function quantum_plugin_install_agent_packages() {
|
||||
|
@ -11,7 +11,7 @@ function is_quantum_ovs_base_plugin() {
|
||||
}
|
||||
|
||||
function quantum_plugin_create_nova_conf() {
|
||||
NOVA_VIF_DRIVER=${NOVA_VIF_DRIVER:-"nova.virt.libvirt.vif.QuantumLinuxBridgeVIFDriver"}
|
||||
NOVA_VIF_DRIVER=${NOVA_VIF_DRIVER:-"nova.virt.libvirt.vif.LibvirtGenericVIFDriver"}
|
||||
}
|
||||
|
||||
function quantum_plugin_install_agent_packages() {
|
||||
|
@ -8,7 +8,7 @@ set +o xtrace
|
||||
source $TOP_DIR/lib/quantum_plugins/ovs_base
|
||||
|
||||
function quantum_plugin_create_nova_conf() {
|
||||
NOVA_VIF_DRIVER=${NOVA_VIF_DRIVER:-"nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver"}
|
||||
NOVA_VIF_DRIVER=${NOVA_VIF_DRIVER:-"nova.virt.libvirt.vif.LibvirtGenericVIFDriver"}
|
||||
if [ "$VIRT_DRIVER" = 'xenserver' ]; then
|
||||
iniset $NOVA_CONF DEFAULT xenapi_vif_driver nova.virt.xenapi.vif.XenAPIOpenVswitchDriver
|
||||
iniset $NOVA_CONF DEFAULT xenapi_ovs_integration_bridge $FLAT_NETWORK_BRIDGE
|
||||
|
Loading…
Reference in New Issue
Block a user