Switch libvirt get_cpu_info method over to use config APIs

The get_cpu_info method in the libvirt driver currently uses
XPath queries to extract information from the capabilities
XML document. Switch this over to use the new config class
LibvirtConfigCaps. Also provide a test case to validate
the data being returned.

Change-Id: I4e3be83261b99f9c6cfcbbf7f76db3d41ccc6d15
Closes-Bug: 1234567
(cherry picked from commit 229df4e41e)
This commit is contained in:
Mehrab Ghanat Bari
2015-09-18 20:14:25 +00:00
parent abeefbf764
commit cbeb56b5c9
2 changed files with 3 additions and 0 deletions

0
training/mb-9182015.py Normal file
View File

3
training/mg-9182015.py Normal file
View File

@@ -0,0 +1,3 @@
Hello OpenStack Community,
This is My First Bug Fix.
I hope really hope it gets merged to master.