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 05220F2D4 for ; Wed, 29 May 2013 11:36:38 +0000 (UTC) Received: (qmail 11677 invoked by uid 500); 29 May 2013 11:36:37 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 11624 invoked by uid 500); 29 May 2013 11:36:37 -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 11610 invoked by uid 99); 29 May 2013 11:36:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 May 2013 11:36:37 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [208.91.199.208] (HELO us2.outbound.mailhostbox.com) (208.91.199.208) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 May 2013 11:36:32 +0000 Received: from localhost (unknown [202.75.201.5]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: tsp@v0g0n.org) by us2.outbound.mailhostbox.com (Postfix) with ESMTPSA id 3E3BA1471044; Wed, 29 May 2013 11:35:49 +0000 (GMT) Date: Wed, 29 May 2013 17:05:46 +0530 From: Prasanna Santhanam To: dev@cloudstack.apache.org Cc: Jayapal Reddy Uradi Subject: Re: NicSecondaryIp Message-ID: <20130529113546.GB17106@cloud-2.local> Mail-Followup-To: dev@cloudstack.apache.org, Jayapal Reddy Uradi References: <20130528101148.GA17586@cloud-2.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-CTCH-RefID: str=0001.0A020207.51A5E818.0067,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CTCH-SenderID: tsp@apache.org X-CTCH-SenderID-TotalMessages: 2 X-CTCH-SenderID-TotalSpam: 0 X-CTCH-SenderID-TotalSuspected: 0 X-CTCH-SenderID-TotalBulk: 0 X-CTCH-SenderID-TotalConfirmed: 0 X-CTCH-SenderID-TotalRecipients: 0 X-CTCH-SenderID-TotalVirus: 0 X-CTCH-SenderID-BlueWhiteFlag: 0 X-Scanned-By: MIMEDefang 2.72 on 172.16.214.28 X-Virus-Checked: Checked by ClamAV on apache.org Thanks Chiradeep, to provide some context I'm trying to derive the right entities that an API acts on. I'm deriving these from the response types, exposing them from API discovery and building Marvin classes. For most of the CloudStack API model I'm able to generate logical groupings of the APIs into entities. That's where the NicSecondaryIp failed. While I don't want to affect the server side model too much, I'll try and put in transformations for entities like this on marvin's side. Thanks, On Tue, May 28, 2013 at 10:34:17PM +0000, Chiradeep Vittal wrote: > Nic already exists ( com.cloud.vm.Nic) > NicSecondaryIp is trying to model the optional additional ips available on > the Nic in addition to the primary Ip. > > On 5/28/13 3:11 AM, "Prasanna Santhanam" wrote: > > >There is a ControlledEntity named NicSecondaryIp that is representing > >a nic on the VM. The APIs that this entity is acted upon by are : > > > >addIpToNic and removeIpFromNic. > > > >Should this entity be more appropriately be renamed to just Nic? There > >is also a NicIpAlias entity that seems to fit this too. > > > >-- > >Prasanna., > > > >------------------------ > >Powered by BigRock.com > > -- Prasanna., ------------------------ Powered by BigRock.com