[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-API] Re: Xen-API SDK - VM create


  • To: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
  • From: Rob Hoes <Rob.Hoes@xxxxxxxxxx>
  • Date: Wed, 10 Feb 2010 13:41:14 +0000
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Delivery-date: Wed, 10 Feb 2010 05:41:14 -0800
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
  • Thread-index: AcqqRIbSZSXkvG2XRUS8f1mHky0XwAAEcl9A
  • Thread-topic: [Xen-API] Re: Xen-API SDK - VM create

There is actually an XCP version of the SDK Guide as well: http://www.xen.org/files/XenCloud/sdk.pdf :)

But as Jon said, it is mostly the same as the one for XenServer.

See http://www.xen.org/support/documentation.html for all current documentation of XCP.

 

Cheers,

Rob

 

From: xen-api-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Jonathan Ludlam
Sent: 10 February 2010 11:31
To: Chonduy Nguyen
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-API] Re: Xen-API SDK - VM create

 

Hi Thuymai,

 

Probably the best thing to do is to look at the SDK docs - there are many examples of the use of the API there:

 

 

Although it's talking about XenServer, the examples and docs should all be relevant to XCP too. Remember that the python library 'XenAPI.py' is mostly dynamic, and doesn't in itself have much knowledge about the API - so you won't find references to VM.create, for example, in that file.

 

Hope this helps,

 

Jon

 

 

On 10 Feb 2010, at 04:51, Chonduy Nguyen wrote:




Hi

I saw Xen doc mention about VM.create()

but i can't find python file describe this. ( not on XenAPI.py)

Can you please let me know where I can find the description on how to use this api ?

Thanks

Thuymai

 


From: Chonduy Nguyen <chonduy9@xxxxxxxxx>
To: xen-api@xxxxxxxxxxxxxxxxxxx
Sent: Tue, February 2, 2010 1:19:30 PM
Subject: Xen-API SDK

Hi

I can't find XenApi.py  on www.xen.org but I find it from commuity.citrix.com/display/xs/Download+SDKs

May I ask if this is the same as XCP XenAPI?

Can I use XenAPI send  command to VM ? - I saw the doc mentioned doing this by calling XenAPI.xapi_local()
but in my case I want to have webservice running at different server to access VM  remotely ( start/stop) Vm .

I saw some discussion saying that we can't do XenAPI to send command. (???)

Is that mean we need to have XenAPI webserver on each VM 

as XenAPI.Session(url) -- require url  passing in

Please let me know - I am new with this

Thank you

Thuymai

 


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.