def pause(self, instance):
    'Pause VM instance.'
    dom = self._lookup_by_name(instance['name'])
    dom.suspend()
Pause VM instance.
def pause(self, instance):
    
    dom = self._lookup_by_name(instance['name'])
    dom.suspend()