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 B3338178E7 for ; Sat, 11 Apr 2015 09:17:02 +0000 (UTC) Received: (qmail 78773 invoked by uid 500); 11 Apr 2015 09:17:02 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 78710 invoked by uid 500); 11 Apr 2015 09:17:02 -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 78693 invoked by uid 99); 11 Apr 2015 09:16:56 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Apr 2015 09:16:56 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A2825DFA98; Sat, 11 Apr 2015 09:16:56 +0000 (UTC) From: gauravaradhye To: dev@cloudstack.apache.org Reply-To: dev@cloudstack.apache.org Message-ID: Subject: [GitHub] cloudstack pull request: CLOUDSTACK-8375: Marvin - Code Improvemen... Content-Type: text/plain Date: Sat, 11 Apr 2015 09:16:56 +0000 (UTC) GitHub user gauravaradhye opened a pull request: https://github.com/apache/cloudstack/pull/155 CLOUDSTACK-8375: Marvin - Code Improvement - Verifying VCenter port groups corresponding to traffic types in a zone 1. Reducing complexity of function "verifyVCenterPortGroups". Earlier it had two for loops, now it has only one. The parameter zone_list has been replaced with "zone" because we map a VCenter to a zone and not multiple zones. 2. Correcting the logic used to generate expected port group names for public traffic. The port group with network rate as defined in "network.throttling.rate" is created only when a VM is deployed and its network uses a public IP from public IP range dedicated to public traffic. 3. Adding a wrapper function for verifying guest traffic port groups which creates vcenter connection object and calls verifyVCenterPortGroups function with GUEST_TRAFFIC as parameter. This function is very handy and can be called from any networking test case with only a single line call. This separates the additional logic from test case and moves it to this wrapper function. The code has been tested against multiple types of Vmware deployments including mixture tagged and untagged traffic types and mixed switches (SVS and DVS). You can merge this pull request into a Git repository by running: $ git pull https://github.com/gauravaradhye/cloudstack 8375 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/155.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #155 ---- commit 1159089ca51ac44d41e565a2e0356741fe06b8ac Author: Gaurav Aradhye Date: 2015-04-11T09:07:28Z CLOUDSTACK-8375: Marvin - Code Improvement - related to verifying VCenter port groups corresponding to traffic types in a zone ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---