]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/rbd: improved handling for snapshot namespaces
authorJason Dillaman <dillaman@redhat.com>
Mon, 25 Jun 2018 20:42:04 +0000 (16:42 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 24 Jul 2018 12:52:32 +0000 (08:52 -0400)
commita4de5224f5906fb5bcc7ea7982aff7b98aed083b
tree44b23ecde1dc83e8d618bcb07d1fd2d601386dc1
parentc4128114f1c7d3bfd84e5ff78abaacf0dd87cc73
pybind/rbd: improved handling for snapshot namespaces

The snap iterator now includes the namespace type and group/trash
sub-dictionaries (if applicable). It's also possible to remove a
non-user snapshot by its id.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/pybind/rbd/rbd.pyx
src/test/pybind/test_rbd.py