]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: added new 'migration_prepare_import' API methods
authorJason Dillaman <dillaman@redhat.com>
Wed, 21 Oct 2020 18:27:38 +0000 (14:27 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sun, 1 Nov 2020 14:22:38 +0000 (09:22 -0500)
commitd6133f9bf20ada2f8d31c94533ace08abda967b6
treedb45d822b9926628899c4dfdaf59d3f02e493f3a
parente5398d14298763f684c2fda0a4cea2e07bea3c6a
librbd: added new 'migration_prepare_import' API methods

These related methods accept a JSON-encoded source-spec that
describes how to read from the source image. The migration is
a one-way operation, so children/groups/etc won't be updated
to point to the new destination image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/include/rbd/librbd.h
src/include/rbd/librbd.hpp
src/librbd/api/Migration.cc
src/librbd/api/Migration.h
src/librbd/librbd.cc
src/pybind/rbd/rbd.pyx
src/test/pybind/test_rbd.py