4ee404466d
Current FC tries to limit the scanning range by detecting the target and channel, unfortunately this code has a good number of implementation issues: - Matching uses local WWNN instead of target's WWPN. - Not using a shell to run the command, so the * glob won't expand. - Not using -l on grep command to list file names instead of contents. - Not making the search case insensitive. This patch fixes all these issues by using the target's WWPNs instead -taking into account FC Zone/Access control information if present- and supporting both possible connection information formats for the WWPNs (single value or list of values). Rescan tests have been modified to adhere to unit tests best practices, where each test case only tests the specific code in the method under test and mocks everything else. Closes-Bug: #1664653 Closes-Bug: #1684996 Closes-Bug: #1687607 Change-Id: Ib539f6a3652bab4399c30cd90f326829e839ec02 |
||
---|---|---|
doc/source | ||
etc/os-brick/rootwrap.d | ||
os_brick | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
babel.cfg | ||
bindep.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