Top

Module infi.storagemodel.vmware.patches.storagemodel


Index

Module variables

var MULTIPATH_TOPOLOGY_PROPERTY_PATH

var PROPERTY_COLLECTOR_KEY

var SCSI_LUNS_PROPERTY_PATH

var SCSI_TOPOLOGY_PROPERTY_PATH

Functions

def byte_array_to_string(

byte_array)

def format_stack_trace(

f, limit=None)

def get_stack_trace(

)

def install_property_collectors_on_client(

client)

def number_to_ubint16_buffer(

number)

def with_host(

client, host)

Classes

class StorageModelFactory

Class variables

var models_by_greenlet

var models_by_host_value

Methods

def clear(

cls)

def create(

cls, client, hostsystem)

def get(

cls)

def get_id(

cls)

def set(

cls, value)

class VMwareHostSCSIModel

Ancestors (in MRO)

Methods

def filter_vendor_specific_devices(

self, devices, vid_pid_tuple)

Returns only the items from the devices list that are of the specific type

def find_scsi_block_device_by_block_access_path(

self, path)

Returns a infi.storagemodel.base.scsi.SCSIBlockDevice object that matches the given path. :raises: KeyError if no such device is found

def find_scsi_block_device_by_hctl(

self, get_hctl)

Returns a infi.storagemodel.base.scsi.SCSIBlockDevice object that matches the given get_hctl. Raises KeyError if no such device is found.

def find_scsi_block_device_by_scsi_access_path(

self, path)

Returns infi.storagemodel.base.scsi.SCSIBlockDevice object that matches the given path. Raises KeyError if no such device is found.

def get_all_enclosure_devices(

self)

Returns a list of all infi.storagemodel.base.scsi.SCSIEnclosure objects.

def get_all_scsi_block_devices(

self)

def get_all_storage_controller_devices(

self)

class VMwareHostStorageModel

Ancestors (in MRO)

Class variables

var predicates

Methods

def __init__(

self, client, moref)

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=300, **rescan_kwargs)

def retry_rescan(

self, **rescan_kwargs)

class VMwareInquiryInformationMixin

Ancestors (in MRO)

Descendents

Methods

def get_scsi_ata_information(

self)

Returns the SCSI ata information of the device as a dict of dicts for SATL and identify device

def get_scsi_inquiry_pages(

self)

def get_scsi_product_id(

self)

def get_scsi_revision(

self)

Returns the stripped T10 revision string, as give in SCSI Standard Inquiry

def get_scsi_serial_number(

self)

Returns the SCSI serial string of the device or an empty string ("") if not available

def get_scsi_standard_inquiry(

self)

def get_scsi_test_unit_ready(

self)

def get_scsi_vendor_id(

self)

def get_scsi_vendor_id_or_unknown_on_error(

self)

Returns ('', '') on unexpected error instead of raising exception

def get_scsi_vid_pid(

self)

Returns a tuple of the vendor_id and product_id

def get_scsi_vid_pid_rev(

self)

Returns a tuple of the vendor_id, product_id and revision

class VMwareInquiryPagesDict

Ancestors (in MRO)

  • infi.pyutils.lazy.LazyImmutableDict

Methods

def __init__(

self, dict, scsi_lun_data_object)

def has_key(

self, key)

def keys(

self)

class VMwareMultipathBlockDevice

Ancestors (in MRO)

Methods

def __init__(

self, client, host_moref, scsi_lun_data_object)

Inheritance: VMwareMultipathDevice.__init__

def asi_context(

*args, **kwds)

Returns an infi.asi context

def get_block_access_path(

self)

def get_canonical_name(

self)

Inheritance: VMwareMultipathDevice.get_canonical_name

def get_disk_drive(

self)

def get_display_name(

self)

Inheritance: VMwareMultipathDevice.get_display_name

def get_paths(

self)

Inheritance: VMwareMultipathDevice.get_paths

def get_policy(

self)

def get_scsi_ata_information(

self)

Inheritance: VMwareMultipathDevice.get_scsi_ata_information

Returns the SCSI ata information of the device as a dict of dicts for SATL and identify device

def get_scsi_inquiry_pages(

self)

Inheritance: VMwareMultipathDevice.get_scsi_inquiry_pages

