Peach :: Agent :: vm :: Vmware :: Class Vmware
[hide private]

Class Vmware

source code


Control a vmware server instance to start/revert the target vm.

Instance Methods [hide private]
 
__init__(self, args)
Start VM
source code
 
OnFault(self)
On a fault, restart VM to save point.
source code
 
OnShutdown(self)
Shutdown vm
source code

Inherited from agent.Monitor: DetectedFault, GetMonitorData, OnTestFinished, OnTestStarting, StopRun

Method Details [hide private]

__init__(self, args)
(Constructor)

source code 

Start VM

Parameters:
  • args - Dictionary of parameters
Overrides: agent.Monitor.__init__

OnFault(self)

source code 

On a fault, restart VM to save point.

Overrides: agent.Monitor.OnFault

OnShutdown(self)

source code 

Shutdown vm

Overrides: agent.Monitor.OnShutdown