add tag types for sites and persons
[myplc.git] / db-config.d / 02-nodetags
1 #################### node tags
2 default_node_tags = [
3     { 'tagname' : 'arch',
4       'description' : 'architecture name',
5       'category' : 'node/config', 
6       'min_role_id' : 40} ,
7     { 'tagname' : 'pldistro',
8       'description' : 'PlanetLab distribution',
9       'category' : 'node/config', 
10       'min_role_id' : 10} ,
11     { 'tagname' : 'deployment',
12       'description' : 'typically "alpha", "beta", or "production"',
13       'category' : 'node/operation', 
14       'min_role_id' : 10} ,
15
16     { 'tagname' : 'exempt_node_until',
17       'description' : 'Exclude this node from MyOps until given date (YYYYMMDD)',
18       'category' : 'node/myops', 
19       'min_role_id' : 10} ,
20     ]
21
22 for node_type in default_node_tags: SetTagType (node_type)