def get_domain(self, instance):
        return self._get_domain_by_name(instance.name)
Retrieve libvirt domain object for an instance.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/host.py/Host.get_domain