split plc.d/ and db-config.d between myplc and plcapi modules as a first step
[plcapi.git] / db-config.d / 012-interface_tags
1 # -*-python-*-
2 # $Id$
3 # $URL$
4 #################### interface settings
5 # xxx this should move to PLC/Accessors
6
7 default_interface_types = \
8 [
9     {'category' : "interface/general",
10      'tagname' : "ifname",
11      'description': "Set interface name, instead of eth0 or the like",
12      'min_role_id' : 40},
13
14     {'category' : "interface/multihome",
15      'tagname' : "alias",
16      'description': "Specifies that the network is used for multihoming",
17      'min_role_id' : 40},
18     
19     {'category' : "interface/hidden",
20      'tagname' : "backdoor",
21      'description': "For testing new settings",
22      'min_role_id' : 10},
23 ]
24
25 for setting_type in default_interface_types:
26     SetTagType(setting_type)