blivet.static_data package

Submodules

blivet.static_data.luks_data module

class blivet.static_data.luks_data.LUKS_Data

Bases: object

Class to be used as a singleton. Maintains the LUKS data.

add_passphrase(passphrase)
add_passphrases(passphrases)
clear_passphrases()
property encryption_passphrase
property luks_devs
property min_entropy
property passphrases
property pbkdf_args
reset(passphrase=None, luks_dict=None)
save_passphrase(device)

Save a device’s LUKS passphrase in case of reset.

blivet.static_data.lvm_info module

class blivet.static_data.lvm_info.LVsInfo

Bases: object

Class to be used as a singleton. Maintains the LVs cache.

property cache
drop_cache()
class blivet.static_data.lvm_info.PVsInfo

Bases: object

Class to be used as a singleton. Maintains the PVs cache.

property cache
drop_cache()
class blivet.static_data.lvm_info.VGsInfo

Bases: object

Class to be used as a singleton. Maintains the VGs cache.

property cache
drop_cache()

blivet.static_data.mpath_info module

class blivet.static_data.mpath_info.MpathMembers

Bases: object

A cache for querying multipath member devices

drop_cache()
is_mpath_member(device)

Checks if the given device is a member of some multipath mapping or not.

Parameters:

device (str) – path of the device to query

update_cache(device)

Update the cache with the given device (checks and adds it is an mpath member)

Parameters:

device (str) – path of the device to check and add

blivet.static_data.stratis_info module

class blivet.static_data.stratis_info.StratisBlockdevInfo(path, uuid, pool_name, pool_uuid, object_path)

Bases: tuple

Create new instance of StratisBlockdevInfo(path, uuid, pool_name, pool_uuid, object_path)

object_path

Alias for field number 4

path

Alias for field number 0

pool_name

Alias for field number 2

pool_uuid

Alias for field number 3

uuid

Alias for field number 1

class blivet.static_data.stratis_info.StratisFilesystemInfo(name, uuid, used_size, pool_name, pool_uuid, object_path)

Bases: tuple

Create new instance of StratisFilesystemInfo(name, uuid, used_size, pool_name, pool_uuid, object_path)

name

Alias for field number 0

object_path

Alias for field number 5

pool_name

Alias for field number 3

pool_uuid

Alias for field number 4

used_size

Alias for field number 2

uuid

Alias for field number 1

class blivet.static_data.stratis_info.StratisInfo

Bases: object

Class to be used as a singleton. Maintains the Stratis devices info cache.

property blockdevs
drop_cache()
property filesystems
get_blockdev_info(bd_path)
get_filesystem_info(pool_name, fs_name)
get_pool_info(pool_name)
property locked_pools
property pools
class blivet.static_data.stratis_info.StratisLockedPoolInfo(uuid, key_desc, clevis, devices)

Bases: tuple

Create new instance of StratisLockedPoolInfo(uuid, key_desc, clevis, devices)

clevis

Alias for field number 2

devices

Alias for field number 3

key_desc

Alias for field number 1

uuid

Alias for field number 0

class blivet.static_data.stratis_info.StratisPoolInfo(name, uuid, physical_size, physical_used, object_path, encrypted, clevis)

Bases: tuple

Create new instance of StratisPoolInfo(name, uuid, physical_size, physical_used, object_path, encrypted, clevis)

clevis

Alias for field number 6

encrypted

Alias for field number 5

name

Alias for field number 0

object_path

Alias for field number 4

physical_size

Alias for field number 2

physical_used

Alias for field number 3

uuid

Alias for field number 1

Module contents