LocalFileSystemProvider
”
Module for LocalFileSystemProvider.
LocalFileSystemProvider
-
class openlmi.storage.LocalFileSystemProvider.LocalFileSystemProvider(*args, **kwargs)[source]
Abstract provider for local filesystems.
Each provider must have .device_type property, which represents
blivet.formats.<DeviceFormat child>.type of format it
represents.
-
__init__(*args, **kwargs)[source]
-
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]
Get instance.
Subclasses should override this method, the default implementation
just check if the instance exists.
-
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.
-
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__