]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: add schedule_level to image API for pool/cluster snapshot schedule 67442/head
authorImran Imtiaz <imran.imtiaz@uk.ibm.com>
Fri, 20 Feb 2026 10:57:15 +0000 (10:57 +0000)
committerImran Imtiaz <imran.imtiaz@uk.ibm.com>
Fri, 20 Feb 2026 14:49:28 +0000 (14:49 +0000)
commit542875a100cbfc3cb85499783d5a216e12205bb8
tree99c0cbbdf249900536dc91a33d1770dd6c4f48f9
parentd7815878cfdb2da402a1a481d8b83966e10c882b
mgr/dashboard: add schedule_level to image API for pool/cluster snapshot schedule

Add optional schedule_level param (image|pool|cluster) to
PUT /api/block/image/{image_spec}. Removes more-specific schedules
before setting at the chosen level. Backward compatible when omitted.

Fixes: https://tracker.ceph.com/issues/75043
Assisted-by: Cursor AI
Signed-off-by: Imran Imtiaz <imran.imtiaz@uk.ibm.com>
src/pybind/mgr/dashboard/controllers/rbd.py
src/pybind/mgr/dashboard/openapi.yaml
src/pybind/mgr/dashboard/services/rbd.py