Package ganeti :: Package utils :: Module tags
[hide private]
[frames] | no frames]

Module tags

source code

Utility functions for tag related operations

Functions [hide private]
 
GetExclusionPrefixes(ctags)
Extract the exclusion tag prefixes from the cluster tags
source code
 
IsGoodTag(prefixes, tag)
Decide if a string is a tag
source code

Imports: constants


Function Details [hide private]

IsGoodTag(prefixes, tag)

source code 

Decide if a string is a tag

Parameters:
  • prefixes - set of prefixes that would indicate the tag being suitable
  • tag - the tag in question