lsm_capabilities - Man Page

Query the capabilities of the storage array.

Synopsis

int lsm_capabilities (lsm_connect *conn, lsm_system *system, lsm_storage_capabilities **cap, lsm_flag flags);

Arguments

conn

Valid lsm_connect pointer.

system

System of interest

cap

Output pointer of lsm_storage_capabilities. The storage array capabilities. The returned value must be freed with a call to lsm_capability_record_free.

flags

Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

Version

1.0

Description

Query the capabilities of the storage array. Capability is used to indicate whether certain functionality is supported by specified storage system. Please check desired function for required capability. To verify capability is supported, use lsm_capability_supported. If the functionality is not listed in the enumerated capability type (lsm_capability_type) then that functionality is mandatory and required to exist.

Return

Error code as enumerated by 'lsm_error_number'.
   * LSM_ERR_OK
       On success.
   * LSM_ERR_INVALID_ARGUMENT
       When any argument is NULL or not a valid lsm_connect pointer
       or not a valid lsm_system or invalid flags.
   * LSM_ERR_NOT_FOUND_SYSTEM
       When the specified system does not exist.

Info

April 2023 Libstoragemgmt C API Manual