modules.machinery.esx.ESX

Package modules :: Package machinery :: Module esx :: Class ESX |
[hide private]
[frames] | no frames]

# Class ESX

source code

                                  object --+
                                           |
       lib.cuckoo.common.abstracts.Machinery --+
                                               |
    lib.cuckoo.common.abstracts.LibVirtMachinery --+
                                                   |
                                                  ESX

Virtualization layer for ESXi/ESX based on python-libvirt.

Instance Methods | [hide private]
_initialize_check(self) Runs all checks when a machine manager is initialized. | source code
_auth_callback(self, credentials, user_data) | source code
_connect(self) Return the already-connected single connection handle if set, otherwise set it. | source code
_global_connect(self) Set the single connection handle. | source code
_disconnect(self, conn) Using one global connection we now disconnect in the destructor, ignore requests to disconnect. | source code
__del__(self) | source code
Inherited from `lib.cuckoo.common.abstracts.LibVirtMachinery`: `__init__`, `dump_memory`, `initialize`, `shutdown`, `start`, `stop` Inherited from `lib.cuckoo.common.abstracts.LibVirtMachinery` (private): `_fetch_machines`, `_get_snapshot`, `_list`, `_lookup`, `_status`, `_version_check` Inherited from `lib.cuckoo.common.abstracts.Machinery`: `acquire`, `availables`, `machines`, `pcap_path`, `release`, `running`, `set_options`, `set_status` Inherited from `lib.cuckoo.common.abstracts.Machinery` (private): `_get_resultserver_port`, `_initialize`, `_wait_status` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]
Inherited from `lib.cuckoo.common.abstracts.LibVirtMachinery`: `ABORTED`, `ERROR`, `PAUSED`, `POWEROFF`, `RUNNING` Inherited from `lib.cuckoo.common.abstracts.Machinery`: `LABEL`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### _initialize_check(self) | source code
Runs all checks when a machine manager is initialized. Raises: `CuckooMachineError` - if configuration is invalid Overrides: lib.cuckoo.common.abstracts.Machinery._initialize_check

### _connect(self) | source code
Return the already-connected single connection handle if set, otherwise set it. Raises: `CuckooMachineError` - when unable to connect to libvirt. Overrides: lib.cuckoo.common.abstracts.LibVirtMachinery._connect

### _disconnect(self, conn) | source code
Using one global connection we now disconnect in the destructor, ignore requests to disconnect. Raises: `CuckooMachineError` - if cannot disconnect from libvirt. Overrides: lib.cuckoo.common.abstracts.LibVirtMachinery._disconnect