[libvirt] HTTP-API for libvirt

Daniel P. Berrange berrange at redhat.com
Wed Jun 25 16:18:55 UTC 2008

On Wed, Jun 25, 2008 at 05:24:06PM +0200, Stefan de Konink wrote:
> New thread.
> >  Honnestly I'm still lost trying to understand what you wanted to do.
> I have implemented a webserver plugin that allows (by mDNS) to access 
> all 'VMs' on the network.
> http://xen.bot.nu/virt/ <- demo
> >I didn't understand the point, I just noted you wanted to put things
> >in libvirtd, something about event API while to me i don't see the even 
> >side of the proposal.
> Using mDNS, mDNS events can be used on the network to subscribe to 
> certain VM changes. Reboot/Shutdown/etc.
> >Now suggesting to convey this as part of Java *bindings* sounds even more
> >confusing, how does that relate at all ?
> You proposed (new) bindings for Java. I have written new bindings using 
> the HTTP protocol. I wonder what should be done to get it adapted into 
> libvirt, or standardize the format (like any other API).

If I'm understanding what you're doing, it is sort of a REST style 
web services API. It is also adding in certain higher level API
semantics by using mDNS to aggregate info from multiple hosts ?
As such its kind of straddling the boundary between being a service
vs an application.

I'd be interested in seeing the source to understand better what it
is doing. I'd certainly be fine with adding it to our applications
page on the website & wiki. 

I'm wary of proprosing an 'offficial' web application since there are
many people building web applications ontop of libvirt[1] & I don't want
to take sides saying one is better than the other.


[1] Enomalism, oVirt and another I can't remember the name of, offhand.
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

More information about the libvir-list mailing list