def _get_domain(self):
        """
        Return the object representation of this provider VM.

        Returns:
            libvirt.virDomain: Libvirt domain object

        Raises:
            :exc:`~lago.plugins.vm.LagoFailedToGetVMStateError:
                If the VM exist, but the query returned an error.
        """
        try:
            return self.libvirt_con.lookupByName(self._libvirt_name())
        except libvirt.libvirtError as e:
            raise vm_plugin.LagoVMDoesNotExistError(str(e))
def _get_domain ( self ) : try : return self . libvirt_con . lookupByName ( self . _libvirt_name ( ) ) except libvirt . libvirtError as e : raise vm_plugin . LagoVMDoesNotExistError ( str ( e ) )
Return the object representation of this provider VM.

        Returns:
            libvirt.virDomain: Libvirt domain object

        Raises:
            :exc:`~lago.plugins.vm.LagoFailedToGetVMStateError:
                If the VM exist, but the query returned an error.