Possibly addition to python api binding virDomain class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]