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

Re: [Xen-API] XEN-XAPI - API Specification documentation



I'm not a CloudStack expert, I can't tell. But I do know XenServer,
Xe-CLI and documentation talk about cloning then provisioning as the
way to create a new VM. Otherwise, XAPI doc tells that every class had
a constructor (usually called "create")[1]. That's why it's possible
VM.create exists, but it's not documented at all (or I missed it
too).[2]


That's why for Xen Orchestra, we choose to documented way.

[1]: http://docs.vmd.citrix.com/XenServer/6.2.0/1.0/en_gb/api in
"Classes, Fields and Messages" paragraph
[2]: Maybe some XAPI people here can enlighten us?

On Thu, Apr 3, 2014 at 10:41 PM, chris snow <chsnow123@xxxxxxxxx> wrote:
> Hi Olivier,
>
> As can be seen in my gist, the XMLRPC method is:
> <methodName>VM.create</methodName>
>
> Are you saying that call gets mapped by the xen-xapi to a VM.clone call?  If
> so, is there somewhere that documents the mappings from xmlrpc to other api
> calls?
>
> Btw, the gists are just some of the calls I captured between CloudStack and
> xen.
>
> Many thanks,
>
> Chris
>
> On 3 Apr 2014 21:30, "Olivier Lambert" <lambert.olivier@xxxxxxxxx> wrote:
>>
>> Hi Chris,
>>
>> You don't create directly a VM, you clone a template, then provision
>> it. Please take a look on Xen Orchestra project, we are exposing XAPI
>> to the Web, there is a lot of examples of how to connect to the XAPI
>> (https://github.com/vatesfr/xo-server/)
>>
>> On Thu, Apr 3, 2014 at 8:31 PM, chris snow <chsnow123@xxxxxxxxx> wrote:
>> > Hi Oliver, I hadn't seen the docs at that link - thank you.
>> >
>> > I was expecting to find a create method in the VM class [1], but there
>> > doesn't appear to be one defined, except on the Overview page?  Where
>> > can I find what parameters VM.create accepts?
>> >
>> > Many thanks,
>> >
>> > Chris
>> >
>> > ---
>> > [1] http://docs.vmd.citrix.com/XenServer/6.2.0/1.0/en_gb/api/?c=VM
>> >
>> >
>> > On Thu, Apr 3, 2014 at 6:46 PM, Olivier Lambert
>> > <lambert.olivier@xxxxxxxxx> wrote:
>> >> Hi,
>> >>
>> >> Did you check here:
>> >> http://docs.vmd.citrix.com/XenServer/6.2.0/1.0/en_gb/api/ ?
>> >
>> >
>> >
>> > --
>> > Check out my professional profile and connect with me on LinkedIn.
>> > http://lnkd.in/cw5k69
>
>
> _______________________________________________
> Xen-api mailing list
> Xen-api@xxxxxxxxxxxxx
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

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