to avoid multiple configXXX endpoints for different things.

A new API endpoint is used: 'cfg' and the current 'config' and
'configdb' are moved there (first 2 patches). The result is
* cfg/
  * raw (formerly config)
  * db (formerly configdb)

The other patches from the previous series (adding a new key/value
endpoint and fixing #2515) are omitted as we can work on them later too.


changes since v2: some cleanup of unused imports

Aaron Lauterer (2):
  api: ceph: add ceph/cfg path, deprecate ceph/config and ceph/configdb
  ui: ceph config: use new ceph/cfg/ API endpoints

 PVE/API2/Ceph.pm            |  15 ++++-
 PVE/API2/Ceph/Cfg.pm        | 115 ++++++++++++++++++++++++++++++++++++
 PVE/API2/Ceph/Makefile      |   1 +
 www/manager6/ceph/Config.js |   4 +-
 4 files changed, 130 insertions(+), 5 deletions(-)
 create mode 100644 PVE/API2/Ceph/Cfg.pm

-- 
2.30.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to