git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.onelab.eu/git/nodemanager
[nodemanager.git]
/
slivermanager.py
diff --git
a/slivermanager.py
b/slivermanager.py
index
70c2186
..
383379e
100644
(file)
--- a/
slivermanager.py
+++ b/
slivermanager.py
@@
-29,7
+29,7
@@
DEFAULT_ALLOCATION = {
# CPU parameters
'cpu_pct': 0, # percent CPU reserved
'cpu_share': 1, # proportional share
# CPU parameters
'cpu_pct': 0, # percent CPU reserved
'cpu_share': 1, # proportional share
- 'cpu_cores':
0, # reserved cpu cores
+ 'cpu_cores':
"0b", # reserved cpu cores <num_cores>[b]
# bandwidth parameters
'net_min_rate': bwmin / 1000, # kbps
'net_max_rate': bwmax / 1000, # kbps
# bandwidth parameters
'net_min_rate': bwmin / 1000, # kbps
'net_max_rate': bwmax / 1000, # kbps