Revision 1fe81531 Ganeti/HTools/Node.hs
b/Ganeti/HTools/Node.hs | ||
---|---|---|
56 | 56 |
, list |
57 | 57 |
-- * Misc stuff |
58 | 58 |
, AssocList |
59 |
, AllocElement |
|
59 | 60 |
, noSecondary |
60 | 61 |
) where |
61 | 62 |
|
... | ... | |
123 | 124 |
-- | A simple name for a node map. |
124 | 125 |
type List = Container.Container Node |
125 | 126 |
|
127 |
-- | A simple name for an allocation element (here just for logistic |
|
128 |
-- reasons) |
|
129 |
type AllocElement = (List, Instance.Instance, [Node]) |
|
130 |
|
|
126 | 131 |
-- | Constant node index for a non-moveable instance. |
127 | 132 |
noSecondary :: T.Ndx |
128 | 133 |
noSecondary = -1 |
Also available in: Unified diff