lsm_system_list - Man Page
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
- conn
- Valid connection. 
- systems[]
- Output pointer of lsm_system array. Returned data should be freed by lsm_system_record_array_free. 
- system_count
- uint32_t. Number of systems. 
- flags
- 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.