]> git.proxmox.com Git - pve-manager.git/commit - PVE/API2/Ceph.pm
fix #1465: use a combobox for the crush rule instead of the id
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 31 Jul 2017 13:15:27 +0000 (15:15 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 31 Jul 2017 13:25:34 +0000 (15:25 +0200)
commitd2692b86e2e2d22d082857ec1a5fc50dabce7ead
tree11e6a94310d21a61ca894e8bf9541808fbcc71d6
parent2db28c036e604e40e6c6416718d69490182b686c
fix #1465: use a combobox for the crush rule instead of the id

this patch does a few things

1. we introduce a new api call /nodes/nodename/ceph/rules
   which gets us a list of crush rules

2. we introduce a new CephRuleSelector which is a simple combobox
   with the data from the api call ceph/rules

3. we use this in the create pool window

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Ceph.pm
www/manager6/ceph/Pool.js
www/manager6/window/Edit.js