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()
encryption_passphrase
luks_devs
min_entropy
passphrases
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.

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

Bases: object

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

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

Module contents