0e30b3121d
api: get rid of moved 'usb' call
...
pve-manger commit bd328734deb1dcea296858bb38d085e392adb99e changed the frontend
to use the new call.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com >
2021-06-08 15:19:36 +02:00
405b247168
api: scan: note that USB is depreacated
...
It now got moved in /nodes/<node>/hardware/usb as envisioned[0], this
allows to sunset the usb scan API endpoint here and drop it with 7.0
[0]: https://lists.proxmox.com/pipermail/pve-devel/2018-November/034694.html
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2020-12-02 11:31:06 +01:00
39fc0c77e2
api/cli: add pbs scan endpoint and command
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2020-12-01 19:22:47 +01:00
b1ccf4f357
api: scan: move over index and usb scan from manager
...
Add the missing pieces allowing pve-manager to just point the
/nodes/<node>/scan api directory at this module, dropping it's
duplicated copy.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2020-12-01 19:22:47 +01:00
e65abdb458
api: scan cifs: port over NT_STATUS filter from pve-manager
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2020-12-01 19:22:47 +01:00
2892b6739d
factor out scan CLI definition to real API module
...
we have a 1:1 copy of that code in pve-manager's PVE::API2::Scan,
which we can avoid by using a common module form pvesm CLI and the
API.
This is the first basic step of dropping the code duplication in
pve-manager.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2020-12-01 19:22:47 +01:00
a0965edde7
remove PVE/API2/Storage/Scan.pm
...
since those are now defined in pve-manager
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2018-11-19 13:20:04 +01:00
7963ba74bb
move Scan API calls from PVE/API2/Storage/Scan.pm to pvesm.pm
...
since the calls for the real API are defined now in pve-managers Scan.pm
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2018-11-19 13:20:04 +01:00
1e17594e74
add missing parameter descriptions
2018-08-09 09:52:44 +02:00
48dccd2fbe
cleanup return property descriptions
2018-08-09 09:29:10 +02:00
b9cfb8cac7
Add cifsscan to API
2018-03-16 12:07:14 +01:00
668f6d9faf
add lvmthinscan to CLI
2016-02-20 10:11:59 +01:00
d0ea89e564
prepare storage for lvmthin gui
...
this patch adds an lvmthin scan to the api, so that we can get a list
of thinpools for a specific vg via an api call
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2016-02-20 09:51:12 +01:00
584d97f646
implement zfsscan to list local zfs pools
2015-01-26 09:05:09 +01:00
3cf5e19edc
API: add scan method for glusterfs
2013-08-13 10:06:03 +02:00
6d64e9e065
fix lvmscan
2012-07-25 15:50:23 +02:00
5f642f73b8
add permission checks
2012-01-26 09:25:39 +01:00
b6cf0a6659
imported from svn 'pve-storage/pve2'
2011-08-23 07:43:03 +02:00