[ovirt-devel] VDSM (Python JSON) API

Sandro Bonazzola sbonazzo at redhat.com
Wed Oct 7 13:21:27 UTC 2015


Hi,
I'm looking at Bug 1228641
<https://bugzilla.redhat.com/show_bug.cgi?id=1228641> - [RFE] Switch from
XML-RPC to JSON-RPC API and I'm searching google about "vdsm json rpc API
documentation" without success.

I've seen /usr/share/doc/vdsm-jsonrpc/vdsm-api.html shipped within
vdsm-jsonrpc rpm but it doesn't explain how to use the api.

/usr/lib/python2.7/site-packages/vdsmapi.py looks useless

/usr/share/vdsm/rpc/ are not public API but something only vdsm process
should use.

The feature pages http://www.ovirt.org/Features/Design/JsonRpc3.5 and
http://www.ovirt.org/Features/Design/JsonRpc are incomplete or outdated and
miss proper testing section specifying how to test the API.

VDSM API pages are outdated or incomplete:
http://www.ovirt.org/Vdsm_API
http://www.ovirt.org/VDSM_Stable_API_Plan
http://www.ovirt.org/Vdsm_API_Schema

Any hint on how to use VDSM JSON RPC API anywhere?
Can someone please write a clear VDSM API reference documentation?

Piotr, as a kickstart, can you give me a code sample for connecting to vdsm
and call getVdsCaps using jsonrpc?

Thanks,

-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20151007/35e208d1/attachment-0001.html>


More information about the Devel mailing list