# TODO what to return UUID / given name / internal name ?
logging.debug("RPC CALL: compute start")
try:
- return self.dcs.get(dc_name).startCompute(compute_name)
+ c = self.dcs.get(dc_name).startCompute(compute_name)
+ return str(c.name)
except Exception as ex:
logging.exception("RPC error.")
return ex.message
# do bookkeeping
self.containers[name] = d
d.datacenter = self
- return name # we might use UUIDs for naming later on
+ return d # we might use UUIDs for naming later on
def stopCompute(self, name):
"""