Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. These stubs inherit from LibvirtGenericVIFDriver and log a deprecation warning in __init__. This patch also marks the vif_driver option as deprecated. Change-Id: I6d6cb9315ce6f3b33d17756bcdc77dccda26fefe Closed-bug: 1302796 (cherry picked from commit 9f6070e)
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters