Switch libvirt get_cpu_info method over to use config

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: Ia071ff83eac2473541c06fc4953e73841643e062
This commit is contained in:
navyasomepalli 2016-09-23 14:56:27 +00:00
parent f6a6fa0f92
commit b73c9a9572

6
ns-0828.py Normal file
View File

@ -0,0 +1,6 @@
Hello open stack community,
This is my first bug fix.
I really hope it gets merged to master.
This is just a sample.