]> git.proxmox.com Git - pve-storage.git/commit - PVE/API2/Makefile
add api entries for disk management
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 23 Aug 2016 10:20:46 +0000 (12:20 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 5 Sep 2016 11:49:28 +0000 (13:49 +0200)
commit409f8203e0e3a4f53e19ab94df067be7d6ba735c
treeaf753dc2022b6b11d2d9530205510c0cbc3bd368
parentcbba9b5b9c92d1dccf7c041df255497c11e8c02d
add api entries for disk management

adds a new class (intended to be used under nodes in pve-manager)
which adds the three api calls: list, smart and init

list being a general list of the available disk with infos
smart being a call to get the smart data from a given device
init being a call to write a gpt header to an unused disk

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Disks.pm [new file with mode: 0644]
PVE/API2/Makefile