Revision 2c9fa1ff lib/masterd/iallocator.py
b/lib/masterd/iallocator.py | ||
---|---|---|
144 | 144 |
MODE = constants.IALLOCATOR_MODE_ALLOC |
145 | 145 |
REQ_PARAMS = [ |
146 | 146 |
_INST_NAME, |
147 |
("memory", ht.TPositiveInt),
|
|
148 |
("spindle_use", ht.TPositiveInt),
|
|
147 |
("memory", ht.TNonNegativeInt),
|
|
148 |
("spindle_use", ht.TNonNegativeInt),
|
|
149 | 149 |
("disks", ht.TListOf(ht.TDict)), |
150 | 150 |
("disk_template", ht.TString), |
151 | 151 |
("os", ht.TString), |
Also available in: Unified diff