
Tal Nisan has submitted this change and it was merged. Change subject: core: Allow skipping vm command execution ...................................................................... core: Allow skipping vm command execution This patch adds an easy way to skip vm command execution, by overriding 'shouldSkipCommandExecution' method, we can mark the command not to run can-do-action and execute code. the command will just finish as succeeded and operation will be logged. in change-id: I75925d528cca52603660d5a7ec6c5c871304f3d0 there is an example of usage for the 'stop down vm' scenario. Change-Id: I290055f759afcc554d1f49fac12455ae18d2d194 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1168304 Signed-off-by: Omer Frenkel <ofrenkel@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmCommand.java 1 file changed, 26 insertions(+), 0 deletions(-) Approvals: Omer Frenkel: Verified Arik Hadas: Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/35610 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I290055f759afcc554d1f49fac12455ae18d2d194 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.5 Gerrit-Owner: Omer Frenkel <ofrenkel@redhat.com> Gerrit-Reviewer: Arik Hadas <ahadas@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofrenkel@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: automation@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server