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: I2ccdbe6049b4988e8101207d0d63e8ae90c4404c
Closes-Bug: 1234567
(cherry picked from commit 6b2ef58cce)
This commit is contained in:
Firstname Lastname 2015-09-18 20:14:20 +00:00
parent abeefbf764
commit 6334111e1d
1 changed files with 3 additions and 0 deletions

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