python API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

I'm trying to write some Python code for analysis of my RBD images storage
usage, rbd and rados package versions are 14.2.16.
Basically I want the same data that I can acquire from shell 'rbd du
<image>' and 'rbd info <image>' commands, but through Python API.
At the moment I can connect to the cluster, get an image list from the
pool, but that's about it.
As far as I can read, there's no API method to obtain image info such as
provisioned/used storage, etc.
Is this really not possible with the current Python API, or am I missing
something?

Documentation used:
https://docs.ceph.com/en/latest/rbd/api/librbdpy/
https://docs.ceph.com/en/latest/rados/api/python/
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux