All of lore.kernel.org
 help / color / mirror / Atom feed
* XenAPI Java bindings
@ 2007-05-17 11:01 Tom Wilkie
  2007-05-17 12:26 ` Patrick O'Rourke
  2007-05-18 15:59 ` [Xen-API] " Stefan Berger
  0 siblings, 2 replies; 7+ messages in thread
From: Tom Wilkie @ 2007-05-17 11:01 UTC (permalink / raw)
  To: Xen-API, xen-devel; +Cc: Tom Wilkie

Hello all

I've made some nice Java bindings for the XenAPI.  You can download  
them at http://www.cl.cam.ac.uk/~tw275/java-binding-source.tag.gz.

Docs are located at http://www.cl.cam.ac.uk/~tw275/xenapi-docs/ or  
http://www.cl.cam.ac.uk/~tw275/java-binding-docs.tar.gz.

A quick example is located in the tarball in Test.java.

Please let me know if you have any problems with these bindings.   
They are a bit fragile at the moment, a bad server response will  
cause a ClassCastException.

Cheers

Tom

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: XenAPI Java bindings
  2007-05-17 11:01 XenAPI Java bindings Tom Wilkie
@ 2007-05-17 12:26 ` Patrick O'Rourke
  2007-05-17 12:31   ` Atsushi SAKAI
  2007-05-18 15:59 ` [Xen-API] " Stefan Berger
  1 sibling, 1 reply; 7+ messages in thread
From: Patrick O'Rourke @ 2007-05-17 12:26 UTC (permalink / raw)
  To: Tom Wilkie; +Cc: xen-devel, Xen-API

Tom Wilkie wrote:

> I've made some nice Java bindings for the XenAPI.  You can download them 
> at http://www.cl.cam.ac.uk/~tw275/java-binding-source.tag.gz.

Is this the correct link (I'm getting an error that the URL isn't found)?

Thanks,

Pat

-- 
Patrick O'Rourke
porourke@egenera.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: XenAPI Java bindings
  2007-05-17 12:26 ` Patrick O'Rourke
@ 2007-05-17 12:31   ` Atsushi SAKAI
  0 siblings, 0 replies; 7+ messages in thread
From: Atsushi SAKAI @ 2007-05-17 12:31 UTC (permalink / raw)
  To: Patrick O'Rourke; +Cc: xen-devel, Tom Wilkie, Xen-API

It seems here (not tag, tar is correct)
http://www.cl.cam.ac.uk/~tw275/java-binding-source.tar.gz

Few years ago, I am using java but now ...

Thanks
Atsushi SAKAI


"Patrick O'Rourke" <porourke@egenera.com> wrote:

> Tom Wilkie wrote:
> 
> > I've made some nice Java bindings for the XenAPI.  You can download them 
> > at http://www.cl.cam.ac.uk/~tw275/java-binding-source.tag.gz.
> 
> Is this the correct link (I'm getting an error that the URL isn't found)?
> 
> Thanks,
> 
> Pat
> 
> -- 
> Patrick O'Rourke
> porourke@egenera.com
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xen-API] XenAPI Java bindings
  2007-05-17 11:01 XenAPI Java bindings Tom Wilkie
  2007-05-17 12:26 ` Patrick O'Rourke
@ 2007-05-18 15:59 ` Stefan Berger
  2007-05-18 16:48   ` Tom Wilkie
  1 sibling, 1 reply; 7+ messages in thread
From: Stefan Berger @ 2007-05-18 15:59 UTC (permalink / raw)
  To: Tom Wilkie; +Cc: xen-api-bounces, xen-devel, Xen-API


