git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
089d72e
)
define the 'hrn' node tag
author
Tony Mack
<tmack@cs.princeton.edu>
Thu, 11 Mar 2010 22:30:38 +0000
(22:30 +0000)
committer
Tony 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]
patch
|
blob
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
+++ b/
db-config.d/010-node_tags
@@ -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)