projects
/
osm
/
vim-emu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0ec2510
)
deactivate mem limit for resource model re-write
author
peusterm
<manuel.peuster@uni-paderborn.de>
Sat, 16 Apr 2016 00:19:51 +0000
(
02:19
+0200)
committer
peusterm
<manuel.peuster@uni-paderborn.de>
Sat, 16 Apr 2016 00:19:51 +0000
(
02:19
+0200)
src/emuvim/dcemulator/node.py
patch
|
blob
|
history
diff --git
a/src/emuvim/dcemulator/node.py
b/src/emuvim/dcemulator/node.py
index
7590973
..
2911445
100755
(executable)
--- 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,
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
)
# connect all given networks
# if no --net option is given, network = [{}], so 1 empty dict in the list