os-brick/os_brick
Patrick East ba2569855d 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: I393a028457a162228666d8497b695984fefdfab4
Closes-Bug: #1774293
2018-07-16 10:31:52 -07:00
..
encryptors Make close on cryptsetup volumes idempotent 2017-11-18 00:19:42 +00:00
initiator FC Allow for multipath volumes with different LUNs 2018-07-16 10:31:52 -07:00
local_dev Remove the unnecessary pv_list assign during LVM object init 2018-01-11 00:59:31 +00:00
privileged Refactor iSCSI connect 2017-06-16 16:09:35 +02:00
remotefs Stop ignoring H405 hacking rule in tox 2017-05-24 00:44:57 +02:00
tests FC Allow for multipath volumes with different LUNs 2018-07-16 10:31:52 -07:00
__init__.py doc: Remove cruft from conf.py 2017-08-08 15:44:29 +01:00
exception.py Refactor iSCSI connect 2017-06-16 16:09:35 +02:00
executor.py iSCSI multipath: improve logging on connect 2017-06-26 20:31:59 +02:00
i18n.py Update and replace http with https for doc links 2017-07-26 02:18:44 +00:00
utils.py Mask passwords in utils.trace for func params 2016-11-08 12:55:46 -05:00
version.py Add reno for release notes management 2016-01-20 19:19:36 -06:00