|
|
|
|
|
|
|
|
|
|
xen-api
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+SDKsMay 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@xxxxxxxxxxxxxxxxxxxhttp://lists.xensource.com/mailman/listinfo/xen-api
|
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
|
|
|
|
|