Switch libvirt get_cpu_info 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: I9c94fd5c82f6641585ebe77e1c5e0fac86b43b9b
Closes-Bug: 1234567
(cherry picked from commit 56e8e46cff)
This commit is contained in:
Sindhu Devale 2016-06-09 14:56:26 +00:00
parent 4ec8683266
commit d27f8ff0af
1 changed files with 3 additions and 0 deletions

3
sd-0102.py Normal file
View File

@ -0,0 +1,3 @@
Hello OpenStack Community,
This is my first bug fix.
I really hope it gets merged to master.