incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject svn commit: r1066714 - in /incubator/deltacloud/trunk/site: content/framework.mdown output/framework.html
Date Thu, 03 Feb 2011 00:53:08 GMT
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 @@
         <h4><code>reboot_instance(credentials, id)</code></h4>
         
         <p>The <code>reboot_instance(...)</code> method should trigger
a running instance to
-        be rebooted. This method has no return value.</p>
+        be rebooted. This method should return an <code>Instance</code> object.</p>
         
         <h4><code>stop_instance(credentials, id)</code></h4>
         
-        <p>The <code>stop_instance(...)</code> 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.</p>
+        <p>The <code>stop_instance(...)</code> method should trigger a
running instance to be
+        stopped. This method should return an <code>Instance</code> object. A
cloud provider
+        may allow restarting an instance, or may not.</p>
         
         <h4><code>destroy_instance(credentials, id)</code></h4>
         



Mime
View raw message