summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add vhost.spec2.2upstreamNicholas Bellinger2013-07-301-0/+11
| | | | Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>
* rtslib: Change copyright to Apache License 2.0Nicholas Bellinger2013-07-0421-892/+303
| | | | | | | | | This patch converts rtslib code copyright from AGPL to the permissive Apache License 2.0. It also update copyright owner to Datera, Inc. Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>
* rtslib: Add NetworkPortal delete to disable iser attributeNicholas Bellinger2013-04-111-0/+11
| | | | Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>
* rtslib: Add support for iser get/set attribute in NetworkPortal classNicholas Bellinger2013-04-111-0/+21
| | | | Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>
* rtslib: make write_protect=0 create read-only mapped LUNsJan Engelhardt2013-03-121-4/+5
| | | | | | | | The write_protect parameter was incorrectly parsed so that whenever it was specified, even with the value 0, it set the mapped LUN read-only. cd /iscsi/iqn.0000-00.a.b/tpgt1/acls/iqn.0000-00.de.suse:foo create tpg_lun=0 mapped_lun=0 write_protect=0
* src: orthographic fixesJan Engelhardt2013-03-126-26/+26
| | | | The correct form is "instantiation".
* Updated scsi path<->hctl utils for PSCSI TYPE_DISK/TYPE_ROM on modern kernelsJerome Martin2013-03-121-31/+14
| | | | | | | | | * Functions rtslib.utils.convert_scsi_path_to_hctl() and rtslib.utils.convert_scsi_hctl_to_path() were using '/sys/class/scsi_device/$SCSI_HCTL/device/block/$SCSI_DEVICE/' which is now absent from modern kernels. Now using '/sys/block/$SCSI_DEVICE/device/scsi_device/$SCSI_HCTL' which is present in both 2.6x and all 3.x kernels.
* Fixup debian/copyright to refer to correct licenseHannes Reinecke2013-01-181-3/+4
| | | | | | | | The package is distributed under the GNU Affero GPL, so the debian copyright file should refer to the correct license. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>
* Update ib_srpt.spec:wwn_from_files_filter formattingJerome Martin2012-05-081-1/+1
| | | | | | | | | | Update ib_srpt.spec usage for mainline /sys/kernel/config/target/srpt/$SRPT_WWPN formatting to use the GUID '0xfe00' prefix instead of the original '0x0000'. http://permalink.gmane.org/gmane.linux.scsi.target.devel/1513 Reported-by: Marcus Sorensen <shadowsor@gmail.com>
* Made NetworkPortal's port argument optionalJerome Martin2012-05-081-3/+3
| | | | * Defaults to 3260
* NodeACL tcq_depth now uses RTSLibErrorJerome Martin2012-05-081-1/+5
|
* Added ZFS ZVols to list of accepted TYPE_DISKJerome Martin2012-05-081-0/+1
| | | | * Added major number 230 to the list.
* Do not append newline when setting auth attributeJerome Martin2012-05-071-1/+1
|
* Added generic auth attributes support in CFSNodeJerome Martin2012-05-072-87/+47
| | | | | * Merges Node ACLs auth to use it * Allows support of recently added TPGT auth attributes
* Removed deb build depend on python version.Jerome Martin2011-12-212-2/+2
| | | | | | * Used to require both python2.5 and python2.6 installed, now we just want python. * Minor spacing fix in rules file.
* Removed stale space in parameters set.Jerome Martin2011-12-051-1/+1
|
* Fixed _list_mapped_luns for FC and future layoutsJerome Martin2011-11-011-1/+4
| | | | | | | * Added $FC_TARGET_WWPN/acls/$FC_INITIATOR_WWPN/[node,port]_name to exclusion cases for fetching mapped LUNs configfs groups * Also added a test (for future layout, but slower) on whether of not the mapped LUN is indeed a directory.
* Reject empty WWNs from fabric specfile statementsJerome Martin2011-11-011-2/+6
| | | | | * Rejects empty of space-only WWNs generated with wwn_from_files or wwn_from_cmd statements, before filtering.
* Added gzipped kernel fabric modules support.Jerome Martin2011-11-011-2/+8
| | | | | | * Now looks for any module name no matter what the file extension is, i.e. *.ko.gz not just *.ko on the filesystem. * Reported by Arch Linux user "Johannes Dewender" <arch@jonnyjd.net>
* Removed full git log from packages changelogs.Jerome Martin2011-11-011-22/+20
|
* Fixed HTML docsJerome Martin2011-10-192-4/+0
| | | | * A broken sed command was corrupting the files.
* Cleaned up packagingJerome Martin2011-10-197-36/+11
| | | | | | | | | | | * Merged doc with main package. * Not generating pdf anymore, HTML doc is better and cross-referenced anyway and the PDF generation was too dependent on LaTeX distributions which caused endless issues on several systems. * Renamed redhat/ into rpm/, as we also try to aim for SuSe compat, so the old name wasn't making sense anymore. * Added install prefix explicitely to specfile, needed on OpenSuSe, whose default is /usr/local instead of /usr
* Normalized release archive generation.Jerome Martin2011-09-221-2/+9
| | | | | | | | | | | | * Now using gzip -n to compress the release tarball. * Forcing gzip compression level to 6. * Setting the timestamp for all files in the archive to the last commit's one. * Feeding a sorted list of files to tar. * Forcing numerid UIDs in tarball and original owner/group to be uid 0. * Forcing gnu archive format. * Forcing blocking factor. * Forcing name quoting style. * Preserves git archive permissions.
* Moved doc generation to packaging scripts.2.1Jerome Martin2011-09-223-21/+22
| | | | | * Doc requires version, so must be built from release tarball. * Building doc with package allows for clean build dependencies.
* Fixed alignment in debian/python-rtslib.installJerome Martin2011-09-211-2/+2
|
* Cleaned up setup.pyJerome Martin2011-09-211-11/+10
| | | | | * Removed old vim config line. * Removed useless empty line.
* Now make preserves spaces for version in specfile.Jerome Martin2011-09-211-1/+1
|
* Now using ${NAME} everywhere sensible in Makefile.Jerome Martin2011-09-211-5/+5
|
* Now using a tarball-release based Makefile.Jerome Martin2011-09-214-169/+114
| | | | | | | | | | | | * Removed useless obsolete targets (setup.py based) * Merged doc generation in Makefile (removed bin/gendoc). * Merged version templating in Makefile (removed bin/gen_changelog*). * Added 'release' make target that generates a dist/*.tar.gz official versionned release tarball from which one can just use setup.py, dpkg-buildpackage or rpmbuild (no Makefile in it). * Now the 'rpm' and 'deb' Makefile targets use the generated release build. * Makefile commands now use no echo mode. * Added timestamps for virtual targets.
* Clarified utils.list_eth_ips() docstring.2.0Jerome Martin2011-09-161-3/+4
|
* Added git URLs to README.Jerome Martin2011-09-161-0/+4
|
* Updated version numbering code.Jerome Martin2011-09-151-18/+3
| | | | | | | | | * Now uses 'git describe --tags' output, just replacing dashes with dots for compatibility with RPM version numbers. * For coherency, RPM and debian version numbers are now the same. * Removed the timestamp, as it is not needed anymore (even when reordering commits, the version is non-ambiguous, as for non-tagged commits we have part of the last commit hash and the number of commits since last tag).
* Now uses the passed ifnames in list_eth_ips().Jerome Martin2011-09-131-1/+1
| | | | * Thanks to Andy Grover for spotting this bug.
* Fixed the RPM make target: work on current branch.Jerome Martin2011-07-191-1/+2
|
* utils: moved threading, Queue imports to top.Jerome Martin2011-07-191-3/+2
|
* target: moved configobj, doctest imports to top.Jerome Martin2011-07-191-5/+4
|
* In utils.list_eth_ips, added check for IPv4/IPv6.Jerome Martin2011-07-181-5/+9
| | | | | * Was trying to get IPv6 addresses even if none existed. Fixed that. * Was trying to get IPv4 addresses even if none existed. Fixed that.
* Added IPv6 support for network portals.Jerome Martin2011-06-104-22/+50
| | | | | | * utils.list_eth_ips() now lists ipv4 and ipv6 * Added IPv6 network portal syntax for path creation * Added python-netifaces and python-ipaddr depends (rpm + deb)
* Added has_feature() to NodeACL.Jerome Martin2011-06-091-0/+5
|
* Added discovery auth support in fabric module.Jerome Martin2011-06-091-0/+115
|
* Raise RTSLibError on portal creation OSError.Jerome Martin2011-06-091-1/+4
| | | | * This way, we catch the message nicely.
* Added missing python-configobj require to specfileJerome Martin2011-06-091-0/+1
|
* Added IOError msg to failed set attribs/params.Jerome Martin2011-06-041-6/+8
|
* Added RTSLibNotInCFS exception class.1.99Jerome Martin2011-05-263-6/+16
| | | | | | * Using it when trying to lookup an object that does not exist. * Also raised when trying to call a method for an object whose configFS counterpart has been deleted (in _check_self()).
* Added sed inplace tmp files to clean.Jerome Martin2011-05-181-1/+1
|
* Fixed typo in module loading error message.Jerome Martin2011-05-171-2/+2
|
* Fixed typo/regression on backstore deletion.Jerome Martin2011-05-161-1/+1
| | | | * Regression from c5578a5597e62b682382d1890d02dbe78d87da2a
* Makefile cleanup: verbosity, remove tmp dir.Jerome Martin2011-05-151-2/+3
|
* Fixed RPM doc location.Jerome Martin2011-05-151-3/+3
|
* For RPM build, include docs and proper version.1.95Jerome Martin2011-05-153-2/+25
|