| Safe Haskell | None |
|---|
Ganeti.HTools.Group
Description
Module describing a node group.
Synopsis
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 -> Group Source #
Sets the group index.
This is used only during the building of the data structures.
setName :: Group -> String -> Group Source #
Changes the alias.
This is used only during the building of the data structures.
isAllocable :: Group -> Bool Source #
Checks if a group is allocable.
setUnallocable :: Group -> Group Source #
Makes the group unallocatable