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: I69a941537d829e91a130ffbb3921eb8b41f351fd
Closes-Bug: 1234567
(cherry picked from commit 42938ecf9b)
This commit is contained in:
Aastha Dixit 2016-06-09 14:58:29 +00:00
parent d0f60b4ecb
commit 3db58f14a6
1 changed files with 3 additions and 0 deletions

3
ad-0902.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.