X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=emuvim%2Fapi%2Fzerorpcapi.py;fp=emuvim%2Fapi%2Fzerorpcapi.py;h=8a0813165658a0511a18bb3932db9756be736523;hb=fa4bcc77c95dc01bfd98f664fafe433d255cfa33;hp=c6b9c700dac31de7ad763024dde8d28c3d5cccb7;hpb=d47ab253c3958c8ea0c03c520ef99502935c7263;p=osm%2Fvim-emu.git diff --git a/emuvim/api/zerorpcapi.py b/emuvim/api/zerorpcapi.py index c6b9c70..8a08131 100644 --- a/emuvim/api/zerorpcapi.py +++ b/emuvim/api/zerorpcapi.py @@ -60,7 +60,8 @@ class MultiDatacenterApi(object): # 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