Files
gantt/nova/tests
Daniel P. Berrange e159a37d0a Adjust the libvirt config classes' API contract for parsing
Don't not automatically invoke the 'parse_dom' method from
the LibvirtConfigObject constructor, because this is too
early in construction - no child class constructors have
initialized yet.

Instead require the 'parse_dom' method to be invoked after
the bare object has been constructed. Also make the default
impl of 'parse_dom' take an etree.Element instance and
validate its root element name. Add a convenient 'parse_str'
method for turning a XML string into an etree.Element
instance & parsing it.

Change-Id: I7eda2b59869f3b4ef9dce1602cbb05f7662f4528
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-06-19 15:01:28 +01:00
..
2012-06-19 01:05:37 +08:00
2012-06-13 09:11:45 -04:00
2012-06-19 01:05:37 +08:00
2012-06-12 23:48:09 +04:00
2012-06-19 01:05:37 +08:00
2012-06-14 12:45:20 -04:00
2012-04-30 15:10:19 -04:00
2012-06-12 23:48:09 +04:00
2012-06-19 01:05:37 +08:00
2012-06-19 01:05:37 +08:00
2011-08-04 23:01:22 -05:00
2012-06-12 23:48:09 +04:00
2011-07-23 16:57:05 +09:00