Since the RBD python bindings use the C++ librbd interface and the librbd rollback interface requires you to provide an instance of class ProgressContext, you could add a new class to the API which derives from ProgressContext and bridges the interface to a simple C-style function callback. This is actually what librbd does internally for the C interface. -- Jason Dillaman ----- Original Message ----- > From: "Nikola Ciprich" <nikola.ciprich@xxxxxxxxxxx> > To: "ceph-users" <ceph-users@xxxxxxxxxxxxxx> > Sent: Sunday, November 8, 2015 4:27:13 AM > Subject: python binding - snap rollback - progress reporting > > Hello, > > I'd like to ask - I'm using python RBD/rados bindings. Everything > works well for me, the only thing I'd like to improve is snapshots rollback > as the operation is quite time consuming, I would like to report it's > progress. > > is this somehow possible? even at the cost of implementing whole rollback > operation by myself? > > thanks a lot in advance! > > BR > > nik > > > -- > ------------------------------------- > Ing. Nikola CIPRICH > LinuxBox.cz, s.r.o. > 28.rijna 168, 709 00 Ostrava > > tel.: +420 591 166 214 > fax: +420 596 621 273 > mobil: +420 777 093 799 > www.linuxbox.cz > > mobil servis: +420 737 238 656 > email servis: servis@xxxxxxxxxxx > ------------------------------------- > > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com