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 010F3ED63 for ; Fri, 15 Feb 2013 20:46:01 +0000 (UTC) Received: (qmail 31201 invoked by uid 500); 15 Feb 2013 20:46:00 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 31081 invoked by uid 500); 15 Feb 2013 20:46:00 -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 31070 invoked by uid 99); 15 Feb 2013 20:46:00 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2013 20:46:00 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 16E561C76A0; Fri, 15 Feb 2013 20:45:51 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3739662640443809156==" MIME-Version: 1.0 Subject: Re: Review Request: Support for full clones on ESX for Cloudstack (CS-670) From: "Venkata Siva Vijayendra Bhamidipati" To: "Kelven Yang" Cc: "Sateesh Chodapuneedi" , "cloudstack" , "Venkata Siva Vijayendra Bhamidipati" Date: Fri, 15 Feb 2013 20:45:51 -0000 Message-ID: <20130215204551.9635.65880@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Venkata Siva Vijayendra Bhamidipati" X-ReviewGroup: cloudstack X-ReviewRequest-URL: https://reviews.apache.org/r/9439/ X-Sender: "Venkata Siva Vijayendra Bhamidipati" References: <20130215105627.9635.87453@reviews.apache.org> In-Reply-To: <20130215105627.9635.87453@reviews.apache.org> Reply-To: "Venkata Siva Vijayendra Bhamidipati" --===============3739662640443809156== 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/9439/ ----------------------------------------------------------- (Updated Feb. 15, 2013, 8:45 p.m.) Review request for cloudstack and Kelven Yang. Changes ------- Attempting to re-upload patch 3. Hopefully it will be readable via reviewbo= ard. If not, please refer to the attached file. Description ------- Please find the diffs for full clone guest VM support for ESX on Cloudstack= . The diffs do not include unit tests yet. The tests will be uploaded at th= e earliest. This addresses bug CS-670. Diffs (updated) ----- server/src/com/cloud/vm/UserVmManagerImpl.java 19887ff = server/test/com/cloud/vm/dao/UserVmCloneSettingDaoImplTest.java PRE-CREAT= ION = server/test/com/cloud/vm/dao/UserVmCloneSettingDaoTestConfiguration.java = PRE-CREATION = server/test/resources/CloneSettingDaoTestContext.xml PRE-CREATION = Diff: https://reviews.apache.org/r/9439/diff/ Testing ------- Manual Testing =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Creation of guest VMs when the global flag vmware.create.full.clone is set = to its default value of false will create those guest VMs as linked clones = (current default behavior without these changes). Creation of guest VMs when the global flag vmware.create.full.clone is set = to true will create those guest VMs as full clones. Appropriate entries are created in the user_vm_clone_setting table of the c= loud schema to reflect the clone type of the VMs. Linked clones and full clones can reside together in the same cluster and w= ork as expected. Thanks, Venkata Siva Vijayendra Bhamidipati --===============3739662640443809156==--