Functions | |
def | cim_vol_id_pros |
def | vol_id_of_cim_vol |
def | cim_vol_pros |
def | cim_vol_of_cim_pool_path |
def | cim_vol_to_lsm_vol |
def | lsm_vol_to_cim_vol_path |
def | volume_name_exists |
def | volume_create_error_handler |
def plugin::smispy::smis_vol::cim_vol_id_pros | ( | ) |
Return the property of CIM_StorageVolume required to generate lsm.Volume.id
Definition at line 31 of file smis_vol.py.
def plugin::smispy::smis_vol::cim_vol_of_cim_pool_path | ( | smis_common, | ||
cim_pool_path, | ||||
property_list = None | ||||
) |
Use this association to get a list of CIM_StorageVolume: CIM_StoragePool | | CIM_AllocatedFromStoragePool | v CIM_StorageVolume CIM_StorageVolume['Usage'] == dmtf.VOL_USAGE_SYS_RESERVED will be filtered out. Return a list of CIM_StorageVolume.
Definition at line 65 of file smis_vol.py.
def plugin::smispy::smis_vol::cim_vol_pros | ( | ) |
Return the PropertyList required for creating new lsm.Volume.
Definition at line 53 of file smis_vol.py.
def plugin::smispy::smis_vol::cim_vol_to_lsm_vol | ( | cim_vol, | ||
pool_id, | ||||
sys_id | ||||
) |
Takes a CIMInstance that represents a volume and returns a lsm Volume
Definition at line 177 of file smis_vol.py.
def plugin::smispy::smis_vol::lsm_vol_to_cim_vol_path | ( | smis_common, | ||
lsm_vol | ||||
) |
Convert lsm.Volume to CIMInstanceName of CIM_StorageVolume using lsm.Volume.plugin_data
Definition at line 201 of file smis_vol.py.
def plugin::smispy::smis_vol::vol_id_of_cim_vol | ( | cim_vol | ) |
Get lsm.Volume.id from CIM_StorageVolume['DeviceID'] and ['SystemName']
Definition at line 39 of file smis_vol.py.
def plugin::smispy::smis_vol::volume_create_error_handler | ( | smis_common, | ||
method_data, | ||||
exec_info = None | ||||
) |
When we got CIMError, we check whether we got a duplicate volume name. The method_data is the requested volume name.
Definition at line 233 of file smis_vol.py.
def plugin::smispy::smis_vol::volume_name_exists | ( | smis_common, | ||
volume_name | ||||
) |
Try to minimize time to search. :param volume_name: Volume ElementName :return: True if volume exists with 'name', else False
Definition at line 219 of file smis_vol.py.