Revision f3f76ccc htools/Ganeti/HTools/Types.hs

b/htools/Ganeti/HTools/Types.hs
33 33
  , Score
34 34
  , Weight
35 35
  , GroupID
36
  , defaultGroupID
36 37
  , AllocPolicy(..)
37 38
  , allocPolicyFromRaw
38 39
  , allocPolicyToRaw
......
62 63
  , isOk
63 64
  , isBad
64 65
  , eitherToResult
66
  , annotateResult
65 67
  , Element(..)
66 68
  , FailMode(..)
67 69
  , FailStats
......
100 102
-- | The Group UUID type.
101 103
type GroupID = String
102 104

  
105
-- | Default group UUID (just a string, not a real UUID).
106
defaultGroupID :: GroupID
107
defaultGroupID = "00000000-0000-0000-0000-000000000000"
108

  
103 109
-- | The Group allocation policy type.
104 110
--
105 111
-- Note that the order of constructors is important as the automatic

Also available in: Unified diff