|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Contract public interface OsInterface
Interface responsible for all OS specific tasks like suspending and resuming machines
| Method Summary | |
|---|---|
String |
groupId()
Returns the current serverPool id |
String |
macAddressGen()
Generates a new unique mac address |
Map<String,String> |
populateMacToIpsTable(PhysicalServerPool group)
populate the ip to mac address map |
void |
resume(Machine machine)
resume the target machine |
void |
suspend(Machine machine)
Suspend the target machine |
String |
userId()
Returns the current user id |
| Method Detail |
|---|
void suspend(Machine machine)
throws IOException
machine - the target machine
IOException - if the command fails to executeAndWait
void resume(Machine machine)
throws IOException
machine - the target machine
IOException - if the command fails to executeAndWaitMap<String,String> populateMacToIpsTable(PhysicalServerPool group)
String macAddressGen()
String userId()
String groupId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||