0 comments (0 comments)0 reactions (0 reactions)0 assignees (0 assignees)Python972 stars (972 stars)914 forks (914 forks)batch import
help wantedsample request
Description
- Demonstrate how to connect an ESXi host to an iSCSI device.
- Demonstrate connecting a virtual machine to a VMDK on the iSCI device.
- Demonstrate connecting a VM to an iSCI device.
- Issue type
- feature
- Research direction
- This issue requests a sample script to connect an ESXi host to an iSCSI device and attach a VMDK to a VM. The pyVmomi library has host storage management APIs (e.g., HostStorageSystem) that can be used to configure iSCSI adapters and discover targets. Existing samples in the repository (e.g., other storage related ones) may provide patterns. A contributor should explore the pyVmomi documentation for HostStorageSystem methods like AddInternetScsiSendTargets, RescanAllHba, and methods to attach a virtual disk. The deliverable is a standalone Python script demonstrating the flow.