From 4d8c5b0aca07f0cefa0cf5794f2f0beb2fc5899f Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Thu, 7 Mar 2013 12:54:34 +0000 Subject: [PATCH] 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 --- lib/quantum_plugins/README.md | 2 +- lib/quantum_plugins/bigswitch_floodlight | 2 +- lib/quantum_plugins/brocade | 2 +- lib/quantum_plugins/linuxbridge | 2 +- lib/quantum_plugins/openvswitch | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/quantum_plugins/README.md b/lib/quantum_plugins/README.md index a66d35a34c..5411de00c7 100644 --- a/lib/quantum_plugins/README.md +++ b/lib/quantum_plugins/README.md @@ -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. diff --git a/lib/quantum_plugins/bigswitch_floodlight b/lib/quantum_plugins/bigswitch_floodlight index 2c928bec95..7d3fd9675c 100644 --- a/lib/quantum_plugins/bigswitch_floodlight +++ b/lib/quantum_plugins/bigswitch_floodlight @@ -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() { diff --git a/lib/quantum_plugins/brocade b/lib/quantum_plugins/brocade index c372c19fca..ac911439a3 100644 --- a/lib/quantum_plugins/brocade +++ b/lib/quantum_plugins/brocade @@ -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() { diff --git a/lib/quantum_plugins/linuxbridge b/lib/quantum_plugins/linuxbridge index 0756de4e9c..11bc585fe9 100644 --- a/lib/quantum_plugins/linuxbridge +++ b/lib/quantum_plugins/linuxbridge @@ -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() { diff --git a/lib/quantum_plugins/openvswitch b/lib/quantum_plugins/openvswitch index a57336e288..dda1239cb9 100644 --- a/lib/quantum_plugins/openvswitch +++ b/lib/quantum_plugins/openvswitch @@ -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