From 214fc0d61b25fd4e2afad15b45ed660d5e6ede33 Mon Sep 17 00:00:00 2001 From: peusterm Date: Sat, 16 Apr 2016 02:19:51 +0200 Subject: [PATCH] deactivate mem limit for resource model re-write --- src/emuvim/dcemulator/node.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1