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: Ibe190933ff597790eb9f8ddb1d526a8093d9a8b3
Closes-Bug: 1437042
(cherry picked from commit 914a7fa253)
This commit is contained in:
Shashirekha Gundur
2015-09-10 14:31:13 +00:00
parent 31c931a2f8
commit 566d7d642b

3
training/sg-1001.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.