From: Tony Mack Date: Thu, 11 Mar 2010 22:30:38 +0000 (+0000) Subject: define the 'hrn' node tag X-Git-Tag: PLCAPI-5.0-3^2~12 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=71aa3b2e8d09a3fd6568ed0e8c345a65d1c9f098;p=plcapi.git define the 'hrn' node tag --- diff --git a/db-config.d/010-node_tags b/db-config.d/010-node_tags new file mode 100644 index 00000000..6e835e70 --- /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)