storage_iscsi_status
Retrieve the software iSCSI adapter state and configured send targets for an ESXi host. Verify prerequisites before enabling iSCSI or adding targets, and confirm changes have taken effect.
Instructions
[READ] Get the software iSCSI adapter state and configured send targets for an ESXi host.
Returns {host, enabled, hba_device, iqn, send_targets: [{address, port}]}; when the adapter is disabled, enabled=false with null device/IQN and an empty target list. No side effects. Use this before storage_iscsi_enable / storage_iscsi_add_target / storage_iscsi_remove_target to check prerequisites, and afterwards to verify the change took effect.
Args: host_name: ESXi host name exactly as shown in vCenter inventory (FQDN or IP). Errors if not found. target: Optional vCenter/ESXi target name from config; omit to use the default target.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| host_name | Yes |