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: Ic24df322366a864bc18e63b2515dd320bfe3f94d
Closes-Bug:1437042
(cherry picked from commit feec21f906)
This commit is contained in:
Nandini Tata
2015-09-10 14:30:54 +00:00
parent 31c931a2f8
commit abc4b75582

3
training/nt-1507.py Normal file
View File

@@ -0,0 +1,3 @@
Hello OpenStack Community,
This is My Frst Bug Fix.
I really hope it gets merged to master.