Top

Module infi.storagemodel.windows


Index

Classes

class WindowsStorageModel

Ancestors (in MRO)

Class variables

var predicates

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 retry_rescan(

self, **rescan_kwargs)

Sub-modules

infi.storagemodel.windows.device_helpers

infi.storagemodel.windows.device_mixin

infi.storagemodel.windows.disk

infi.storagemodel.windows.filesystem

infi.storagemodel.windows.mount

infi.storagemodel.windows.native_multipath

infi.storagemodel.windows.partition

infi.storagemodel.windows.scsi

infi.storagemodel.windows.tests

infi.storagemodel.windows.utils


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