pyanaconda.modules.storage.partitioning.base_interface

Classes

PartitioningInterface

DBus interface for a partitioning module.

Module Contents

class pyanaconda.modules.storage.partitioning.base_interface.PartitioningInterface[source]

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

DBus interface for a partitioning module.

property PartitioningMethod: Str[source]

Type of the partitioning method.

Returns:

a name of the method

Return type:

Str

GetDeviceTree()[source]

Get the device tree.

Returns:

a DBus path to a device tree

Return type:

ObjPath

ConfigureWithTask()[source]

Schedule the partitioning actions.

Returns:

a DBus path to a task

Return type:

ObjPath

ValidateWithTask()[source]

Validate the scheduled partitioning.

Run sanity checks on the current storage model to verify if the partitioning is valid.

The result of the task is a validation report.

Returns:

a DBus path to a task

Return type:

ObjPath