'Stop an instance via compute_api.stop().'

def stop_instance(self, message, instance, clean_shutdown=True):

    do_cast = (not message.need_response)
    return self._call_compute_api_with_obj(message.ctxt, instance, 'stop', do_cast=do_cast, clean_shutdown=clean_shutdown)
