Commit Graph

156 Commits

Author SHA1 Message Date
Kevin Scott Adams af42dfd008 Change iscsi_lunid values of 'undef' to 0 (zero)
- In FreeNAS 11.1 it seems like a Lun of 0 becomes 'Auto'. When the API
returns the targent_to_extent data any Lun of "Auto" become 'undef' and
causes issues and errors in the syslog. This change corrects this
behavior. Have tested with adding, detaching, removing and "Moving Disk"
functions of Proxmox version 5.1-51.
2018-04-18 13:53:29 -04:00
Kevin Scott Adams 6931f4a232 - Code formatting and whitespace cleanup
Just conformed to a certain coding, space and comment that was already
in the code for better readability.
2018-04-18 12:59:44 -04:00
Andrew Beam f3c51d8e8a
fix problem with more than 20 LUNs
Disable FreeNAS API result limits
2017-12-08 14:12:54 +01:00
Beam 3797983e1a fix sort luns numerically 2017-10-12 15:23:59 +02:00
Andrew Beam ac809e4c71 Create README 2017-06-09 16:21:19 +02:00
Ondrej Bima d91ec2d0b8 first commit 2017-05-19 12:15:42 +02:00