1 #################### interface settings
2 # xxx this should move to PLC/Accessors
4 # Setup default slice attribute types
7 {'category' : "interface/general",
9 'description': "Set interface name, instead of eth0 or the like",
12 {'category' : "interface/multihome",
14 'description': "Specifies that the network is used for multihoming",
17 {'category' : "interface/hidden",
18 'tagname' : "backdoor",
19 'description': "For testing new settings",
23 { 'category' : "interface/wifi",
25 'description' : "802.11 %s -- see %s"%(y,z),
26 'min_role_id' : 40 } for (x,y,z) in [
28 ("mode","Mode","iwconfig"),
30 ("essid","ESSID","iwconfig"),
32 ("nw","Network Id","iwconfig"),
34 ("freq","Frequency","iwconfig"),
36 ("channel","Channel","iwconfig"),
38 ("sens","sensitivity threshold","iwconfig"),
40 ("rate","Rate","iwconfig"),
42 ("key","key","iwconfig key"),
44 ("key1","key1","iwconfig key [1]"),
46 ("key2","key2","iwconfig key [2]"),
48 ("key3","key3","iwconfig key [3]"),
50 ("key4","key4","iwconfig key [4]"),
52 ("securitymode","Security mode","iwconfig enc"),
54 ("iwconfig","Additional parameters to iwconfig","ifup-wireless"),
56 ("iwpriv","Additional parameters to iwpriv","ifup-wireless"),
61 for setting_type in setting_types:
62 SetTagType(setting_type)