quantum.plugins.cisco.nova.vifagent.py is broken due to Nova libvirt driver refactoring
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Medium
|
Kyle Mestery |
Bug Description
At the start of Folsom development, the libvirt driver was re-written to stop using Cheetah templating for XML generation. In the course of this the vif.py classes were changed such that they return LibvirtConfigGu
commit 77b7d39cf9a177a
Author: Daniel P. Berrange <email address hidden>
Date: Wed Mar 7 06:57:36 2012 -0500
Convert libvirt vif classes over to use config API
The classes in the libvirt/vif.py file build up dictionaries
and partial XML snippets, which are then passed onto Cheetah
templating for XML generation. Instead of building up
dictionaries of parameters, return LibvirtConfigGu
object instances instead
blueprint libvirt-
Change-Id: I4e977225e21219
Signed-off-by: Daniel P. Berrange <email address hidden>
The Quantum Cisco Nova vifagent.py plugin still uses the old approach of returning a dictionary of template parameters, and is thus broken wrt current Nova libvirt driver requirements.
Since this breakage has gone unnoticed for so long, it would seem there is a clear need to provide unit tests for this class too, while fixing the bug.
Changed in quantum: | |
status: | New → Confirmed |
Changed in quantum: | |
importance: | Undecided → Medium |
Changed in quantum: | |
assignee: | nobody → Edgar Magana (emagana) |
tags: | added: cisco |
Changed in quantum: | |
assignee: | Edgar Magana (emagana) → Kyle Mestery (mestery) |
Changed in quantum: | |
milestone: | havana-1 → none |
Thanks for pointing this out!