pyanaconda.modules.storage.checker.checker_interface

Classes

StorageCheckerInterface

DBus interface for the storage checker module.

Module Contents

class pyanaconda.modules.storage.checker.checker_interface.StorageCheckerInterface[source]

Bases: pyanaconda.modules.common.base.base_template.InterfaceTemplate

DBus interface for the storage checker module.

SetConstraint(name, value)[source]

Set a constraint to a new value.

Supported constraints:

min_ram Minimal size of the total memory in bytes. swap_is_recommended Recommend to specify a swap partition.

Parameters:
  • name (str) – a name of the existing constraint

  • value (Variant) – a value of the constraint

Raise:

UnsupportedValueError if the constraint is not supported