Change in ovirt-engine[master]: Add VdsPowerDown command and use it in Power saving policy

dfediuck at redhat.com dfediuck at redhat.com
Tue Jan 14 22:03:24 UTC 2014


Doron Fediuck has submitted this change and it was merged.

Change subject: Add VdsPowerDown command and use it in Power saving policy
......................................................................


Add VdsPowerDown command and use it in Power saving policy

This adds a new command that can shut a host down in a nice
way. It first tries to use SSH to execute /sbin/poweroff and
if that fails it falls back to power management and cuts the
power.

Change-Id: Iccb9064dcfc9c20901d32a550354d66bbb0cc863
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1035238
Signed-off-by: Martin Sivak <msivak at redhat.com>
---
A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsPowerDownCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/policyunits/PowerSavingBalancePolicyUnit.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VdcActionType.java
A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VdsPowerDownParameters.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
5 files changed, 167 insertions(+), 2 deletions(-)

Approvals:
  Martin Sivák: Verified
  Doron Fediuck: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/22520
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iccb9064dcfc9c20901d32a550354d66bbb0cc863
Gerrit-PatchSet: 12
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Itamar Heim <iheim at redhat.com>
Gerrit-Reviewer: Leonardo Bianconi <leonardo.bianconi at eldorado.org.br>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list