Return-Path: Delivered-To: apmail-incubator-deltacloud-commits-archive@minotaur.apache.org Received: (qmail 25188 invoked from network); 3 Feb 2011 00:53:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2011 00:53:32 -0000 Received: (qmail 77526 invoked by uid 500); 3 Feb 2011 00:53:32 -0000 Delivered-To: apmail-incubator-deltacloud-commits-archive@incubator.apache.org Received: (qmail 77505 invoked by uid 500); 3 Feb 2011 00:53:31 -0000 Mailing-List: contact deltacloud-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltacloud-dev@incubator.apache.org Delivered-To: mailing list deltacloud-commits@incubator.apache.org Received: (qmail 77496 invoked by uid 99); 3 Feb 2011 00:53:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 00:53:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 00:53:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B26AB2388903; Thu, 3 Feb 2011 00:53:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1066714 - in /incubator/deltacloud/trunk/site: content/framework.mdown output/framework.html Date: Thu, 03 Feb 2011 00:53:08 -0000 To: deltacloud-commits@incubator.apache.org From: lutter@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110203005308.B26AB2388903@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: lutter Date: Thu Feb 3 00:53:08 2011 New Revision: 1066714 URL: http://svn.apache.org/viewvc?rev=1066714&view=rev Log: * site/content/framework.mdown: instance actions need to return an instance Modified: incubator/deltacloud/trunk/site/content/framework.mdown incubator/deltacloud/trunk/site/output/framework.html Modified: incubator/deltacloud/trunk/site/content/framework.mdown URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/content/framework.mdown?rev=1066714&r1=1066713&r2=1066714&view=diff ============================================================================== --- incubator/deltacloud/trunk/site/content/framework.mdown (original) +++ incubator/deltacloud/trunk/site/content/framework.mdown Thu Feb 3 00:53:08 2011 @@ -199,13 +199,13 @@ one compatible with the image should be #### `reboot_instance(credentials, id)` The `reboot_instance(...)` method should trigger a running instance to -be rebooted. This method has no return value. +be rebooted. This method should return an `Instance` object. #### `stop_instance(credentials, id)` -The `stop_instance(...)` method should trigger a running instance to -be stopped. This method has no return value. A cloud provider may -allow restarting an instance, or may not. +The `stop_instance(...)` method should trigger a running instance to be +stopped. This method should return an `Instance` object. A cloud provider +may allow restarting an instance, or may not. #### `destroy_instance(credentials, id)` Modified: incubator/deltacloud/trunk/site/output/framework.html URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/site/output/framework.html?rev=1066714&r1=1066713&r2=1066714&view=diff ============================================================================== --- incubator/deltacloud/trunk/site/output/framework.html (original) +++ incubator/deltacloud/trunk/site/output/framework.html Thu Feb 3 00:53:08 2011 @@ -273,13 +273,13 @@

reboot_instance(credentials, id)

The reboot_instance(...) method should trigger a running instance to - be rebooted. This method has no return value.

+ be rebooted. This method should return an Instance object.

stop_instance(credentials, id)

-

The stop_instance(...) method should trigger a running instance to - be stopped. This method has no return value. A cloud provider may - allow restarting an instance, or may not.

+

The stop_instance(...) method should trigger a running instance to be + stopped. This method should return an Instance object. A cloud provider + may allow restarting an instance, or may not.

destroy_instance(credentials, id)