[libvirt] Java bindings

Hi all, I'm Alejandro Berna from i2CAT (a non-profit foundation in Barcelona, Spain, www.i2cat.net). I'm collaborating in a Europena project called Federica ( www.fp7-*federica*.eu ). One of the branch of this project is to permit virtualization of different hosts in the Federica test-bed. We are doing some studies about the different management interfaces of Xen. Our objective is to create a software remote client for Xen tool (in java if it's possible) that can do (general functionalities): - Create virtual machines assigning virtual interfaces. - Permit choose the OS assigned to this virtual machine - Install new applications to be tested in the virtual machines - Configure a vm to become a router and permit to configure this router as it was a physical router. All these actions have to be performed remotelly. I have not found too much information about libvrt but I think that can be usefull for our achieves. If you agree that with libvrt we can perform these actions, maybe I can build the java bindings for libvrt inside the Federica work. I'm waiting for your opinions, thank you, -- Alejandro Berna Juan alejandro.berna@i2cat.net

On Fri, Jul 18, 2008 at 02:55:39PM +0200, Alejandro Berna Juan wrote:
Hi all, I'm Alejandro Berna from i2CAT (a non-profit foundation in Barcelona, Spain, www.i2cat.net). I'm collaborating in a Europena project called Federica ( www.fp7-*federica*.eu ). One of the branch of this project is to permit virtualization of different hosts in the Federica test-bed. We are doing some studies about the different management interfaces of Xen. Our objective is to create a software remote client for Xen tool (in java if it's possible) that can do (general functionalities): - Create virtual machines assigning virtual interfaces. - Permit choose the OS assigned to this virtual machine - Install new applications to be tested in the virtual machines - Configure a vm to become a router and permit to configure this router as it was a physical router.
All these actions have to be performed remotelly. I have not found too much information about libvrt but I think that can be usefull for our achieves. If you agree that with libvrt we can perform these actions, maybe I can build the java bindings for libvrt inside the Federica work. I'm waiting for your opinions, thank you,
You're in luck - we already have people working on Java bindings for libvirt & anyone else who has time is more than welcome to contribute code to improve the Java bindings. There is more information in this mail: http://www.redhat.com/archives/libvir-list/2008-June/msg00280.html We also have full authenticated, encrypted remote access to all our APIs. Information on this can be found here: http://libvirt.org/remote.html http://libvirt.org/auth.html Regards, Daniel -- |: 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 :|

On Fri, Jul 18, 2008 at 02:00:53PM +0100, Daniel P. Berrange wrote:
On Fri, Jul 18, 2008 at 02:55:39PM +0200, Alejandro Berna Juan wrote:
Hi all, I'm Alejandro Berna from i2CAT (a non-profit foundation in Barcelona, Spain, www.i2cat.net). I'm collaborating in a Europena project called Federica ( www.fp7-*federica*.eu ). One of the branch of this project is to permit virtualization of different hosts in the Federica test-bed. We are doing some studies about the different management interfaces of Xen. Our objective is to create a software remote client for Xen tool (in java if it's possible) that can do (general functionalities): - Create virtual machines assigning virtual interfaces. - Permit choose the OS assigned to this virtual machine - Install new applications to be tested in the virtual machines - Configure a vm to become a router and permit to configure this router as it was a physical router.
All these actions have to be performed remotelly. I have not found too much information about libvrt but I think that can be usefull for our achieves. If you agree that with libvrt we can perform these actions, maybe I can build the java bindings for libvrt inside the Federica work. I'm waiting for your opinions, thank you,
I saw your post to the Xen-API list, don't be desesperate we have a simpler alternative, I was just waiting for you to show up here :-)
You're in luck - we already have people working on Java bindings for libvirt & anyone else who has time is more than welcome to contribute code to improve the Java bindings. There is more information in this mail:
http://www.redhat.com/archives/libvir-list/2008-June/msg00280.html
We also have full authenticated, encrypted remote access to all our APIs. Information on this can be found here:
I'm in the middle of preparing a 0.2.0 libvirt-java release with the cleanup of the API. That versions should be ready for consumption, and I will push it for example for Fedora-9 . Give me just 2 more hours, it should show up at ftp://libvirt.org/libvirt/java/ Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

Thanks for your answers. I will try to help on the development of the java bindings. Alejandro 2008/7/18 Daniel Veillard <veillard@redhat.com>:
On Fri, Jul 18, 2008 at 02:55:39PM +0200, Alejandro Berna Juan wrote:
Hi all, I'm Alejandro Berna from i2CAT (a non-profit foundation in Barcelona, Spain, www.i2cat.net). I'm collaborating in a Europena
called Federica ( www.fp7-*federica*.eu ). One of the branch of this
On Fri, Jul 18, 2008 at 02:00:53PM +0100, Daniel P. Berrange wrote: project project
is to permit virtualization of different hosts in the Federica test-bed. We are doing some studies about the different management interfaces of Xen. Our objective is to create a software remote client for Xen tool (in java if it's possible) that can do (general functionalities): - Create virtual machines assigning virtual interfaces. - Permit choose the OS assigned to this virtual machine - Install new applications to be tested in the virtual machines - Configure a vm to become a router and permit to configure this router as it was a physical router.
All these actions have to be performed remotelly. I have not found too much information about libvrt but I think that can be usefull for our achieves. If you agree that with libvrt we can perform these actions, maybe I can build the java bindings for libvrt inside the Federica work. I'm waiting for your opinions, thank you,
I saw your post to the Xen-API list, don't be desesperate we have a simpler alternative, I was just waiting for you to show up here :-)
You're in luck - we already have people working on Java bindings for libvirt & anyone else who has time is more than welcome to contribute code to improve the Java bindings. There is more information in this mail:
http://www.redhat.com/archives/libvir-list/2008-June/msg00280.html
We also have full authenticated, encrypted remote access to all our APIs. Information on this can be found here:
I'm in the middle of preparing a 0.2.0 libvirt-java release with the cleanup of the API. That versions should be ready for consumption, and I will push it for example for Fedora-9 .
Give me just 2 more hours, it should show up at ftp://libvirt.org/libvirt/java/
Daniel
-- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
-- Alejandro Berna Juan alejandro.berna@i2cat.net

On Mon, Jul 21, 2008 at 08:18:22AM +0200, Alejandro Berna Juan wrote:
Thanks for your answers. I will try to help on the development of the java bindings.
Well it should be basically working, except for parts which are not yet covered (some of the new APIs added after 0.4.0), and bugs in the code which is relatively new. We are also lacking documentation except for the javadoc ones, that's something i will try to fix in the following days, General feedback, bug reports and patches all welcome :-) Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

my idea is to create the eclipse project (I have a little experience with it and I think I can do it). Right now is a little bit complicate to help you in the generation of code (I'm new in XEN and virtualization). Cheers, Alejandro 2008/7/21 Daniel Veillard <veillard@redhat.com>:
On Mon, Jul 21, 2008 at 08:18:22AM +0200, Alejandro Berna Juan wrote:
Thanks for your answers. I will try to help on the development of the java bindings.
Well it should be basically working, except for parts which are not yet covered (some of the new APIs added after 0.4.0), and bugs in the code which is relatively new. We are also lacking documentation except for the javadoc ones, that's something i will try to fix in the following days, General feedback, bug reports and patches all welcome :-)
Daniel
-- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
-- Alejandro Berna Juan alejandro.berna@i2cat.net

On Mon, Jul 21, 2008 at 08:58:31AM +0200, Alejandro Berna Juan wrote:
my idea is to create the eclipse project (I have a little experience with it and I think I can do it). Right now is a little bit complicate to help you in the generation of code (I'm new in XEN and virtualization). Cheers,
that would be cool, yes. I finally added some informations on-line at http://libvirt.org/java.html I don't know why the javadoc output seems to be missing frames or something (using a java-1.5.0-ibm javadoc ...), but at least the basic is there http://libvirt.org/org/libvirt/package-summary.html Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

Hi Daniel, all, I'm sorry for my non show during the summer but I was in my long holidays ;).... I will have the libvirt project for Eclipse with the libvirt java bindings during this month, if I use as a base the makefile it wouldn't be too complicate to generate. Also I would like to ask you (because we need for our Federica project) if libvirt is using CIM model or is using something similar. I read that is collaborating with DMTF but we have not found anything that tells that libvirt is using CIM model. If you don't know exactly can you tell me who to contact to assure this? I hope you can help me, thank you for everything, Cheers, Alejandro 2008/7/22 Daniel Veillard <veillard@redhat.com>
On Mon, Jul 21, 2008 at 08:58:31AM +0200, Alejandro Berna Juan wrote:
my idea is to create the eclipse project (I have a little experience with it and I think I can do it). Right now is a little bit complicate to help you in the generation of code (I'm new in XEN and virtualization). Cheers,
that would be cool, yes. I finally added some informations on-line at http://libvirt.org/java.html
I don't know why the javadoc output seems to be missing frames or something (using a java-1.5.0-ibm javadoc ...), but at least the basic is there http://libvirt.org/org/libvirt/package-summary.html
Daniel
-- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
-- Alejandro Berna Juan alejandro.berna@i2cat.net

AJ> Also I would like to ask you (because we need for our Federica AJ> project) if libvirt is using CIM model or is using something AJ> similar. I read that is collaborating with DMTF but we have not AJ> found anything that tells that libvirt is using CIM model. If you AJ> don't know exactly can you tell me who to contact to assure this? The list for libvirt-cim is here: https://www.redhat.com/mailman/listinfo/libvirt-cim -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com

On Tue, Sep 02, 2008 at 04:39:03PM +0200, Alejandro Berna Juan wrote:
Hi Daniel, all, I'm sorry for my non show during the summer but I was in my long holidays ;)....
No problem, I'm french I know what real summer vacations means :-)
I will have the libvirt project for Eclipse with the libvirt java bindings during this month, if I use as a base the makefile it wouldn't be too complicate to generate.
okay, cool.
Also I would like to ask you (because we need for our Federica project) if libvirt is using CIM model or is using something similar. I read that is collaborating with DMTF but we have not found anything that tells that libvirt is using CIM model. If you don't know exactly can you tell me who to contact to assure this? I hope you can help me, thank you for everything,
As Dan Smith pointed out this is available separately as the libvirt-cim package/releases . It really should be language agnostic because CIM defines itselt in term of RPCs to the node. Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

Thanks for everything Daniel, Alejandro 2008/9/3 Daniel Veillard <veillard@redhat.com>
On Tue, Sep 02, 2008 at 04:39:03PM +0200, Alejandro Berna Juan wrote:
Hi Daniel, all, I'm sorry for my non show during the summer but I was in my long holidays ;)....
No problem, I'm french I know what real summer vacations means :-)
I will have the libvirt project for Eclipse with the libvirt java bindings during this month, if I use as a base the makefile it wouldn't be too complicate to generate.
okay, cool.
Also I would like to ask you (because we need for our Federica project) if libvirt is using CIM model or is using something similar. I read that is collaborating with DMTF but we have not found anything that tells that libvirt is using CIM model. If you don't know exactly can you tell me who to contact to assure this? I hope you can help me, thank you for everything,
As Dan Smith pointed out this is available separately as the libvirt-cim package/releases . It really should be language agnostic because CIM defines itselt in term of RPCs to the node.
Daniel
-- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/
-- Alejandro Berna Juan alejandro.berna@i2cat.net
participants (4)
-
Alejandro Berna Juan
-
Dan Smith
-
Daniel P. Berrange
-
Daniel Veillard