commit ba2569855d2f4a2a639205ed73cf20cdd3abda10
Author: Patrick East <email address hidden>
Date: Mon Jul 16 10:31:52 2018 -0700
FC Allow for multipath volumes with different LUNs
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.
Reviewed: https:/ /review. openstack. org/571332 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=ba2569855d2 f4a2a639205ed73 cf20cdd3abda10
Committed: https:/
Submitter: Zuul
Branch: master
commit ba2569855d2f4a2 a639205ed73cf20 cdd3abda10
Author: Patrick East <email address hidden>
Date: Mon Jul 16 10:31:52 2018 -0700
FC Allow for multipath volumes with different LUNs
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: I393a028457a162 228666d8497b695 984fefdfab4
Closes-Bug: #1774293