Switch libvirt get_cpu_info method 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: If14a981336dcac6c92b9283fb9299d5e1335751a
Closes-Bug: 1234567
This commit is contained in:
Anindita Das
2016-06-09 14:55:23 +00:00
parent c05676cdd9
commit b033afe244

3
ad-0914.py Normal file
View File

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