def get_scsi_product_id(

self)

Inheritance: VMwareMultipathDevice.get_scsi_product_id

def get_scsi_revision(

self)

Inheritance: VMwareMultipathDevice.get_scsi_revision

Returns the stripped T10 revision string, as give in SCSI Standard Inquiry

def get_scsi_serial_number(

self)

Inheritance: VMwareMultipathDevice.get_scsi_serial_number

Returns the SCSI serial string of the device or an empty string ("") if not available

def get_scsi_standard_inquiry(

self)

Inheritance: VMwareMultipathDevice.get_scsi_standard_inquiry

def get_scsi_test_unit_ready(

self)

Inheritance: VMwareMultipathDevice.get_scsi_test_unit_ready

def get_scsi_vendor_id(

self)

Inheritance: VMwareMultipathDevice.get_scsi_vendor_id

def get_scsi_vendor_id_or_unknown_on_error(

self)

Inheritance: VMwareMultipathDevice.get_scsi_vendor_id_or_unknown_on_error

Returns ('', '') on unexpected error instead of raising exception

def get_scsi_vid_pid(

self)

Inheritance: VMwareMultipathDevice.get_scsi_vid_pid

Returns a tuple of the vendor_id and product_id

def get_scsi_vid_pid_rev(

self)

Inheritance: VMwareMultipathDevice.get_scsi_vid_pid_rev

Returns a tuple of the vendor_id, product_id and revision

def get_size_in_bytes(

self)

Inheritance: VMwareMultipathDevice.get_size_in_bytes

def get_uuid(

self)

Inheritance: VMwareMultipathDevice.get_uuid

def get_vendor(

self)

Returns a get_vendor-specific implementation from the factory based on the device's SCSI vid and pid

class VMwareMultipathDevice

Ancestors (in MRO)

Descendents

Methods

def __init__(

self, client, host_moref, scsi_lun_data_object)

def get_canonical_name(

self)

def get_display_name(

self)

def get_paths(

self)

def get_scsi_ata_information(

self)

Inheritance: VMwareInquiryInformationMixin.get_scsi_ata_information

Returns the SCSI ata information of the device as a dict of dicts for SATL and identify device

def get_scsi_inquiry_pages(

self)

Inheritance: VMwareInquiryInformationMixin.get_scsi_inquiry_pages

def get_scsi_product_id(

self)

Inheritance: VMwareInquiryInformationMixin.get_scsi_product_id

def get_scsi_revision(

self)

Inheritance: VMwareInquiryInformationMixin.get_scsi_revision

Returns the stripped T10 revision string, as give in SCSI Standard Inquiry

def get_scsi_serial_number(

self)

Inheritance: VMwareInquiryInformationMixin.get_scsi_serial_number

Returns the SCSI serial string of the device or an empty string ("") if not available

def get_scsi_standard_inquiry(

self)

Inheritance: VMwareInquiryInformationMixin.get_scsi_standard_inquiry

def get_scsi_test_unit_ready(

self)

Inheritance: VMwareInquiryInformationMixin.get_scsi_test_unit_ready

def get_scsi_vendor_id(

self)

Inheritance: VMwareInquiryInformationMixin.get_scsi_vendor_id

def get_scsi_vendor_id_or_unknown_on_error(

self)

Inheritance: VMwareInquiryInformationMixin.get_scsi_vendor_id_or_unknown_on_error

Returns ('', '') on unexpected error instead of raising exception

def get_scsi_vid_pid(

self)

Inheritance: VMwareInquiryInformationMixin.get_scsi_vid_pid

Returns a tuple of the vendor_id and product_id

def get_scsi_vid_pid_rev(

self)

Inheritance: VMwareInquiryInformationMixin.get_scsi_vid_pid_rev

Returns a tuple of the vendor_id, product_id and revision

def get_size_in_bytes(

self)

def get_uuid(

self)

class VMwareMultipathStorageController

Ancestors (in MRO)

Methods

def __init__(

self, client, host_moref, scsi_lun_data_object)

Inheritance: VMwareMultipathDevice.__init__

def asi_context(

*args, **kwds)

Returns an infi.asi context

def get_canonical_name(

self)

Inheritance: VMwareMultipathDevice.get_canonical_name

def get_display_name(

self)

