ganeti-3.1: Cluster-based virtualization management software
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ganeti.HTools.Tags

Description

Tags

This module holds all the tag interpretation done by htools.

Synopsis

Documentation

hasStandbyTag :: Node -> Bool #

Predicate of having a standby tag.

getMigRestrictions :: [String] -> [String] -> Set String #

Given the cluster tags extract the migration restrictions from a node tag.

getRecvMigRestrictions :: [String] -> [String] -> Set String #

Given the cluster tags, extract the set of migration restrictions a node is able to receive from its node tags.

getLocations :: [String] -> [String] -> Set String #

Given the cluster tags, extract the node location tags from the node tags.