We made assumptions in the fibre channel connector code that there was only ever a single lun per volume, even with many wwns per connections. There is need to support multiple luns per multipath device, similar to how the iSCSI volumes work. What we do is allow a list for 'target_luns' and 'target_wwns' in the connection properties, similar to how the iSCSI connector treats things like 'target_portals', 'target_luns', etc. we then group together 'targets' as combination of wwpns and the lun associated with them. This grouping is used to through the attach and detach workflow now to determine dev paths and scsi target information for rescans. All existing calls with 'target_lun' and 'target_wwn' will continue working as before, the new plural keys are optional. Change-Id: I393a028457a162228666d8497b695984fefdfab4 Closes-Bug: #1774293
13 KiB
13 KiB