[-- Attachment #1.1: Type: text/plain, Size: 1656 bytes --]

Hello Tom,

  wow, lots of work! This is great stuff. 

I have some comments related to the VM class and record:

- I tried to build a VM using a Record and litterally all parameters need 
to be provided so that the map does not contain any 'null's.Could the keys 
be checked for whether they are null before they are put into the HashMap 
for a VM. It's not absolutely necessary to provide all parameters such as 
for example PCI_bus to build a VM and providing a uuid seems not to be 
useful.

- In the VM record the parameter 'action_after_suspend' seems to be 
missing which prevents one to build a VM -- it seems to be a mandatory 
parameter.

- the types for the actions_after_* parameters of a VM record need to be 
strings such as "destroy". It seems they are of type 
class.com.xensource.xenapi.Types$OnNormalExit which does not let one build 
a VM with it.


Stefan

 

xen-api-bounces@lists.xensource.com wrote on 05/17/2007 07:01:36 AM:

> Hello all
> 
> I've made some nice Java bindings for the XenAPI.  You can download 
> them at http://www.cl.cam.ac.uk/~tw275/java-binding-source.tag.gz.
> 
> Docs are located at http://www.cl.cam.ac.uk/~tw275/xenapi-docs/ or 
> http://www.cl.cam.ac.uk/~tw275/java-binding-docs.tar.gz.
> 
> A quick example is located in the tarball in Test.java.
> 
> Please let me know if you have any problems with these bindings. 
> They are a bit fragile at the moment, a bad server response will 
> cause a ClassCastException.
> 
> Cheers
> 
> Tom
> 
> _______________________________________________
> xen-api mailing list
> xen-api@lists.xensource.com
> http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api

[-- Attachment #1.2: Type: text/html, Size: 2275 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xen-API] XenAPI Java bindings
  2007-05-18 15:59 ` [Xen-API] " Stefan Berger
@ 2007-05-18 16:48   ` Tom Wilkie
  0 siblings, 0 replies; 7+ messages in thread
From: Tom Wilkie @ 2007-05-18 16:48 UTC (permalink / raw)
  To: Stefan Berger; +Cc: xen-api-bounces, Tom Wilkie, xen-devel, Xen-API


[-- Attachment #1.1: Type: text/plain, Size: 2034 bytes --]


On 18 May 2007, at 16:59, Stefan Berger wrote:

>   wow, lots of work! This is great stuff.

Thanks ;-)

> I have some comments related to the VM class and record:
>
> - I tried to build a VM using a Record and litterally all  
> parameters need to be provided so that the map does not contain any  
> 'null's.Could the keys be checked for whether they are null before  
> they are put into the HashMap for a VM. It's not absolutely  
> necessary to provide all parameters such as for example PCI_bus to  
> build a VM and providing a uuid seems not to be useful.

Fair call, it should really just require all the rw and ro_inst  
variables to be specified.

> - In the VM record the parameter 'action_after_suspend' seems to be  
> missing which prevents one to build a VM -- it seems to be a  
> mandatory parameter.

Yeah, I think I need to toString() the enum, with some case conversion.

> - the types for the actions_after_* parameters of a VM record need  
> to be strings such as "destroy". It seems they are of type  
> class.com.xensource.xenapi.Types$OnNormalExit which does not let  
> one build a VM with it.

Yeah same problem as above I think.

Will get onto these on monday!

Cheers

Tom

> Stefan
>
>
>
> xen-api-bounces@lists.xensource.com wrote on 05/17/2007 07:01:36 AM:
>
> > Hello all
> >
> > I've made some nice Java bindings for the XenAPI.  You can download
> > them at http://www.cl.cam.ac.uk/~tw275/java-binding-source.tag.gz.
> >
> > Docs are located at http://www.cl.cam.ac.uk/~tw275/xenapi-docs/ or
> > http://www.cl.cam.ac.uk/~tw275/java-binding-docs.tar.gz.
> >
> > A quick example is located in the tarball in Test.java.
> >
> > Please let me know if you have any problems with these bindings.
> > They are a bit fragile at the moment, a bad server response will
> > cause a ClassCastException.
> >
> > Cheers
> >
> > Tom
> >
> > _______________________________________________
> > xen-api mailing list
> > xen-api@lists.xensource.com
> > http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api


[-- Attachment #1.2: Type: text/html, Size: 3703 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: XenAPI Java bindings
@ 2008-06-13 23:14 Alex Thorsten
  0 siblings, 0 replies; 7+ messages in thread
From: Alex Thorsten @ 2008-06-13 23:14 UTC (permalink / raw)
  To: xen-devel

Hi list,

has the location of the files changed? None of the links work. Can anyone point me to a mirror?

Thanks,
Alex
> It seems here (not tag, tar is correct)
> http://www.cl.cam.ac.uk/~tw275/java-binding-source.tar.gz <http://www.cl.cam.ac.uk/%7Etw275/java-binding-source.tar.gz>
>
> Few years ago, I am using java but now ...
>
> Thanks
> Atsushi SAKAI
>
>
> "Patrick O'Rourke" <porourke@xxxxxxxxxxx> wrote:
>
> >/ Tom Wilkie wrote:/
> >/ /
> >/ > I've made some nice Java bindings for the XenAPI.  You can download them /
> >/ > at http://www.cl.cam.ac.uk/~tw275/java-binding-source.tag.gz <http://www.cl.cam.ac.uk/%7Etw275/java-binding-source.tag.gz>./
> >/ /
> >/ Is this the correct link (I'm getting an error that the URL isn't found)?/
> >/ /
> >/ Thanks,/
> >/ /
> >/ Pat/
> >/ /
> >/ -- /
> >/ Patrick O'Rourke/
> >/ porourke@xxxxxxxxxxx/
> >/ /
> >/ _______________________________________________/
> >/ Xen-devel mailing list/
> >/ Xen-devel@xxxxxxxxxxxxxxxxxxx/
> >/ http://lists.xensource.com/xen-devel/
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: XenAPI Java bindings
@ 2008-08-25  7:06 梁波
  0 siblings, 0 replies; 7+ messages in thread
From: 梁波 @ 2008-08-25  7:06 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com

> Hi list,
 
> has the location of the files changed? None of the links work. Can anyone point me to a mirror?

> Thanks,
> Alex
> >It seems here (not tag, tar is correct)
> >http://www.cl.cam.ac.uk/~tw275/java-binding-source.tar.gz <http://www.cl.cam.ac.uk/%7Etw275/java-binding-source.tar.gz>
> >
> >Few years ago, I am using java but now ...


same question.
any help ?

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-08-25  7:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-17 11:01 XenAPI Java bindings Tom Wilkie
2007-05-17 12:26 ` Patrick O'Rourke
2007-05-17 12:31   ` Atsushi SAKAI
2007-05-18 15:59 ` [Xen-API] " Stefan Berger
2007-05-18 16:48   ` Tom Wilkie
  -- strict thread matches above, loose matches on Subject: below --
2008-06-13 23:14 Alex Thorsten
2008-08-25  7:06 梁波

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.