From: peusterm Date: Sat, 16 Apr 2016 00:19:51 +0000 (+0200) Subject: deactivate mem limit for resource model re-write X-Git-Tag: v3.1~147^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=214fc0d61b25fd4e2afad15b45ed660d5e6ede33;p=osm%2Fvim-emu.git deactivate mem limit for resource model re-write --- diff --git a/src/emuvim/dcemulator/node.py b/src/emuvim/dcemulator/node.py index 7590973..2911445 100755 --- a/src/emuvim/dcemulator/node.py +++ b/src/emuvim/dcemulator/node.py @@ -178,8 +178,8 @@ class Datacenter(object): flavor_name=flavor_name, cpu_period=int(cpu_period) if cpu_limit > 0 else None, # set cpu limits if needed cpu_quota=int(cpu_quota) if cpu_limit > 0 else None, - mem_limit="%dm" % int(mem_limit) if mem_limit > 0 else None, # set mem limits if needed - memswap_limit="%dm" % int(mem_limit) if mem_limit > 0 else None # lets set swap to mem limit for now + #mem_limit="%dm" % int(mem_limit) if mem_limit > 0 else None, # set mem limits if needed + #memswap_limit="%dm" % int(mem_limit) if mem_limit > 0 else None # lets set swap to mem limit for now ) # connect all given networks # if no --net option is given, network = [{}], so 1 empty dict in the list