[Ovirt-devel] OVirt API for hosts and hardware/storage pools

David Lutterkort dlutter at redhat.com
Thu Aug 14 23:43:46 UTC 2008

[ Resent. The previous postings didn't have the actual patches in them ]

This is a revamp of the API I posted previously. The most important change
is that the REST specific controllers have been folded into the existing
controllers, so that the WUI and the API share the same business logic, and
in particular perform the same permission checks.

Once Steve's patches to allow HTTP authentication have been committed, the
API can be accessed through the URL
http://USER:PASSWORD@SERVER/ovirt. Until then, you either have to hack the
config of your OVirt server to allow unauthenticated access and assume
that's user 'ovirtadmin', or direct API requests directly at the Mongrel
port at SERVER:3000

Patch 6/6 contains a little supporting client code and the example script
examples/script.rb that shows what you can do with the API (and how)

[1] https://www.redhat.com/archives/ovirt-devel/2008-August/msg00045.html

More information about the ovirt-devel mailing list