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 DAA14E5F0 for ; Mon, 25 Feb 2013 22:48:36 +0000 (UTC) Received: (qmail 10388 invoked by uid 500); 25 Feb 2013 22:48:36 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 10355 invoked by uid 500); 25 Feb 2013 22:48:36 -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 10341 invoked by uid 99); 25 Feb 2013 22:48:36 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2013 22:48:36 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 95BB81C79FE; Mon, 25 Feb 2013 22:48:28 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============5833724572659107978==" 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" , "Frank Zhang" Date: Mon, 25 Feb 2013 22:48:28 -0000 Message-ID: <20130225224828.1281.8678@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: <20130223022339.18986.24540@reviews.apache.org> In-Reply-To: <20130223022339.18986.24540@reviews.apache.org> Reply-To: "Venkata Siva Vijayendra Bhamidipati" --===============5833724572659107978== 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. 25, 2013, 10:48 p.m.) Review request for cloudstack and Kelven Yang. Changes ------- Uploading latest consolidated diff that applies on master. 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) ----- core/src/com/cloud/vm/UserVmCloneSettingVO.java PRE-CREATION = plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/Vmware= Manager.java 445b2f0 = plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/Vmware= ManagerImpl.java 6b6bf19 = plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/Vmwar= eResource.java f754c58 = server/conf/migration-components.xml 90fbafa = server/src/com/cloud/configuration/Config.java 1cea9aa = server/src/com/cloud/vm/UserVmManagerImpl.java 6cb3f1a = server/src/com/cloud/vm/dao/UserVmCloneSettingDao.java PRE-CREATION = server/src/com/cloud/vm/dao/UserVmCloneSettingDaoImpl.java PRE-CREATION = 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 = setup/db/db/schema-410to420.sql be8e7f5 = 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 --===============5833724572659107978==--