Francesco Romani has posted comments on this change. Change subject: migration: added support for convergance schedule ......................................................................
Patch Set 8: (1 comment) https://gerrit.ovirt.org/#/c/46940/8/vdsm/virt/migration.py File vdsm/virt/migration.py: Line 121: self._use_convergence_schedule = False Line 122: if 'convergenceSchedule' in kwargs: Line 123: # example convergence schedule Line 124: # [[], [1, ["setDowntime", [10]]], [4, ["abort", []]]] Line 125: schedule = json.loads(kwargs.get('convergenceSchedule')) > I was thinking about it but AFAIK the VDSM approach is to explode on incorr exploding is fine as long as it is planned :) Let's start with JSON exceptions, wrapping exceptions into another is a practice we usually avoid until clearly needed Line 126: self._use_convergence_schedule = True Line 127: Line 128: self._convergence_schedule = ( Line 129: [ -- To view, visit https://gerrit.ovirt.org/46940 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I989cff12d08ef1cab36bd10df7daaa999a8dac14 Gerrit-PatchSet: 8 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Tomas Jelinek <[email protected]> Gerrit-Reviewer: Francesco Romani <[email protected]> Gerrit-Reviewer: Tomas Jelinek <[email protected]> Gerrit-Reviewer: gerrit-hooks <[email protected]> Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
