

def __init__(self, uri):
    '\n        :param  uri: Hypervisor URI (e.g. vbox:///session, qemu:///system,\n                     etc.).\n        :type   uri: ``str``\n        '
    if (not have_libvirt):
        raise RuntimeError(("Libvirt driver requires 'libvirt' Python " + 'package'))
    self._uri = uri
    self.connection = libvirt.open(uri)

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/libvirt_driver.py LibvirtNodeDriver.__init__/original