storage_iscsi_add_target
Add an iSCSI send target to an ESXi host and rescan storage to discover new LUNs.
Instructions
[WRITE] Add an iSCSI send target to an ESXi host and rescan storage.
Args: host_name: ESXi host name. address: iSCSI target IP address. port: iSCSI target port (default 3260). target: Optional vCenter/ESXi target name from config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| target | No | ||
| address | Yes | ||
| host_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |