'Resize an instance via compute_api.resize().'

def resize_instance(self, message, instance, flavor, extra_instance_updates, clean_shutdown=True):

    self._call_compute_api_with_obj(message.ctxt, instance, 'resize', flavor_id=flavor['flavorid'], clean_shutdown=clean_shutdown, **extra_instance_updates)
