]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: expand API to include namespaces and image ids
authorJason Dillaman <dillaman@redhat.com>
Wed, 21 Nov 2018 00:06:23 +0000 (19:06 -0500)
committerJason Dillaman <dillaman@redhat.com>
Sun, 25 Nov 2018 12:59:40 +0000 (07:59 -0500)
commit3d5f055a0796c4e059c22b46f6f1b840bb9d10ef
tree1eaf7db3ad6ca6dcfd686074e1946e745a48bbf3
parentef634fd4345d34a81879a5be11ce277453ce96a7
librbd: expand API to include namespaces and image ids

The get parent and list children methods now return a common
struct that includes the full pool details (including the
optional namespace). Additionally, a new image list method has
been added which includes both the name and id (of v2 images).

Fixes: http://tracker.ceph.com/issues/36650
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
12 files changed:
src/include/rbd/librbd.h
src/include/rbd/librbd.hpp
src/librbd/api/Image.cc
src/librbd/api/Image.h
src/librbd/api/Mirror.cc
src/librbd/api/Pool.cc
src/librbd/internal.cc
src/librbd/internal.h
src/librbd/librbd.cc
src/pybind/rbd/rbd.pyx
src/test/librbd/test_librbd.cc
src/test/pybind/test_rbd.py