'Stop an instance.'

@check_instance_lock
@check_instance_host
@check_instance_cell
@check_instance_state(vm_state=[vm_states.ACTIVE, vm_states.ERROR])
def stop(self, context, instance, do_cast=True, clean_shutdown=True):

    self.force_stop(context, instance, do_cast, clean_shutdown)
