Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BE644106A8 for ; Mon, 15 Apr 2013 22:10:41 +0000 (UTC) Received: (qmail 87261 invoked by uid 500); 15 Apr 2013 22:10:40 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 86997 invoked by uid 500); 15 Apr 2013 22:10:40 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 86980 invoked by uid 99); 15 Apr 2013 22:10:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Apr 2013 22:10:40 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Sangeetha.Hariharan@citrix.com designates 66.165.176.63 as permitted sender) Received: from [66.165.176.63] (HELO SMTP02.CITRIX.COM) (66.165.176.63) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Apr 2013 22:10:35 +0000 X-IronPort-AV: E=Sophos;i="4.87,479,1363132800"; d="scan'208";a="18630116" Received: from sjcpmailmx02.citrite.net ([10.216.14.75]) by FTLPIPO02.CITRIX.COM with ESMTP/TLS/RC4-MD5; 15 Apr 2013 22:10:13 +0000 Received: from SJCPMAILBOX01.citrite.net ([10.216.4.73]) by SJCPMAILMX02.citrite.net ([10.216.14.75]) with mapi; Mon, 15 Apr 2013 15:10:13 -0700 From: Sangeetha Hariharan To: "users@cloudstack.apache.org" , "dev@cloudstack.apache.org" Date: Mon, 15 Apr 2013 15:10:11 -0700 Subject: RE: How to set the default network when I specify IP use "iptonetworklist" parameter when deploy a vm? Thread-Topic: How to set the default network when I specify IP use "iptonetworklist" parameter when deploy a vm? Thread-Index: Ac459sqGDRdhVfpEQsebjfa6qm4e4gALsFvA Message-ID: <6E004C34C1C59E45A35B4338808BC31501445D1F7B98@SJCPMAILBOX01.citrite.net> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org When using iptonetworklist when deploying Vms ,first entry in the iptonetw= orklist ( iptonetworklist[0].networkid) becomes the default network. -Thanks Sangeetha -----Original Message----- From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]=20 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 "iptonetw= orklist" parameter when deploy a vm? NetworkIds parameter has to be specify regardless of iptonetworklist parame= ter 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" wrote: >Hi, > as far as I know, I can specify the default network by put it at the=20 >first when use "*networkids*" paramenter when deploy a vm. > but if I use "iptonetworklist" parameter specify the IP address,I=20 >find I can't specify the default network.I've test put it at the first=20 >and put it at the last. > So if I want to specify the default network as well as the IP=20 >address,what should I do? >appreciate your help=1B$B!*=1B(B >