]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: expose image mirroring commands as endpoints 46249/head
authorPere Diaz Bou <pdiazbou@redhat.com>
Thu, 12 May 2022 18:29:01 +0000 (20:29 +0200)
committerPere Diaz Bou <pdiazbou@redhat.com>
Mon, 23 May 2022 12:20:50 +0000 (14:20 +0200)
commit8bd89415fe340512f457acd58225934e9ed8e4e1
tree7e91906ce1707f43e7fe8926f2624727a9ec404e
parent6f459d8bf2396ca28597e87f5fc74593b7a49a84
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>
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