| Safe Haskell | Safe-Infered |
|---|
Ganeti.HTools.Group
Description
Module describing a node group.
Type declarations
The node group type.
Constructors
| Group | |
Fields
| |
Initialization functions
Arguments
| :: String | The node name |
| -> GroupID | The UUID of the group |
| -> AllocPolicy | The allocation policy for this group |
| -> [NetworkID] | The networks connected to this group |
| -> IPolicy | The instance policy for this group |
| -> [String] | The tags for this group |
| -> Group |
Create a new group.
setIdx :: Group -> Gdx -> GroupSource
Sets the group index.
This is used only during the building of the data structures.
isAllocable :: Group -> BoolSource
Checks if a group is allocable.
setUnallocable :: Group -> GroupSource
Makes the group unallocatable