Top

Module infi.storagemodel.aix


Index

Classes

class AixStorageModel

Ancestors (in MRO)

Class variables

var predicates

var rescan_subprocess_timeout

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)

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.aix.mount

TODO no support for mounting yet - this file is a WIP

a good reference: http://www.datadisk.co.uk/html_docs/hp/aix_lvm.htm rough flow for mounting a scsi/multipath device (in this example hdisk38)

chdev -l hdisk38 -a pv=yes # make hdisk38 a physical volume extendvg rootvg ...

infi.storagemodel.aix.native_multipath

infi.storagemodel.aix.rescan

infi.storagemodel.aix.scsi


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