]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: expose mirror uuid via the API
authorJason Dillaman <dillaman@redhat.com>
Tue, 4 Feb 2020 02:53:21 +0000 (21:53 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 13 Feb 2020 13:11:16 +0000 (08:11 -0500)
commit3ca9fe44e60e55854986f8532b8da29eaa33d9ff
treec388bf4b4e32bf923d383a5d5e6710c4ea1a5016
parent7b07e3c9dcf1eda325fc4fe7960765c019243076
librbd: expose mirror uuid via the API

The mirror snapshot primary vs non-primary state can be
determined by looking at the primary_mirror_uuid within
the mirror snapshot namespace.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/include/rbd/librbd.h
src/include/rbd/librbd.hpp
src/librbd/CMakeLists.txt
src/librbd/api/Mirror.cc
src/librbd/api/Mirror.h
src/librbd/librbd.cc
src/librbd/mirror/GetUuidRequest.cc [new file with mode: 0644]
src/librbd/mirror/GetUuidRequest.h [new file with mode: 0644]
src/pybind/rbd/rbd.pyx
src/test/pybind/test_rbd.py