storage_iscsi_status
Retrieve the software iSCSI adapter state and send targets for an ESXi host. Use to verify prerequisites before enabling or modifying iSCSI targets, and to confirm changes after configuration.
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. 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. No host listing here — get names from vmware-monitor list_esxi_hosts. target: Optional vCenter/ESXi target name from config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| host_name | Yes |