Top

Module infi.storagemodel.unix


Index

Classes

class UnixStorageModel

Ancestors (in MRO)

Descendents

Class variables

var predicates

var rescan_subprocess_timeout

Instance variables

var rescan_process

var rescan_process_start_time

Methods

def __init__(

self)

def get_disk(

self)

Returns a infi.storagemodel.base.disk.DiskModel object which represents the disks layer

def get_mount_manager(

self)

def get_mount_repository(

self)

def get_native_multipath(

self)

Returns a infi.storagemodel.base.multipath.MultipathFrameworkModel object, as seen by the operating system's built-in MPIO driver

def get_scsi(

self)

Returns a infi.storagemodel.base.scsi.SCSIModel object which represents the SCSI layer

def get_utils(

self)

Returns an instance of infi.storagemodel.base.utils.Utils

def get_veritas_multipath(

self)

Returns a infi.storagemodel.base.multipath.MultipathFrameworkModel object, as seen by the operating system's built-in MPIO driver

def refresh(

self)

clears the model cache

def rescan_and_wait_for(

self, predicate=None, timeout_in_seconds=60, **rescan_kwargs)

Rescan devices and poll the predicate until either it returns True or a timeout is reached.

The model is refreshed automatically, there is no need to refresh after calling this method or in the implementation of the predicate.

predicate: a callable object that returns either True or False.

timeout_in_seconds: time in seconds to poll the predicate.

rescan_kwargs: additional keyword arguments to pass to _initiate_rescan.

Raises infi.storagemodel.errors.TimeoutError exception if the timeout is reached.

def rescan_method(

self)

def retry_rescan(

self, **rescan_kwargs)

def terminate_rescan_process(

self, silent=False)

Sub-modules

infi.storagemodel.unix.filesystem

infi.storagemodel.unix.mount

infi.storagemodel.unix.utils

infi.storagemodel.unix.veritas_multipath


Documentation generated by pdoc 0.2.3. pdoc is in the public domain with the UNLICENSE.