Functions | |
| def | cim_pools_of_cim_sys_path |
| def | cim_pool_id_pros |
| def | pool_id_of_cim_pool |
| def | cim_pool_pros |
| def | cim_pool_to_lsm_pool |
| def | lsm_pool_to_cim_pool_path |
| def | pool_id_of_cim_vol |
Variables | |
| dictionary | _LSM_POOL_OP_STATUS_CONV |
| def plugin::smispy::smis_pool::cim_pool_id_pros | ( | ) |
Return a list of CIM_StoragePool properties required to generate lsm.Pool.id
Definition at line 84 of file smis_pool.py.
| def plugin::smispy::smis_pool::cim_pool_pros | ( | ) |
Return a list of CIM_StoragePool properties required to generate lsm.Pool.
Definition at line 102 of file smis_pool.py.
| def plugin::smispy::smis_pool::cim_pool_to_lsm_pool | ( | smis_common, | ||
| cim_pool, | ||||
| system_id | ||||
| ) |
Return a Pool object base on information of cim_pool. Assuming cim_pool already holding correct properties.
Definition at line 203 of file smis_pool.py.
| def plugin::smispy::smis_pool::cim_pools_of_cim_sys_path | ( | smis_common, | ||
| cim_sys_path, | ||||
property_list = None | ||||
| ) |
Use this association to get a list of CIM_StoragePool:
CIM_ComputerSystem
|
| (CIM_HostedStoragePool)
|
v
CIM_StoragePool
As 'Block Services Package' is mandatory for 'Array' profile which already
checked by plugin_register(), we don't do any profile check here.
Primordial pool will be eliminated from return list.
These pools will be eliminated also:
* Spare pool with CIM_StoragePool['Usage'] == dmtf.POOL_USAGE_SPARE
* IBM ArrayPool(IBMTSDS_ArrayPool)
* IBM ArraySitePool(IBMTSDS_ArraySitePool)
Definition at line 22 of file smis_pool.py.
| def plugin::smispy::smis_pool::lsm_pool_to_cim_pool_path | ( | smis_common, | ||
| lsm_pool | ||||
| ) |
Convert lsm.Pool to CIMInstanceName of CIM_StoragePool using lsm.Pool.plugin_data
Definition at line 233 of file smis_pool.py.
| def plugin::smispy::smis_pool::pool_id_of_cim_pool | ( | cim_pool | ) |
Definition at line 92 of file smis_pool.py.
| def plugin::smispy::smis_pool::pool_id_of_cim_vol | ( | smis_common, | ||
| cim_vol_path | ||||
| ) |
Find out the lsm.Pool.id of CIM_StorageVolume
Definition at line 251 of file smis_pool.py.
| dictionary _LSM_POOL_OP_STATUS_CONV |
{
dmtf.OP_STATUS_OK: Pool.STATUS_OK,
dmtf.OP_STATUS_ERROR: Pool.STATUS_ERROR,
dmtf.OP_STATUS_DEGRADED: Pool.STATUS_OK | Pool.STATUS_DEGRADED,
dmtf.OP_STATUS_NON_RECOVERABLE_ERROR: Pool.STATUS_ERROR,
dmtf.OP_STATUS_SUPPORTING_ENTITY_IN_ERROR: Pool.STATUS_ERROR,
}
Definition at line 185 of file smis_pool.py.
1.6.1