Definition at line 1612 of file simarray.py.
| def __init__ | ( | self, | ||
| statefile, | ||||
| timeout | ||||
| ) |
Definition at line 1673 of file simarray.py.
| def access_group_create | ( | self, | ||
| name, | ||||
| init_id, | ||||
| init_type, | ||||
| sys_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 2147 of file simarray.py.
| def access_group_delete | ( | self, | ||
| ag_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 2159 of file simarray.py.
| def access_group_initiator_add | ( | self, | ||
| ag_id, | ||||
| init_id, | ||||
| init_type, | ||||
flags = 0 | ||||
| ) |
Definition at line 2166 of file simarray.py.
| def access_group_initiator_delete | ( | self, | ||
| ag_id, | ||||
| init_id, | ||||
| init_type, | ||||
flags = 0 | ||||
| ) |
Definition at line 2175 of file simarray.py.
| def access_groups_granted_to_volume | ( | self, | ||
| vol_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 2213 of file simarray.py.
| def ags | ( | self | ) |
Definition at line 2143 of file simarray.py.
| def disks | ( | self | ) |
Definition at line 1788 of file simarray.py.
| def exports | ( | self, | ||
flags = 0 | ||||
| ) |
Definition at line 2115 of file simarray.py.
| def fs | ( | self | ) |
Definition at line 1947 of file simarray.py.
| def fs_child_dependency | ( | self, | ||
| fs_id, | ||||
| files, | ||||
flags = 0 | ||||
| ) |
Definition at line 2075 of file simarray.py.
| def fs_child_dependency_rm | ( | self, | ||
| fs_id, | ||||
| files, | ||||
flags = 0 | ||||
| ) |
Assuming API defination is break all clone relationship and remove all snapshot of this source file system.
Definition at line 2086 of file simarray.py.
| def fs_clone | ( | self, | ||
| src_fs_id, | ||||
| dst_fs_name, | ||||
| snap_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 1987 of file simarray.py.
| def fs_create | ( | self, | ||
| pool_id, | ||||
| fs_name, | ||||
| size_bytes, | ||||
flags = 0, |
||||
_internal_use = False | ||||
| ) |
Definition at line 1951 of file simarray.py.
| def fs_delete | ( | self, | ||
| fs_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 1970 of file simarray.py.
| def fs_export | ( | self, | ||
| fs_id, | ||||
| exp_path, | ||||
| root_hosts, | ||||
| rw_hosts, | ||||
| ro_hosts, | ||||
| anon_uid, | ||||
| anon_gid, | ||||
| auth_type, | ||||
| options, | ||||
flags = 0 | ||||
| ) |
Definition at line 2119 of file simarray.py.
| def fs_file_clone | ( | self, | ||
| fs_id, | ||||
| src_fs_name, | ||||
| dst_fs_name, | ||||
| snap_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 2011 of file simarray.py.
| def fs_resize | ( | self, | ||
| fs_id, | ||||
| new_size_bytes, | ||||
flags = 0 | ||||
| ) |
Definition at line 1978 of file simarray.py.
| def fs_snapshot_create | ( | self, | ||
| fs_id, | ||||
| snap_name, | ||||
flags = 0 | ||||
| ) |
Definition at line 2039 of file simarray.py.
| def fs_snapshot_delete | ( | self, | ||
| fs_id, | ||||
| snap_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 2049 of file simarray.py.
| def fs_snapshot_restore | ( | self, | ||
| fs_id, | ||||
| snap_id, | ||||
| files, | ||||
| restore_files, | ||||
| flag_all_files, | ||||
| flags | ||||
| ) |
Definition at line 2059 of file simarray.py.
| def fs_snapshots | ( | self, | ||
| fs_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 2032 of file simarray.py.
| def fs_unexport | ( | self, | ||
| exp_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 2130 of file simarray.py.
| def iscsi_chap_auth | ( | self, | ||
| init_id, | ||||
| in_user, | ||||
| in_pass, | ||||
| out_user, | ||||
| out_pass, | ||||
flags = 0 | ||||
| ) |
Definition at line 2221 of file simarray.py.
| def job_free | ( | self, | ||
| job_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 1708 of file simarray.py.
| def job_status | ( | self, | ||
| job_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 1688 of file simarray.py.
| def pool_member_info | ( | self, | ||
| lsm_pool | ||||
| ) |
Definition at line 2295 of file simarray.py.
| def pools | ( | self, | ||
flags = 0 | ||||
| ) |
Definition at line 1767 of file simarray.py.
| def systems | ( | self | ) |
Definition at line 1731 of file simarray.py.
| def target_ports | ( | self | ) |
Definition at line 2239 of file simarray.py.
| def time_out_get | ( | self, | ||
flags = 0 | ||||
| ) |
Definition at line 1721 of file simarray.py.
| def time_out_set | ( | self, | ||
| ms, | ||||
flags = 0 | ||||
| ) |
Definition at line 1715 of file simarray.py.
| def volume_child_dependency | ( | self, | ||
| vol_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 1901 of file simarray.py.
| def volume_child_dependency_rm | ( | self, | ||
| vol_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 1928 of file simarray.py.
| def volume_create | ( | self, | ||
| pool_id, | ||||
| vol_name, | ||||
| size_bytes, | ||||
| thinp, | ||||
flags = 0, |
||||
_internal_use = False, |
||||
_is_hw_raid_vol = 0 | ||||
| ) |
The '_internal_use' parameter is only for SimArray internal use. This method will return the new sim_vol id instead of job_id when '_internal_use' marked as True.
Definition at line 1794 of file simarray.py.
| def volume_delete | ( | self, | ||
| vol_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 1818 of file simarray.py.
| def volume_disable | ( | self, | ||
| vol_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 1893 of file simarray.py.
| def volume_enable | ( | self, | ||
| vol_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 1885 of file simarray.py.
| def volume_mask | ( | self, | ||
| ag_id, | ||||
| vol_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 2185 of file simarray.py.
| def volume_raid_create | ( | self, | ||
| name, | ||||
| raid_type, | ||||
| disks, | ||||
| strip_size | ||||
| ) |
Definition at line 2327 of file simarray.py.
| def volume_raid_create_cap_get | ( | self, | ||
| system | ||||
| ) |
Definition at line 2317 of file simarray.py.
| def volume_raid_info | ( | self, | ||
| lsm_vol | ||||
| ) |
Definition at line 2243 of file simarray.py.
| def volume_replicate | ( | self, | ||
| dst_pool_id, | ||||
| rep_type, | ||||
| src_vol_id, | ||||
| new_vol_name, | ||||
flags = 0 | ||||
| ) |
Definition at line 1838 of file simarray.py.
| def volume_replicate_range | ( | self, | ||
| rep_type, | ||||
| src_vol_id, | ||||
| dst_vol_id, | ||||
| ranges, | ||||
flags = 0 | ||||
| ) |
Definition at line 1867 of file simarray.py.
| def volume_replicate_range_block_size | ( | self, | ||
| sys_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 1859 of file simarray.py.
| def volume_resize | ( | self, | ||
| vol_id, | ||||
| new_size_bytes, | ||||
flags = 0 | ||||
| ) |
Definition at line 1826 of file simarray.py.
| def volume_unmask | ( | self, | ||
| ag_id, | ||||
| vol_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 2194 of file simarray.py.
| def volumes | ( | self | ) |
Definition at line 1747 of file simarray.py.
| def volumes_accessible_by_access_group | ( | self, | ||
| ag_id, | ||||
flags = 0 | ||||
| ) |
Definition at line 2203 of file simarray.py.
Definition at line 1677 of file simarray.py.
int ID_FMT = 5 [static] |
Definition at line 1616 of file simarray.py.
tuple SIM_DATA_FILE [static] |
os.getenv("LSM_SIM_DATA", tempfile.gettempdir() + '/lsm_sim_data')
Definition at line 1613 of file simarray.py.
Definition at line 1679 of file simarray.py.
Definition at line 1680 of file simarray.py.
1.6.1