Package enomalism2 :: Module machine
[hide private]

Module machine

machine - Holds abstractions related to virtual machines in Enomalism.


Requires:

Status: Stable

Classes [hide private]
  ActualMachine
This base class represents the actual machine that is running.
  DummyMachine
A simple machine that can be created on the fly.
  Machine
An abstraction representing a machine in Enomalism.
Variables [hide private]
turbogears.database.PackageHub hub = PackageHub('enomalism2')
The Enomalism database connection hub.
turbogears.database.PackageHub __connection__ = PackageHub('enomalism2')
The actual database connection.
Integer STATE_NONE = 0
A none machine state.
Integer STATE_RUNNING = 1
A running machine state.
Integer STATE_BLOCKED = 2
A blocked machine state.
Integer STATE_PAUSED = 3
A paused machine state.
Integer STATE_SHUTDOWN = 4
A shutdown machine state.
Integer STATE_OFF = 5
A off machine state.
Integer STATE_CRASHED = 6
A crashed machine state.
Integer STATE_UNKNOWN = 7
A unknown machine state.
Integer STATE_UNAVAILABLE = 32
A unavailable machine state.
Integer STATE_HOST_DOWN = 64
A host down machine state.
Integer STATE_UNMANAGED = STATE_RUNNING | STATE_UNAVAILABLE
A unmanaged machine state.
Float DEFAULT_LOCKER_DELAY = 0.25
The locker delay.