Package pyanaconda :: Package storage :: Module deviceaction
[hide private]
[frames] | no frames]

Module deviceaction

source code

Classes [hide private]
  DeviceAction
An action that will be carried out in the future on a Device.
  ActionCreateDevice
Action representing the creation of a new device.
  ActionDestroyDevice
An action representing the deletion of an existing device.
  ActionResizeDevice
An action representing the resizing of an existing device.
  ActionCreateFormat
An action representing creation of a new filesystem.
  ActionDestroyFormat
An action representing the removal of an existing filesystem.
  ActionResizeFormat
An action representing the resizing of an existing filesystem.
  ActionMigrateFormat
An action representing the migration of an existing filesystem.
Functions [hide private]
 
action_type_from_string(type_string) source code
 
action_object_from_string(type_string) source code
 
resize_type_from_string(type_string) source code
Variables [hide private]
  _ = lambda x:
  log = logging.getLogger("storage")
  ACTION_TYPE_NONE = 0
  ACTION_TYPE_DESTROY = 1000
  ACTION_TYPE_RESIZE = 500
  ACTION_TYPE_MIGRATE = 250
  ACTION_TYPE_CREATE = 100
  action_strings = {ACTION_TYPE_NONE: "None", ACTION_TYPE_DESTRO...
  ACTION_OBJECT_NONE = 0
  ACTION_OBJECT_FORMAT = 1
  ACTION_OBJECT_DEVICE = 2
  object_strings = {ACTION_OBJECT_NONE: "None", ACTION_OBJECT_FO...
  RESIZE_SHRINK = 88
  RESIZE_GROW = 89
  resize_strings = {RESIZE_SHRINK: "Shrink", RESIZE_GROW: "Grow"}
Variables Details [hide private]

action_strings

Value:
{ACTION_TYPE_NONE: "None", ACTION_TYPE_DESTROY: "Destroy", ACTION_TYPE\
_RESIZE: "Resize", ACTION_TYPE_MIGRATE: "Migrate", ACTION_TYPE_CREATE:\
 "Create"}

object_strings

Value:
{ACTION_OBJECT_NONE: "None", ACTION_OBJECT_FORMAT: "Format", ACTION_OB\
JECT_DEVICE: "Device"}