Revision f4c0b8c5 Ganeti/HTools/Types.hs

b/Ganeti/HTools/Types.hs
35 35
    , baseUtil
36 36
    , addUtil
37 37
    , subUtil
38
    , defVcpuRatio
39
    , defReservedDiskRatio
38 40
    , Placement
39 41
    , IMove(..)
40 42
    , MoveJob
......
124 126
queryTimeout :: Int
125 127
queryTimeout = 60
126 128

  
129
-- | Default vcpu-to-pcpu ratio (randomly chosen value).
130
defVcpuRatio :: Double
131
defVcpuRatio = 64
132

  
133
-- | Default max disk usage ratio.
134
defReservedDiskRatio :: Double
135
defReservedDiskRatio = 0
136

  
127 137
{-|
128 138

  
129 139
This is similar to the JSON library Result type - *very* similar, but

Also available in: Unified diff