1lsm_access_group_initiator_Ldieblsettoer(a3g)emgmt ClAsPmI_aMcacneusasl_group_initiator_delete(3)
2
3
4
6 lsm_access_group_initiator_delete - Deletes an initiator from an access
7 group
8
10 int lsm_access_group_initiator_delete (lsm_connect *conn, lsm_ac‐
11 cess_group *access_group, const char *initiator_id, lsm_ac‐
12 cess_group_init_type init_type, lsm_access_group **updated_ac‐
13 cess_group, lsm_flag flags);
14
16 conn Valid lsm_connect pointer.
17
18 access_group
19 Pointer of lsm_access_group to modify.
20
21 initiator_id
22 String. Initiator id to be deleted from group.
23
24 init_type lsm_access_group_init_type. Valid initiator types are: *
25 LSM_ACCESS_GROUP_INIT_TYPE_ISCSI_IQN
26 iSCSI IQN. * LSM_ACCESS_GROUP_INIT_TYPE_WWPN
27 FC WWPN
28
29 updated_access_group
30 Output pointer of the updated lsm_access_group. Returned
31 value must be freed with lsm_access_group_record_free.
32
33 flags Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
34
36 1.0
37
39 Delete an initiator to the specified access group.
40
42 LSM_CAP_ACCESS_GROUP_INITIATOR_DELETE
43
45 Error code as enumerated by 'lsm_error_number'.
46 * LSM_ERR_OK
47 On success.
48 * LSM_ERR_INVALID_ARGUMENT
49 When any argument is NULL or not a valid lsm_connect pointer
50 or invalid flags or invalid lsm_access_group pointer or
51 illegal initiator or invalid init_type.
52 * LSM_ERR_NOT_FOUND_ACCESS_GROUP
53 When access group not found.
54 * LSM_ERR_NO_STATE_CHANGE
55 When specified initiator is not in specified access group.
56 * LSM_ERR_LAST_INIT_IN_ACCESS_GROUP
57 When specified initiator is the last initiator in specified
58 access group. Please use lsm_access_group_delete instead.
59 * LSM_ERR_NO_SUPPORT
60 Not supported.
61
62
63
64November 2021 lsm_access_group_iniltsima_taocrc_edsesl_egtreoup_initiator_delete(3)