Revision 0e8ae201 Ganeti/HTools/Types.hs
b/Ganeti/HTools/Types.hs | ||
---|---|---|
27 | 27 |
( Idx |
28 | 28 |
, Ndx |
29 | 29 |
, NameAssoc |
30 |
, MoveJob |
|
31 |
, JobSet |
|
30 | 32 |
, Result(..) |
31 | 33 |
, Element(..) |
32 | 34 |
, FailMode(..) |
... | ... | |
45 | 47 |
-- | The type used to hold name-to-idx mappings. |
46 | 48 |
type NameAssoc = [(String, Int)] |
47 | 49 |
|
50 |
-- | Formatted solution output for one move (involved nodes and |
|
51 |
-- commands |
|
52 |
type MoveJob = ([Ndx], [String]) |
|
53 |
|
|
54 |
-- | A list of command elements |
|
55 |
type JobSet = [MoveJob] |
|
56 |
|
|
48 | 57 |
-- | Connection timeout (when using non-file methods). |
49 | 58 |
connTimeout :: Int |
50 | 59 |
connTimeout = 15 |
Also available in: Unified diff