Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E64C8174E7 for ; Thu, 23 Oct 2014 20:11:48 +0000 (UTC) Received: (qmail 19527 invoked by uid 500); 23 Oct 2014 20:11:46 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 19435 invoked by uid 500); 23 Oct 2014 20:11:46 -0000 Mailing-List: contact commits-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 commits@cloudstack.apache.org Received: (qmail 19108 invoked by uid 99); 23 Oct 2014 20:11:46 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Oct 2014 20:11:46 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id CCB661F5E9; Thu, 23 Oct 2014 20:11:45 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dahn@apache.org To: commits@cloudstack.apache.org Date: Thu, 23 Oct 2014 20:11:55 -0000 Message-Id: <8b1ee022e0174f2bb615213fbd3e9d94@git.apache.org> In-Reply-To: <3dff0203478a447fabb1d8e715b750aa@git.apache.org> References: <3dff0203478a447fabb1d8e715b750aa@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [11/23] git commit: updated refs/heads/hotfix/CLOUDSTACK-7776 to 9e89a28 Pass on new command Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/15c8d8ca Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/15c8d8ca Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/15c8d8ca Branch: refs/heads/hotfix/CLOUDSTACK-7776 Commit: 15c8d8caf69111905b36f099ba1cbc9a7767466c Parents: 8766c8a Author: Mike Tutkowski Authored: Mon Oct 20 16:04:06 2014 -0600 Committer: Mike Tutkowski Committed: Tue Oct 21 16:01:15 2014 -0600 ---------------------------------------------------------------------- .../storage/resource/StorageSubsystemCommandHandlerBase.java | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/15c8d8ca/core/src/com/cloud/storage/resource/StorageSubsystemCommandHandlerBase.java ---------------------------------------------------------------------- diff --git a/core/src/com/cloud/storage/resource/StorageSubsystemCommandHandlerBase.java b/core/src/com/cloud/storage/resource/StorageSubsystemCommandHandlerBase.java index 16fb153..fc771e0 100644 --- a/core/src/com/cloud/storage/resource/StorageSubsystemCommandHandlerBase.java +++ b/core/src/com/cloud/storage/resource/StorageSubsystemCommandHandlerBase.java @@ -28,6 +28,7 @@ import org.apache.cloudstack.storage.command.CreateObjectCommand; import org.apache.cloudstack.storage.command.DeleteCommand; import org.apache.cloudstack.storage.command.DettachCommand; import org.apache.cloudstack.storage.command.IntroduceObjectCmd; +import org.apache.cloudstack.storage.command.SnapshotAndCopyCommand; import org.apache.cloudstack.storage.command.StorageSubSystemCommand; import com.cloud.agent.api.Answer; @@ -61,7 +62,10 @@ public class StorageSubsystemCommandHandlerBase implements StorageSubsystemComma return execute((DettachCommand)command); } else if (command instanceof IntroduceObjectCmd) { return processor.introduceObject((IntroduceObjectCmd)command); + } else if (command instanceof SnapshotAndCopyCommand) { + return processor.snapshotAndCopy((SnapshotAndCopyCommand)command); } + return new Answer((Command)command, false, "not implemented yet"); }