define the 'hrn' node tag
authorTony Mack <tmack@cs.princeton.edu>
Thu, 11 Mar 2010 22:30:38 +0000 (22:30 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Thu, 11 Mar 2010 22:30:38 +0000 (22:30 +0000)
db-config.d/010-node_tags [new file with mode: 0644]

diff --git a/db-config.d/010-node_tags b/db-config.d/010-node_tags
new file mode 100644 (file)
index 0000000..6e835e7
--- /dev/null
@@ -0,0 +1,17 @@
+# -*-python-*-
+# $Id: 010-node_tags 
+# $URL: 
+#################### node tag types
+
+# Setup default node tag types
+nodetag_types = \
+[
+    # Node HRN (SFA specific human readable name)
+    {'tagname': 'hrn',
+     'description': 'SFA specific human readable name',
+     'category' : 'sfa/general',
+     'min_role_id': 10},
+]
+
+for nodetag_type in nodetag_types:
+    SetTagType(nodetag_type)