def ReportFinished(self, ie, private):
    (idx, finished_fn) = private

    if ie.success:
      self._feedback_fn("Disk %s finished sending data" % idx)
    else:
      self._feedback_fn("Disk %s failed to send data: %s (recent output: %s)" %
                        (idx, ie.final_message, ie.recent_output))

    self._dresults[idx] = bool(ie.success)

    if finished_fn:
      finished_fn()
Called when a transfer has finished.
dataset/ETHPy150Open ganeti/ganeti/lib/masterd/instance.py/_RemoteExportCb.ReportFinished