cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sangeetha Hariharan <Sangeetha.Hariha...@citrix.com>
Subject RE: How to set the default network when I specify IP use "iptonetworklist" parameter when deploy a vm?
Date Mon, 15 Apr 2013 22:10:11 GMT
When using iptonetworklist  when deploying Vms ,first entry in the iptonetworklist ( iptonetworklist[0].networkid)
becomes the default network.

-Thanks
Sangeetha

-----Original Message-----
From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com] 
Sent: Monday, April 15, 2013 9:32 AM
To: dev@cloudstack.apache.org; users@cloudstack.apache.org
Subject: Re: How to set the default network when I specify IP use "iptonetworklist" parameter
when deploy a vm?


NetworkIds parameter has to be specify regardless of iptonetworklist parameter presence. So
you have to define both parameters, and the first network from the networkIds list will be
used as a default.

-Alena.

On 4/15/13 7:44 AM, "sx chen" <cloudchen0620@gmail.com> wrote:

>Hi,
>   as far as I know, I can specify the default network by put it at the 
>first when use "*networkids*" paramenter when deploy a vm.
>   but if I use "iptonetworklist" parameter specify the IP address,I 
>find I can't specify the default network.I've test put it at the first 
>and put it at the last.
>   So if I want to specify the default network as well as the IP 
>address,what should I do?
>appreciate your help!
>



Mime
View raw message