LMI_MountedFileSystem

Python Provider for LMI_MountedFileSystem

LMI_MountedFileSystem

class openlmi.storage.LMI_MountedFileSystem.LMI_MountedFileSystem(*args, **kwargs)[source]

Instrument the CIM class LMI_MountedFileSystem

Class for representing mounted filesystems. Can be thought of as either an entry in /etc/mtab, or in /etc/fstab, according to its associated LMI_MountedFileSystemSetting.

__init__(*args, **kwargs)[source]

Initialize the provider. Store reference to blivet.Blivet. Store reference to StorageConfiguration. Register at given ProviderManager.

delete_instance(env, instance_name)[source]

Delete an instance.

enum_instances(*args, **kwargs)[source]

Enumerate instances.

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]

Provider implementation of GetInstance intrinsic method.

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__

set_instance(env, instance, modify_existing)[source]

Return a newly created or modified instance.

Table Of Contents

Previous topic

LMI_MDRAIDStorageExtent

Next topic

LMI_MountPoint

This Page