Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 30EE6EA29 for ; Wed, 27 Feb 2013 13:12:09 +0000 (UTC) Received: (qmail 36700 invoked by uid 500); 27 Feb 2013 13:12:08 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 36660 invoked by uid 500); 27 Feb 2013 13:12:08 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 36649 invoked by uid 99); 27 Feb 2013 13:12:08 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 13:12:08 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id E3EEA1C7ACD; Wed, 27 Feb 2013 13:12:00 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============4352862502642174869==" MIME-Version: 1.0 Subject: Re: Review Request: PATCH-5 for feature 'Support for VMware dvSwitch in CloudStack'. From: "Sateesh Chodapuneedi" To: "Murali Reddy" , "Kelven Yang" Cc: "Sateesh Chodapuneedi" , "cloudstack" Date: Wed, 27 Feb 2013 13:12:00 -0000 Message-ID: <20130227131200.17326.90602@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Sateesh Chodapuneedi" X-ReviewGroup: cloudstack X-ReviewRequest-URL: https://reviews.apache.org/r/9210/ X-Sender: "Sateesh Chodapuneedi" References: <20130226080938.1281.27914@reviews.apache.org> In-Reply-To: <20130226080938.1281.27914@reviews.apache.org> Reply-To: "Sateesh Chodapuneedi" --===============4352862502642174869== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/9210/#review17148 ----------------------------------------------------------- Ship it! Ship It! - Sateesh Chodapuneedi On Feb. 26, 2013, 8:09 a.m., Sateesh Chodapuneedi wrote: > = > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/9210/ > ----------------------------------------------------------- > = > (Updated Feb. 26, 2013, 8:09 a.m.) > = > = > Review request for cloudstack, Murali Reddy and Kelven Yang. > = > = > Description > ------- > = > This is 5/final patch for feature 'Support for VMware dvSwitch in CloudSt= ack'. > = > This patch contains = > 1)Changes to addCluster done in vmware discoverer to support vswitch type= provided as parameters. Also performing validation of vswitch type paramet= er provided with addCluster api call. Physical network configuration is val= idated. > 2)Changes to vmware resource to use specified vswitch type while preparin= g network for guest and public traffic types > 3)Changes to vmware manager to introduce new global parameter vmware.port= s.per.dvportgroup. Some cleanup. > Virtual switch type could be chosen at zone level or at cluster level for= specific traffic type. autoExpand of dvPortGroup is available in code but = disabled as its breaking because vCenter 4.1 does not support autoExpand fe= ature. This would be supported once vSphere SDK 5.1 is added to CloudStack. > = > = > This addresses bug CLOUDSTACK-657. > = > = > Diffs > ----- > = > plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/VmwareServer= Discoverer.java 5d7edce = > plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/Vmwa= reManager.java 36fa0f3 = > plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/Vmwa= reManagerImpl.java a0d9943 = > plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/Vmw= areResource.java 4839b35 = > server/src/com/cloud/resource/ResourceManagerImpl.java 14628c1 = > vmware-base/src/com/cloud/hypervisor/vmware/mo/HypervisorHostHelper.jav= a 50f9541 = > = > Diff: https://reviews.apache.org/r/9210/diff/ > = > = > Testing > ------- > = > Testing > ------- > = > Manual testing:- > 1) Tested guest traffic over dvSwitch on a dedicated physical network. In= this case management and public traffic uses standard vSwitch on a common = physical network. > 2) Tested both guest traffic and public traffic over dvSwitch on a physic= al network. > 3) Use optional parameters added to AddClusterCmd to override Zone level = network traffic label. Tested 2 clusters, one with standard vSwitch and oth= er with dvSwitch. > 4) Tested all 3 traffic types on single physical network with global para= meter 'vmware.use.dvswitch' set to false. This is default configuration sce= nario. > = > = > Added following tests, > 1) Test fetching dvSwitch object from vCenter > 2) Test for presence of dvPortGroup > 3) Test presence of dvPortGroup > 4) Test get existing dvPortGroup > 5) fetch dvPortGroup configuration > 6) Test compare dvPortGroup configuration > 7) Test update dvPortGroup configuration > = > = > Thanks, > = > Sateesh Chodapuneedi > = > --===============4352862502642174869==--