pyanaconda.modules.storage.snapshot.snapshot_interface

Classes

SnapshotInterface

DBus interface for the snapshot module.

Module Contents

class pyanaconda.modules.storage.snapshot.snapshot_interface.SnapshotInterface[source]

Bases: pyanaconda.modules.common.base.KickstartModuleInterfaceTemplate

DBus interface for the snapshot module.

IsRequested(when)[source]

Are there requests for snapshots of the given type?

Types of the requests:

0 Post-installation snapshots. 1 Pre-installation snapshots.

Parameters:

when (Int) – a type of the requests

Returns:

True or False

Return type:

Bool

CreateWithTask(when)[source]

Create ThinLV snapshots.

Types of the snapshots:

0 Post-installation snapshots. 1 Pre-installation snapshots.

Parameters:

when (Int) – a type of the requests

Returns:

a DBus path to a task

Return type:

ObjPath