Change in ovirt-engine[master]: core: Allow skipping vm command execution
ofrenkel at redhat.com
ofrenkel at redhat.com
Wed Nov 26 15:30:36 UTC 2014
Omer Frenkel 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
Signed-off-by: Omer Frenkel <ofrenkel at 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/35602
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I290055f759afcc554d1f49fac12455ae18d2d194
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
More information about the Engine-commits
mailing list