|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalControllerAPI
Local controller resource interface.
Method Summary | |
---|---|
boolean |
destroyVirtualMachine(String id)
Routine to destroy a virtual machine. |
boolean |
migrateVirtualMachine(MigrationRequest migrationRequest)
Routine to migrate a virtual machine. |
boolean |
resumeVirtualMachine(String id)
Routine to resume a virtual machine. |
boolean |
shutdownNode()
Routine to shutdown the host. |
boolean |
shutdownVirtualMachine(String id)
Routine to shutdown a virtual machine. |
boolean |
startVirtualMachine(VirtualMachineMetaData virtualMachineMetaData)
Start a virtual machine. |
boolean |
startVirtualMachineMonitoring(VirtualMachineMetaData virtualMachineMetaData)
Starts virtual machine montitoring. |
boolean |
suspendNodeToBoth()
Routine to suspend the local controller to disk. |
boolean |
suspendNodeToDisk()
Routine to suspend the local controller to disk. |
boolean |
suspendNodeToRam()
Routine to suspend the local controller to ram. |
boolean |
suspendVirtualMachine(String id)
Routine to suspend a virtual machine. |
Method Detail |
---|
@Post(value="?startVirtualMachine") boolean startVirtualMachine(VirtualMachineMetaData virtualMachineMetaData)
virtualMachineMetaData
- The virtual machine description
@Post(value="?suspendVirtualMachine") boolean suspendVirtualMachine(String id)
id
- The virtual machine identifier
@Post(value="?resumeVirtualMachine") boolean resumeVirtualMachine(String id)
id
- The virtual machine identifier
@Post(value="?shutdownVirtualMachine") boolean shutdownVirtualMachine(String id)
id
- The virtual machine identifier
@Post(value="?destroyVirtualMachine") boolean destroyVirtualMachine(String id)
id
- The virtual machine identifier
@Post(value="?migrateVirtualMachine") boolean migrateVirtualMachine(MigrationRequest migrationRequest)
migrationRequest
- The migration request
@Get(value="?suspendNodeToRam") boolean suspendNodeToRam()
@Get(value="?suspendNodeToBoth") boolean suspendNodeToDisk()
@Get(value="?suspendNodeToBoth") boolean suspendNodeToBoth()
@Get(value="?shutdownNode") boolean shutdownNode()
@Post(value="?startVirtualMachineMonitoring") boolean startVirtualMachineMonitoring(VirtualMachineMetaData virtualMachineMetaData)
virtualMachineMetaData
- The virtual machine meta data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |