Revision 8bc34c7b htools/Ganeti/HTools/QC.hs
b/htools/Ganeti/HTools/QC.hs | ||
---|---|---|
342 | 342 |
cpu_t <- choose (base_cpu, top_cpu) |
343 | 343 |
offl <- arbitrary |
344 | 344 |
let n = Node.create name (fromIntegral mem_t) mem_n mem_f |
345 |
(fromIntegral dsk_t) dsk_f (fromIntegral cpu_t) offl 0 |
|
345 |
(fromIntegral dsk_t) dsk_f (fromIntegral cpu_t) offl 1 0
|
|
346 | 346 |
n' = Node.setPolicy nullIPolicy n |
347 | 347 |
return $ Node.buildPeers n' Container.empty |
348 | 348 |
|
Also available in: Unified diff