]> git.proxmox.com Git - pve-manager.git/commit
ceph: move create/destroy pool to CephTools
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 23 Nov 2018 11:01:37 +0000 (12:01 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 23 Nov 2018 12:33:12 +0000 (13:33 +0100)
commitf96d7012929284ab935524ad064846b0198366a6
tree4dd9e11d9bdf1aaa44ab3200394d3797d2bc6539
parent33a9c70a4573f43d664be2cc050fa7952da317c9
ceph: move create/destroy pool to CephTools

We will reuse this in the future, e.g., when creating a data and
metadata pool for CephFS.

Allow to pass a $rados object (to reuse it, as initializing is not
that cheap) but also create it if it's undefined, fro convenience.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Ceph.pm
PVE/CephTools.pm