You are viewing a plain text version of this content. The canonical link for it is here.
Posted to tashi-commits@incubator.apache.org by st...@apache.org on 2011/07/25 04:27:24 UTC

svn commit: r1150538 - /incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/vmcontrolinterface.py

Author: stroucki
Date: Mon Jul 25 04:27:24 2011
New Revision: 1150538

URL: http://svn.apache.org/viewvc?rev=1150538&view=rev
Log:
vmcontrolinterface: add getInstances to interface

Modified:
    incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/vmcontrolinterface.py

Modified: incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/vmcontrolinterface.py
URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/vmcontrolinterface.py?rev=1150538&r1=1150537&r2=1150538&view=diff
==============================================================================
--- incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/vmcontrolinterface.py (original)
+++ incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/vmcontrolinterface.py Mon Jul 25 04:27:24 2011
@@ -27,6 +27,10 @@ class VmControlInterface(object):
 		self.config = config
 		self.dfs = dfs
 		self.nm = nm
+
+        def getInstances(self):
+                """Will return a dict of instances by vmId to the caller"""
+		raise NotImplementedError
 	
 	def instantiateVm(self, instance):
 		"""Takes an InstanceConfiguration, creates a VM based on it,