org.inria.myriads.snoozenode.localcontroller.powermanagement.shutdown.impl
Class IPMIShutdown
java.lang.Object
org.inria.myriads.snoozenode.localcontroller.powermanagement.shutdown.impl.IPMIShutdown
- All Implemented Interfaces:
- Shutdown
public final class IPMIShutdown
- extends Object
- implements Shutdown
Makes use of ipmitool to shutdown the system.
- Author:
- Eugen Feller
Method Summary |
boolean |
shutdown()
Turns the server off using the ipmitool call. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IPMIShutdown
public IPMIShutdown(ShellCommandExecuter executor)
- Constructor.
- Parameters:
executor
- The executor
shutdown
public boolean shutdown()
- Turns the server off using the ipmitool call.
- Specified by:
shutdown
in interface Shutdown
- Returns:
- true if everything ok, false otherwise
Copyright © 2012. All Rights Reserved.