Scroll to navigation

lsm_system_list(3) Libstoragemgmt C API Manual lsm_system_list(3)

NAME

lsm_system_list - Gets a list of systems on this connection.

SYNOPSIS

int lsm_system_list (lsm_connect *conn, lsm_system **systems[], uint32_t *system_count, lsm_flag flags);

ARGUMENTS

Valid connection.
Output pointer of lsm_system array. Returned data should be freed by lsm_system_record_array_free.
uint32_t. Number of systems.
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

VERSION

1.0

DESCRIPTION

Gets a list of systems on this connection. A system represents a storage array or direct attached storage RAID. Examples include:
* A hardware RAID card: LSI MegaRAID, HP SmartArray.
* A storage area network (SAN): EMC VNX, NetApp Filer
* A software solution running on commodity hardware: Linux targetd,
Nexenta

System properties could be retrieved by these functions:
* lsm_system_id_get
* lsm_system_name_get
* lsm_system_status_get
* lsm_system_fw_version_get
* lsm_system_read_cache_pct_get
* lsm_system_mode_get

RETURN

Error code as enumerated by 'lsm_error_number'.
* LSM_ERR_OK
On success or searched value not found.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or invalid flags.

lsm_system_list April 2023