Revision 54365762 Ganeti/HTools/Loader.hs
b/Ganeti/HTools/Loader.hs | ||
---|---|---|
56 | 56 |
|
57 | 57 |
-- * Types |
58 | 58 |
|
59 |
{-| The request type. |
|
59 |
{-| The iallocator request type.
|
|
60 | 60 |
|
61 | 61 |
This type denotes what request we got from Ganeti and also holds |
62 | 62 |
request-specific fields. |
... | ... | |
66 | 66 |
= Allocate Instance.Instance Int -- ^ A new instance allocation |
67 | 67 |
| Relocate Idx Int [Ndx] -- ^ Move an instance to a new |
68 | 68 |
-- secondary node |
69 |
| Evacuate [Ndx] -- ^ Evacuate nodes |
|
69 | 70 |
deriving (Show) |
70 | 71 |
|
71 | 72 |
-- | A complete request, as received from Ganeti. |
Also available in: Unified diff