def stop_migration(self): total_xferred = 0 for ploopcopy in self.__ploop_copies: total_xferred += ploopcopy.copy_stop() for pl in self.__shared_ploops: pl.prepare() return mstats.fs_iter_stats(total_xferred)
def start_migration(self): total_xferred = 0 for ploopcopy in self.__ploop_copies: total_xferred += ploopcopy.copy_start() return mstats.fs_iter_stats(total_xferred)
def next_iteration(self): total_xferred = 0 for ploopcopy in self.__ploop_copies: total_xferred += ploopcopy.copy_next_iteration() return mstats.fs_iter_stats(total_xferred)