diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2012-06-19 14:27:49 +0100 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2012-06-28 11:39:09 +0100 |
commit | 272407be59a9de094fa73a557d0823adf03b506b (patch) | |
tree | 56a718b7def65d074c156bc326cb62d24c955b80 /nova/context.py | |
parent | bcc04993fe8fbeb374cacf990105270579a530c2 (diff) | |
download | nova-272407be59a9de094fa73a557d0823adf03b506b.tar.gz nova-272407be59a9de094fa73a557d0823adf03b506b.tar.xz nova-272407be59a9de094fa73a557d0823adf03b506b.zip |
Add libvirt config classes for handling capabilities XML doc
Libvirt exposes the host/hypervisor features using an XML
schema known as "capabilities". Currently the libvirt driver
code just parses this in an adhoc manner using xpath queries.
This change provides a handful of classes LibvirtConfigCaps,
LibvirtConfigCapsHost and LibvirtConfigCapsGuest for maintaining
an object based representation of the capabilities. The
LibvirtConfigCapsHost class also uses the existing LibvirtConfigCPU
class
Fixes: bug #1003373
Implements: blueprint libvirt-xml-cpu-model
Change-Id: Ie962c6378b0da09eddc75983d4824a226ed1c25e
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions