[libvirt] Possibly addition to python api binding virDomain class
Russell Ballestrini
russell.ballestrini at gmail.com
Wed Mar 16 00:35:01 UTC 2011
*In the python bindings of libvirt, could we please add the following code
to the virDomain class? *
def state(self):
"""return the state of the dom object"""
return self.info()[0]
*This helper function would make the world of difference when
coding against the libvirt api. *
--
*Russell J Ballestrini*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110315/e8a64fed/attachment-0001.htm>
More information about the libvir-list
mailing list