vSphere/ESXi machinery class based on pyVmomi Python SDK.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_get_virtual_machines(self,
conn)
Iterate over all VirtualMachine managed objects on vSphere host |
source code
|
|
|
|
_get_virtual_machine_by_label(self,
conn,
label)
Return the named VirtualMachine managed object |
source code
|
|
|
|
_get_snapshot_by_name(self,
vm,
name)
Return the named VirtualMachineSnapshot managed object for a virtual
machine |
source code
|
|
|
|
_get_snapshot_power_state(self,
vm,
name)
Return the power state for a named VirtualMachineSnapshot object |
source code
|
|
|
|
_create_snapshot(self,
vm,
name)
Create named snapshot of virtual machine |
source code
|
|
|
|
_delete_snapshot(self,
vm,
name)
Remove named snapshot of virtual machine |
source code
|
|
|
|
_revert_snapshot(self,
vm,
name)
Revert virtual machine to named snapshot |
source code
|
|
|
|
_download_snapshot(self,
conn,
vm,
name,
path)
Download snapshot file from host to local path |
source code
|
|
|
|
_stop_virtual_machine(self,
vm)
Power off a virtual machine |
source code
|
|
|
|
_wait_task(self,
task)
Wait for a task to complete with timeout |
source code
|
|
|
|
_traverseSnapshots(self,
root)
Recursive depth-first traversal of snapshot tree |
source code
|
|
|
Inherited from lib.cuckoo.common.abstracts.Machinery:
acquire,
availables,
initialize,
machines,
pcap_path,
release,
running,
set_options,
set_status,
shutdown
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|