]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: add API function to get image name
authorMykola Golub <mgolub@suse.com>
Thu, 15 Mar 2018 16:32:50 +0000 (18:32 +0200)
committerMykola Golub <mgolub@suse.com>
Fri, 16 Mar 2018 18:05:34 +0000 (20:05 +0200)
commitd75973f8b3f0e0e662ce36f271f8fdf80b5b4220
tree618b5854accb23e413075bfd88b6a96f0167d37c
parent60e120799555bef03cfaa59eebfc332f464b5578
librbd: add API function to get image name

We already have open_by_id function, so an image name may be
unknown to the user, and get_name may be useful then.

Signed-off-by: Mykola Golub <mgolub@suse.com>
src/include/rbd/librbd.h
src/include/rbd/librbd.hpp
src/librbd/librbd.cc
src/pybind/rbd/rbd.pyx
src/test/librbd/test_librbd.cc
src/test/pybind/test_rbd.py