LMI_LVStorageExtent
”
Module for LMI_LVStorageExtent class.
LMI_LVStorageExtent
-
class openlmi.storage.LMI_LVStorageExtent.LMI_LVStorageExtent(*args, **kwargs)[source]
Provider of LMI_LVStorageExtent class.
-
__init__(*args, **kwargs)[source]
-
enumerate_devices(*args, **kwargs)[source]
Enumerate all StorageDevices, that this provider provides.
-
enumerate_settings(*args, **kwargs)[source]
This method returns iterable with all instances of LMI_*Setting
as Setting instances.
-
get_associated_element_name(*args, **kwargs)[source]
Return CIMInstanceName of ManagedElement for ElementSettingData
association for setting with given ID.
Return None if no such ManagedElement exists.
-
get_instance(*args, **kwargs)[source]
Add LV-specific properties.
-
get_setting_for_id(*args, **kwargs)[source]
Return Setting instance, which corresponds to LMI_*Setting with
given InstanceID.
Return None if there is no such instance.
Subclasses must override this method.
-
get_supported_setting_properties(*args, **kwargs)[source]
- Return hash property_name -> constructor.
- constructor is a function which takes string argument
and returns CIM value. (i.e. pywbem.Uint16
or bool or string etc).
This hash will be passed to SettingProvider.__init__
-
provides_device(*args, **kwargs)[source]
Returns True, if this class is provider for given Anaconda
StorageDevice class.