]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Cython Rados module
authorMehdi Abaakouk <sileht@redhat.com>
Fri, 12 Feb 2016 08:13:36 +0000 (09:13 +0100)
committerMehdi Abaakouk <sileht@redhat.com>
Wed, 17 Feb 2016 11:32:38 +0000 (12:32 +0100)
commit9997b32d0b8703e984a0b68c8dc828a442830832
treee0909c22f256dcc47e4c8ab342743a0eec299722
parentd3ac713d88ce9cfc5700e24f7b3a3bcb36b77f80
Cython Rados module

Notable changes:

* run_in_thread have disapeared
* timeout argument of some methods are ignored
* rados_create_write_op/rados_create_read_op returns WriteOp/ReadOp
  instead of the pointer address
* rados_monitor_log callback 'arg' arguments was broken in previous python
  binding (callback was called with the pointer address instead pointed object)
* object attributes that was pointer addresses are now private and not accessible in python

Some tests have been added to cover all methods

Signed-off-by: Mehdi Abaakouk <sileht@redhat.com>
src/pybind/Makefile.am
src/pybind/rados/Makefile.am [new file with mode: 0644]
src/pybind/rados/rados.pxd [new file with mode: 0644]
src/pybind/rados/rados.pyx [new file with mode: 0644]
src/pybind/rados/setup.py [new file with mode: 0755]
src/test/pybind/test_rados.py