u-root / iscsinl

Go iSCSI initiator netlink library
BSD 3-Clause "New" or "Revised" License
16 stars 6 forks source link
golang iscsi iscsi-initiator netlink

iscsinl

CircleCI Go Report Card GoDoc

Go iSCSI netlink library

TODO

Currently, after establishing a successful iscsi session with target, iscsinl scans all LUNS i.e uses wild card - - - while writing to /sys/class/scsi_host/host%d/scan. The three - - - stand for channel, SCSI target ID, and LUN, where - means all.

In future we would like the iscsnl initiator code to accept LUN as an input argument just like initiatorName, so that user can customize which LUN s(he) wants to be scanned.