X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=slivermanager.py;h=383379e959759c182ba3690b953084f099bddcd8;hb=cc5a3f5b82d1dd36d58f705f4f64cb8f3da75de1;hp=70c2186b586d163ae83e2778acd258d4c18d068d;hpb=47a2f121f043f7545d68457c21bd995602d3c4b9;p=nodemanager.git diff --git a/slivermanager.py b/slivermanager.py index 70c2186..383379e 100644 --- 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_cores': 0, # reserved cpu cores + 'cpu_cores': "0b", # reserved cpu cores [b] # bandwidth parameters 'net_min_rate': bwmin / 1000, # kbps 'net_max_rate': bwmax / 1000, # kbps