Several classes were dropped from nova.virt.libvirt.vif from havana ->
icehouse, leading to invalid configurations if one of these classes was
used in the libvirt_vif_driver setting in nova.conf. The error message
produced by nova-compute in this situation is misleading.
This patch introduces stubs for all of the classes that were removed.
These stubs inherit from LibvirtGenericVIFDriver and log a deprecation
warning in __init__.
This patch also marks the vif_driver option as deprecated.
Reviewed: https:/ /review. openstack. org/85462 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=9f6070e1945 04cc2ca2b7f2a2a abbf91c6b81897
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9f6070e194504cc 2ca2b7f2a2aabbf 91c6b81897
Author: Lars Kellogg-Stedman <email address hidden>
Date: Fri Apr 4 14:58:12 2014 -0400
mark vif_driver as deprecated and log warning
Several classes were dropped from nova.virt. libvirt. vif from havana ->
icehouse, leading to invalid configurations if one of these classes was
used in the libvirt_vif_driver setting in nova.conf. The error message
produced by nova-compute in this situation is misleading.
This patch introduces stubs for all of the classes that were removed. IFDriver and log a deprecation
These stubs inherit from LibvirtGenericV
warning in __init__.
This patch also marks the vif_driver option as deprecated.
Change-Id: I6d6cb9315ce6f3 b33d17756bcdc77 dccda26fefe
Closed-bug: 1302796