ba2569855d
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 |
||
---|---|---|
doc/source | ||
etc/os-brick/rootwrap.d | ||
os_brick | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
babel.cfg | ||
bindep.txt | ||
lower-constraints.txt | ||
pylintrc | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
brick
OpenStack Cinder brick library for managing local volume attaches
Features
- Discovery of volumes being attached to a host for many transport protocols.
- Removal of volumes from a host.
Hacking
Hacking on brick requires python-gdbm (for Debian derived distributions), Python 2.7 and Python 3.4. A recent tox is required, as is a recent virtualenv (13.1.0 or newer).
If "tox -e py34" fails with the error "db type could not be determined", remove the .testrepository/ directory and then run "tox -e py34".
- For any other information, refer to the developer documents:
- OR refer to the parent project, Cinder:
- License: Apache License, Version 2.0
- Source: https://git.openstack.org/cgit/openstack/os-brick
- Bugs: https://bugs.launchpad.net/os-brick