freenas-proxmox/perl5/PVE/Storage
Kevin Scott Adams ac1c31f2d0 Added 302 and 307 code handlers on initial API connection and various
other changes.

- Add logic to freenas_api_connect to handle a '302 Found' which seems
to mean it does not handle v1.0 API's. Fixes #60.
- Add logic to freenas_api_connect to handle a '307 Temporary Redirect'
which is when the redirect http to https box is checked. Fixes #59.
- Redesign the RegEx that validates and pulls the version information
from the API system/version call. This is due to a format like
TrueNAS-12.0-BETA instead of [FreeNAS|TrueNAS]-12.0-U1.1. Also make sure
empty RegEx return variables are zero (0) so the version number that is
formulated is correct (e.g. 12000000, 11030302). Fixes #60.
- During testing needed to add a check due to the
api/v2.0/system/version returning a quoted string where
api/v1.0/system/version returned a JSON-format data.
- Tested against baremetal FreeNAS 11.3-U3.2 and virtual TrueNAS
12.0-BETA machines.
2020-07-07 11:14:30 -04:00
..
LunCmd Added 302 and 307 code handlers on initial API connection and various 2020-07-07 11:14:30 -04:00
.gitignore Update the FreeNAS-API related files to the latest Proxmox VE 2019-05-11 11:13:54 -04:00
ZFSPlugin-5.0-30.pm.patch Fix 'Parameter verification failed' when editing 2018-10-28 21:37:06 -04:00
ZFSPlugin-5.0-33_1.pm.hotfix.patch Fix ZFS error: Unrecognized command "list_extent" 2018-12-15 09:50:44 -05:00
ZFSPlugin-5.0-33_1.pm.patch Fix ZFS error: Unrecognized command "list_extent" 2018-12-15 09:50:44 -05:00
ZFSPlugin-5.0-34_1.pm.patch Update Proxmox VE patches to 5.3-6 2018-12-24 07:36:33 -05:00
ZFSPlugin-5.0-38_1.pm.patch Update to latest Proxmox VE update 2019-02-26 21:28:15 -05:00
ZFSPlugin-5.0-42_1.pm.patch Update the FreeNAS-API related files to the latest Proxmox VE 2019-05-11 11:13:54 -04:00
ZFSPlugin-5.0-44_1.pm.patch Patches created for latest 5.4 branch of Proxmox VE 2019-08-05 18:02:01 -04:00
ZFSPlugin-6.0-6_1.pm.patch Updated patches for the latest Proxmox VE updates and added donation 2019-08-07 22:57:22 -04:00
ZFSPlugin-6.0-8_1.pm.patch Update patch sets 2019-10-13 13:03:43 -04:00
ZFSPlugin-6.0-9_1.pm.patch Update patch sets 2019-10-13 13:03:43 -04:00
ZFSPlugin.pm.patch Merge branch 'master' of 2019-10-22 21:18:35 -04:00