Ok, thanks Jason for submitting the feature request ticket. But i am afraid i couldn't contribute now, lack of C/C++ :D
On Mon, Apr 3, 2017 at 9:09 PM, Jason Dillaman <jdillama@xxxxxxxxxx> wrote:
We try to keep the C/C++ and Python APIs in-sync, but it looks like
these functions were missed and are not currently available via the
Python API. I created a tracker ticket [1] the issue. If you are
interested, feel free to contribute a pull request for the missing
APIs.
[1] http://tracker.ceph.com/issues/19451
> ______________________________
On Sun, Apr 2, 2017 at 8:17 PM, Sayid Munawar <sayid.munawar@xxxxxxxxx> wrote:
> Hi,
>
> Using rbd command line, we can set / get / list image-meta of an rbd image
> as described in the man page.
>
> # rbd image-meta list mypool/myimage
>
>
> How can we do the same using python librbdpy ? i can't find it in the
> documentation.
>
> with rados.Rados(conffile='my_ceph.conf') as cluster:
> with cluster.open_ioctx('mypool') as ioctx:
> with rbd.Image(ioctx, 'myimage') as image:
> image._some_method_to_set_metadata() ???
>
>
> Thank you
>
_________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
--
Jason
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com