

def rebuild_instance(self, ctxt, instance, new_pass, injected_files, image_ref, orig_image_ref, orig_sys_metadata, bdms, recreate=False, on_shared_storage=False, host=None, preserve_ephemeral=False, request_spec=None, kwargs=None):
    cctxt = self.client.prepare(version='1.25')
    cctxt.cast(ctxt, 'rebuild_instance', instance=instance, image_href=image_ref, admin_password=new_pass, files_to_inject=injected_files, preserve_ephemeral=preserve_ephemeral, kwargs=kwargs)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/cells/rpcapi.py CellsAPI.rebuild_instance/original