From: peusterm Date: Mon, 18 Apr 2016 15:59:19 +0000 (+0200) Subject: Fix: I somehow messed up some commits by clicking the "revert" button on the github... X-Git-Tag: v3.1~140^2~2^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=59c92b72fc0fb1b54e8b57e5721fe3ef38ff10dd;p=osm%2Fvim-emu.git Fix: I somehow messed up some commits by clicking the "revert" button on the github page. Stupid me. --- diff --git a/src/emuvim/dcemulator/resourcemodel/upb/simple.py b/src/emuvim/dcemulator/resourcemodel/upb/simple.py index 1610b6a..a127446 100644 --- a/src/emuvim/dcemulator/resourcemodel/upb/simple.py +++ b/src/emuvim/dcemulator/resourcemodel/upb/simple.py @@ -212,6 +212,8 @@ class UpbSimpleCloudDcRM(BaseResourceModel): r["dc_max_mu"] = self.dc_max_mu r["dc_alloc_cu"] = self.dc_alloc_cu r["dc_alloc_mu"] = self.dc_alloc_mu + r["single_cu_percentage"] = self.single_cu + r["single_mu_percentage"] = self.single_mu r["allocation_state"] = allocation_state return r @@ -244,4 +246,4 @@ class UpbSimpleCloudDcRM(BaseResourceModel): l["rm_state"] = self.get_state_dict() # append to logfile with open(path, "a") as f: - f.write("%s\n" % json.dumps(l)) + f.write("%s\n" % json.dumps(l)) \ No newline at end of file