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

Re: Deploying VM with custom CPU and RAM


with cloudmonkey, it look like this:
details[0].cpuNumber=2 details[0].cpuSpeed=1000 details[0].memory=1024
rootdisksize=15

PL


On Sun, Sep 9, 2018 at 8:10 AM Fariborz Navidan <mdvlinquest@xxxxxxxxx>
wrote:

> Thank you, I just cheked apilog.log and found the parameter names.
>
> On Sun, Sep 9, 2018 at 2:41 PM Ivan Kudryavtsev <kudryavtsev_ia@xxxxxxxxx>
> wrote:
>
> > Hi, why don't you just track RESTful API call sent thru API in Cloudstack
> > UI. Just click F12 in Chrome and trace the call.
> >
> > вс, 9 сент. 2018 г., 16:57 Fariborz Navidan <mdvlinquest@xxxxxxxxx>:
> >
> > > Hello,
> > >
> > > I have created a customizable service offering in cloudstack and want
> to
> > > deploy VM via deployVirtualMachine() API call. If I specify id of
> custom
> > > service offering, I will need to specify cpu cores and memory, It is
> not
> > > documented how should I fill those parameters I have tried
> > > details[0].cpunumber=&details[0].cpuspeed=1000 still I get Invalid cpu
> > > cores value. How do I specify cpu cores?
> > >
> > > Thanks in advance.
> > >
> >
>