Commit Graph

29 Commits

Author SHA1 Message Date
Kevin Scott Adams 32d243b872 Transfer the patch do not cut and paste
- My bad

Change-Id: Ic0db22e16feb3e42c4af70426e2afe5775d46400
Signed-off-by: Kevin Scott Adams <kevin.adams@ksatechnologies.com>
2018-07-30 23:24:55 -04:00
Kevin Scott Adams a6906fe4d6 Merge branch 'master' of https://github.com/TheGrandWazoo/freenas-proxmox.git 2018-07-30 22:49:12 -04:00
Kevin Scott Adams 458549ae2a - Updates and enhancements to pve-manager and pve-docs
Updates for pve-manager 5.2-6 and pve-docs 5.2-5. Fixes issue #13.
Added some functionality to the js code to be selective on the FreeNAS
fields only when FreeNAS-API is chosen. Fixes issue #14.
2018-07-30 22:48:37 -04:00
Kevin Scott Adams ad0864bd2d
Merge pull request #11 from 1300webpro/multipath
Adds a function to return NAA
2018-07-16 17:13:57 -04:00
Tristan Lostroh cce719afb7 Add a function to return NAA
Adds a function to return NAA. This is required to match the WWID for multipath
2018-07-16 09:16:10 +10:00
Kevin Scott Adams cde040aeca
Merge pull request #8 from GNU-tech/master
Support for SSL access to FreeNAS API
2018-07-11 21:09:22 -04:00
Krzysztof Raczkowski bc463f1229 Updated README. 2018-07-11 12:43:08 +02:00
Krzysztof Raczkowski d3c477c40d Support for SSL access to FreeNAS API. 2018-07-11 12:41:19 +02:00
Krzysztof Raczkowski 5f339dfce5 Refreshing pvemanagerlib.js.patch to apply clean on PVE 5.2-5. 2018-07-11 12:15:57 +02:00
Kevin Scott Adams a29328e7fa Undef $iscsi_lunid in FreeNAS.pm on line 457
- The perl code was creating a new variable in the ‘if’ code block by
using 'my' at the beginning of the assignment at line 452. Once the code
exited this block that variable was released and now defaulted to the
main block variable at line 441 which is still set to 'undef'. Removing
the 'my' from the assignment line allowed the code to use the main block
$iscsi_lunid variable.

Fixes issue #7
2018-07-09 15:38:54 -04:00
Kevin Scott Adams 23990fc008 Add tainted checking to iscsi_lunid
- So we do not have to change the /usr/bin/pvedaemon a small fix to
check the $item->{'iscsi_target'} varaible from the API call is needed.
This closes issue #3.
2018-06-26 15:00:09 -04:00
Kevin Scott Adams 1943a454a2 Small README.md update
- And the removed files did not take place on the last commit.
2018-06-10 23:07:40 -04:00
Kevin Scott Adams 4289fb28b5 Use the librest-client-perl package
- Why repo something that is already part of a package in the debian
system. Both files are exact except for one whilespace.
2018-06-10 23:04:04 -04:00
Kevin Scott Adams 09c33308ff
Merge pull request #1 from eugene-chow/master
Merge Eugene's changes to my repo
2018-06-07 15:24:49 -04:00
Eugene Chow 45e3a2c615 Added backup flag to patch command 2018-06-04 15:14:22 +08:00
Eugene Chow 041a44681d Updated README 2018-06-04 15:12:28 +08:00
Eugene Chow 4438cdae9d Converted README to markdown 2018-06-04 15:07:33 +08:00
Eugene Chow 25fcda3598 Fixed malfunctioning patches 2018-06-04 15:06:36 +08:00
Kevin Scott Adams 0261bac9ec Forgot to add the destination of the Client.pm
- Just added the directory for the Client.pm
- Also a disclosure of the '-T' option for PERL
2018-05-24 11:34:13 -04:00
Kevin Scott Adams 23ffbe46d0 Last commit did not include the apidoc.js patch
- Needed to added the file before I did the commit and push.
2018-05-24 11:00:17 -04:00
Kevin Scott Adams 5be1c4ecfa Updated for new Proxmox 5.2
- Updated patch files for Proxmox 5.2 changes
- Updated README for some newer instructions.
- Added change to the API viewer so the freenas_user and
freenas_password show on the 'edit' dialog.
2018-05-24 10:57:59 -04:00
Kevin Scott Adams 6510170216 Add the FreeNAS Username and Password fields to the GUI
- Currently the fields show up in the GUI but no values are populated.
2018-04-18 14:30:18 -04:00
Kevin Scott Adams ad8ca3aca8 Obtain the FreeNAS username and password values from storage.cfg
- Added the ability to process two new fields in the storage.cfg under
an iSCSI configuration.
   freenas_user <username>
   freenas_password <password>
No more editing the FreeNAS.pm file
2018-04-18 14:27:19 -04:00
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