Inheritance: VMwareMultipathDevice.get_display_name

def get_multipath_access_path(

self)

def get_paths(

self)

Inheritance: VMwareMultipathDevice.get_paths

def get_policy(

self)

def get_scsi_ata_information(

self)

Inheritance: VMwareMultipathDevice.get_scsi_ata_information

Returns the SCSI ata information of the device as a dict of dicts for SATL and identify device

def get_scsi_inquiry_pages(

self)

Inheritance: VMwareMultipathDevice.get_scsi_inquiry_pages

def get_scsi_product_id(

self)

Inheritance: VMwareMultipathDevice.get_scsi_product_id

def get_scsi_revision(

self)

Inheritance: VMwareMultipathDevice.get_scsi_revision

Returns the stripped T10 revision string, as give in SCSI Standard Inquiry

def get_scsi_serial_number(

self)

Inheritance: VMwareMultipathDevice.get_scsi_serial_number

Returns the SCSI serial string of the device or an empty string ("") if not available

def get_scsi_standard_inquiry(

self)

Inheritance: VMwareMultipathDevice.get_scsi_standard_inquiry

def get_scsi_test_unit_ready(

self)

Inheritance: VMwareMultipathDevice.get_scsi_test_unit_ready

def get_scsi_vendor_id(

self)

Inheritance: VMwareMultipathDevice.get_scsi_vendor_id

def get_scsi_vendor_id_or_unknown_on_error(

self)

Inheritance: VMwareMultipathDevice.get_scsi_vendor_id_or_unknown_on_error

Returns ('', '') on unexpected error instead of raising exception

def get_scsi_vid_pid(

self)

Inheritance: VMwareMultipathDevice.get_scsi_vid_pid

Returns a tuple of the vendor_id and product_id

def get_scsi_vid_pid_rev(

self)

Inheritance: VMwareMultipathDevice.get_scsi_vid_pid_rev

Returns a tuple of the vendor_id, product_id and revision

def get_size_in_bytes(

self)

Inheritance: VMwareMultipathDevice.get_size_in_bytes

def get_uuid(

self)

Inheritance: VMwareMultipathDevice.get_uuid

def get_vendor(

self)

Returns a get_vendor-specific implementation from the factory based on the device's SCSI vid and pid

class VMwareNativeMultipathModel

Ancestors (in MRO)

Methods

def __init__(

self, client, moref)

def filter_non_multipath_scsi_block_devices(

self, scsi_block_devices)

Returns an empty list since there no non-multipath devices on VMware

def filter_non_multipath_scsi_storage_controller_devices(

self, scsi_controller_devices)

Returns an empty list since there no non-multipath devices on VMware

def filter_vendor_specific_devices(

self, devices, vid_pid_tuple)

Returns only the items from the devices list that are of the specific type

def find_multipath_device_by_block_access_path(

self, path)

Returns infi.storagemodel.base.multipath.MultipathBlockDevice object that matches the given path.

Raises KeyError if no such device is found.

def get_all_multipath_block_devices(

self)

def get_all_multipath_storage_controller_devices(

self)

class VMwarePath

Ancestors (in MRO)

Methods

def __init__(

self, client, host_moref, lun_key, path_data_object)

def get_connectivity(

self)

def get_display_name(

self)

Returns the path name (currently the same as get_path_id).

def get_hctl(

self)

def get_io_statistics(

self)

def get_path_id(

self)

def get_state(

self)

class VMwareVeritasMultipathFrameworkModel

Ancestors (in MRO)

Methods

def __init__(

self, client, moref)

def filter_non_multipath_scsi_block_devices(

self, scsi_block_devices)

Returns items from the list that are not part of multipath devices claimed by this framework

def filter_non_multipath_scsi_storage_controller_devices(

self, scsi_controller_devices)

Returns items from the list that are not part of multipath devices claimed by this framework

def filter_vendor_specific_devices(

self, devices, vid_pid_tuple)

Returns only the items from the devices list that are of the specific type

def find_multipath_device_by_block_access_path(

self, path)

Returns infi.storagemodel.base.multipath.MultipathBlockDevice object that matches the given path.

Raises KeyError if no such device is found.

def get_all_multipath_block_devices(

self)

def get_all_multipath_storage_controller_devices(

self)


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