]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard_v2: Add RBD mirroring functionality
authorTatjana Dehler <tdehler@suse.com>
Mon, 19 Feb 2018 09:16:32 +0000 (10:16 +0100)
committerRicardo Dias <rdias@suse.com>
Mon, 5 Mar 2018 13:07:15 +0000 (13:07 +0000)
commitd7735fa8247f04d3b05245d4f1f6a27290f18f10
treee69cac296b9efd3e46f10675b173fd4d731e2f57
parent020afefd8eb24837c553da93380d228fc2aec370
mgr/dashboard_v2: Add RBD mirroring functionality

This commit adds the RBD mirroring functionality of the first dashboard to
the dashboard_v2 REST API. That's why the code is basically based on the
code of the first dashboard. It was just brought into a different structure
to fit into the structure of dashboard_v2.

The new API endpoint can be found at http://<host>:<port>/api/rbdmirror

The commit adds also related tests.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
src/pybind/mgr/dashboard_v2/__init__.py
src/pybind/mgr/dashboard_v2/controllers/rbd_mirroring.py [new file with mode: 0644]
src/pybind/mgr/dashboard_v2/tests/test_rbd_mirroring.py [new file with mode: 0644]