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: I404f7dda33ac9aa729f47e5d684e0a492357c8a2
Closes-Bug: 1234567
(cherry picked from commit afcef9c172)
This commit is contained in:
Shravya Gaddam
2015-09-18 20:14:32 +00:00
parent abeefbf764
commit d35e748122

3
training/SG-0918.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.