RE: POST in deployvirtual machine

2013-11-20 Thread Suresh Sadhu
Yes we can use POST request in deployvirtualmachine api, pass method=POST to 
overcome the get limit

https://cwiki.apache.org/confluence/display/CLOUDSTACK/DeployVirtualMachine+userdata+enhancements
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Test+cases+for+DeployVirtualMachine+userdata+enhancements

regards
sadhu






-Original Message-
From: Sebastien Goasguen [mailto:run...@gmail.com] 
Sent: 20 November 2013 16:54
To: dev@cloudstack.apache.org
Subject: POST in deployvirtual machine

Hi,

Can we use post for every case of deployVirtualMachine ?

it seems we can pass userdata via get but it limits us to 2KB. To get up to 
32KB we need to move to POST requests.

Just wondering if we can use POST in every case...

-sebastien


Re: POST in deployvirtual machine

2013-11-20 Thread Sebastien Goasguen

On Nov 20, 2013, at 7:54 AM, Suresh Sadhu suresh.sa...@citrix.com wrote:

 Yes we can use POST request in deployvirtualmachine api, pass method=POST to 
 overcome the get limit
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/DeployVirtualMachine+userdata+enhancements
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Test+cases+for+DeployVirtualMachine+userdata+enhancements
 
 regards
 sadhu
 

thanks, found the answer, but it only works with 4.2

 
 
 
 
 
 -Original Message-
 From: Sebastien Goasguen [mailto:run...@gmail.com] 
 Sent: 20 November 2013 16:54
 To: dev@cloudstack.apache.org
 Subject: POST in deployvirtual machine
 
 Hi,
 
 Can we use post for every case of deployVirtualMachine ?
 
 it seems we can pass userdata via get but it limits us to 2KB. To get up to 
 32KB we need to move to POST requests.
 
 Just wondering if we can use POST in every case...
 
 -sebastien