

def console(self, name):
    (dom, host) = self.get_active_domain(name)
    subprocess.call(['virsh', '--connect', self.uri(host), 'console', name])

dataset/ETHPy150Open mizzy/maglica/maglica/virt.py Virt.console/original