1023
1023
self._cast_compute_message('reboot_instance', context, instance_id)
1025
1025
@scheduler_api.reroute_compute("rebuild")
1026
def rebuild(self, context, instance_id, image_href, name=None,
1026
def rebuild(self, context, instance_id, image_href, admin_password,
1028
1028
"""Rebuild the given instance with the provided metadata."""
1029
1029
instance = db.api.instance_get(context, instance_id)