[pve-devel] [v2 manager 14/27] pveceph: add removestorage CLI command
Fabian Grünbichler
f.gruenbichler at proxmox.com
Tue Aug 29 13:04:36 CEST 2017
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
identical to v1
note: should we name this 'removestorageS' instead?
PVE/CLI/pveceph.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/CLI/pveceph.pm b/PVE/CLI/pveceph.pm
index 01663167..1b6999fe 100755
--- a/PVE/CLI/pveceph.pm
+++ b/PVE/CLI/pveceph.pm
@@ -187,6 +187,7 @@ our $cmddef = {
printf "%-${maxlen}s %s\n", $p->{storage}, $p->{krbd} ? 'Yes' : 'No';
}
}],
+ removestorage => [ 'PVE::API2::Ceph', 'removestorage', ['name'], { node => $nodename } ],
createosd => [ 'PVE::API2::CephOSD', 'createosd', ['dev'], { node => $nodename }, $upid_exit],
destroyosd => [ 'PVE::API2::CephOSD', 'destroyosd', ['osdid'], { node => $nodename }, $upid_exit],
createmon => [ 'PVE::API2::Ceph', 'createmon', [], { node => $nodename }, $upid_exit],
--
2.11.0
More information about the pve-devel
mailing list