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: I31a58492cbc7c53e7472c49fbb72edd778c5f27c
(cherry picked from commit 7c99d1600c)
This commit is contained in:
Ruchi Parmar
2015-09-18 20:14:28 +00:00
parent abeefbf764
commit 06b0ddb6ee

3
training/rp-0314.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.