From dev-return-60218-apmail-cloudstack-dev-archive=cloudstack.apache.org@cloudstack.apache.org Thu Jun 26 18:41:49 2014 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 2DFD411E49 for ; Thu, 26 Jun 2014 18:41:49 +0000 (UTC) Received: (qmail 37910 invoked by uid 500); 26 Jun 2014 18:41:48 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 37867 invoked by uid 500); 26 Jun 2014 18:41:48 -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 37855 invoked by uid 99); 26 Jun 2014 18:41:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2014 18:41:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Chiradeep.Vittal@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; Thu, 26 Jun 2014 18:41:42 +0000 X-IronPort-AV: E=Sophos;i="5.01,554,1400025600"; d="scan'208,217";a="147480674" Received: from sjcpex01cl03.citrite.net ([10.216.14.145]) by FTLPIPO02.CITRIX.COM with ESMTP/TLS/AES128-SHA; 26 Jun 2014 18:41:20 +0000 Received: from SJCPEX01CL02.citrite.net ([169.254.2.117]) by SJCPEX01CL03.citrite.net ([10.216.14.145]) with mapi id 14.03.0181.006; Thu, 26 Jun 2014 11:41:19 -0700 From: Chiradeep Vittal To: Pradeep Cloudstack , "dev@cloudstack.apache.org" CC: Sheng Yang , Jayapal Reddy Uradi , Alena Prokharchyk Subject: Re: NetworkOrchestrator selects 2 NetworkGurus at one time.... Thread-Topic: NetworkOrchestrator selects 2 NetworkGurus at one time.... Thread-Index: Ac+E1hlOvta+gvwoSUK6mI2gfcS7DAAOaTwAAAU4yYAAH9k68AK88J8AADWbEwA= Date: Thu, 26 Jun 2014 18:41:18 +0000 Message-ID: References: <1403690780.23414.YahooMailNeo@web126203.mail.ne1.yahoo.com> In-Reply-To: <1403690780.23414.YahooMailNeo@web126203.mail.ne1.yahoo.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.2.140509 x-originating-ip: [10.252.112.219] Content-Type: multipart/alternative; boundary="_000_CFD1B5B8485B0chiradeepvittalcitrixcom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_CFD1B5B8485B0chiradeepvittalcitrixcom_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable For 4.3/4.4, I=92m guessing this is the same solution. For 4.5, here=92s a couple of options we could implement: 1. New isolation provider (=93BrocadeVLAN=94 or =93JuniperEXVLAN=94) 2. When creating the network offering, the administrator gets to select = the guru 3. New VLAN provider mechanism. From: Pradeep Cloudstack > Reply-To: Pradeep Cloudstack > Date: Wednesday, June 25, 2014 at 3:06 AM To: "dev@cloudstack.apache.org" >, Chiradeep Vittal > Cc: Sheng Yang >, Jayap= al Reddy Uradi >, Alena Prokharchyk > Subject: Re: NetworkOrchestrator selects 2 NetworkGurus at one time.... We have a use-case where we will patch an existing 4.3 installation with ou= r plugin. We are facing the same issue . In 4.2, we used to disable the entry for ExternalNetworkGuru in componentContext.xml as part of installing the patch. How do we do this in 4.3 (on an existing installation) ? -Pradeep ________________________________ From: Ritu Sabharwal > To: "dev@cloudstack.apache.org" >; Chiradeep Vittal > Cc: Sheng Yang >; Jayap= al Reddy Uradi >; Alena Prokharchyk > Sent: Thursday, June 12, 2014 12:13 AM Subject: RE: NetworkOrchestrator selects 2 NetworkGurus at one time.... Thanks Chiradeep and Murali for the reply! I am thinking of explicitly telling ExternalNetworkGuru to skip design when= Brocade plugin is designing the network. I don't want to disable ExternalN= etworkGuru from default build when Brocade plugin is not present so won't e= xclude it from the spring class loader. Thanks & Regards, Ritu S. -----Original Message----- From: Murali Reddy [mailto:Murali.Reddy@citrix.com] Sent: Tuesday, June 10, 2014 10:54 PM To: Chiradeep Vittal; dev@cloudstack.apache.org Cc: Sheng Yang; Jayapal Reddy Uradi; Alena Prokharchyk Subject: Re: NetworkOrchestrator selects 2 NetworkGurus at one time.... This is know design issue. Unlike service orchestration (which has prescrip= tive way to tell which network elements to be called for with network offer= ings ) there is no such logic for network design. Orchestrator just loops t= hrough all the network guru's asking to design the network which can result= s in one or more networks. Hugo did a cleanup [1] but I believe it was not = merged as there was no consensus. There is 1-1 mapping between isolation ty= pe and Guru but In this case both Brocade Guru and ExternalNetworkGuru will= attempt to design the VLAN isolated networks. One in-elegent solution is to hard code ExternalGuestNetworu guru to skip n= etwork deign when Brocade plug-in is supposed to do design the network. Oth= er option could be exclude ExternalNetworkGuru bean from spring class loade= r. [1] https://www.mail-archive.com/dev@cloudstack.apache.org/msg17344.html From: Chiradeep Vittal >> Date: Wednesday, 11 June 2014 6:24 AM To: "dev@cloudstack.apache.org>" >> Cc: Sheng Yang >>, Murali Reddy >>, Jayapal Reddy Uradi >>, Alena Prokharchyk= >> Subject: Re: NetworkOrchestrator selects 2 NetworkGurus at one time.... That is strange. Looks like a bug to me. That is because the ExternalGuestN= etworkGuru returns 'true' for canHandle. From: Ritu Sabharwal >> Reply-To: "dev@cloudstack.apache.org>" >> Date: Tuesday, June 10, 2014 at 11:02 AM To: "dev@cloudstack.apache.org>" >> Subject: NetworkOrchestrator selects 2 NetworkGurus at one time.... Hi, I am writing a Network Guru for automatically orchestrating Brocade VDX swi= tches to provide tenant isolation via VLAN. In my NetworkGuru, I have imple= mented the canHandle() method for Guest isolated network in Advanced zone u= sing VLAN isolation. When the NetworkOrchestrator selects the NetworkGuru, = it selects my NetworkGuru and the ExternalGuestNetworkGuru also and I see 2= networks created. How do I make sure that ExternalGuestNetworkGuru is not = selected by NetworkOrchestrator. Thanks & Regards, Ritu S. --_000_CFD1B5B8485B0chiradeepvittalcitrixcom_--