]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: expose image mirroring commands as endpoints
authorPere Diaz Bou <pdiazbou@redhat.com>
Thu, 12 May 2022 18:29:01 +0000 (20:29 +0200)
committerPere Diaz Bou <pdiazbou@redhat.com>
Mon, 27 Jun 2022 11:36:01 +0000 (13:36 +0200)
commita1922767f984d9173e67c828ade54ac84cfe8f51
tree17eb49283e443c60ed67a5a064cc563b310ac50e
parent6d8504d8c8121f09c1af01eacc23e1cc3a58ad29
mgr/dashboard: expose image mirroring commands as endpoints

Expose:
  - enable/disable mirroring in image
  - promote/demote (primary and non-primary)
  - resync
  - snapshot mode:
    - mirror image snapshot (manual snapshot)
    - schedule

Fixes: https://tracker.ceph.com/issues/55645
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
(cherry picked from commit 8bd89415fe340512f457acd58225934e9ed8e4e1)
src/pybind/mgr/dashboard/controllers/rbd.py
src/pybind/mgr/dashboard/openapi.yaml
src/pybind/mgr/dashboard/services/rbd.py
src/pybind/mgr/dashboard/tests/test_rbd_service.py