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:

http://docs.vmd.citrix.com/XenServer/5.5.0/1.0/en_gb/sdk.html

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 <[email protected]<mailto:[email protected]>>
To: [email protected]<mailto:[email protected]>
Sent: Tue, February 2, 2010 1:19:30 PM
Subject: Xen-API SDK

Hi

I can't find XenApi.py  on www.xen.org<http://www.xen.org> but I find it from 
commuity.citrix.com/display/xs/Download+SDKs<http://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
[email protected]<mailto:[email protected]>
http://lists.xensource.com/mailman/listinfo/xen-api

_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api

Reply via email to