File tree Expand file tree Collapse file tree
netjsonconfig/backends/raspbian Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77schema = merge_config (default_schema , {
88 "definitions" : {
9+ "ap_wireless_settings" : {
10+ "allOf" : [
11+ {
12+ "properties" : {
13+ "macfilter" : {
14+ "type" : "string" ,
15+ "title" : "MAC Filter" ,
16+ "description" : "specifies the mac filter policy, \" disable\" to disable "
17+ "the filter, \" allow\" to treat it as whitelist or "
18+ "\" deny\" to treat it as blacklist" ,
19+ "enum" : [
20+ None ,
21+ "accept" ,
22+ "deny" ,
23+ ],
24+ "options" : {
25+ "enum_titles" : [
26+ "disabled" ,
27+ "accept" ,
28+ "deny"
29+ ]
30+ },
31+ "default" : "disable" ,
32+ "propertyOrder" : 15 ,
33+ },
34+ "maclist" : {
35+ "type" : "array" ,
36+ "title" : "MAC List" ,
37+ "description" : "mac addresses that will be filtered according to the policy "
38+ "specified in the \" macfilter\" option" ,
39+ "propertyOrder" : 16 ,
40+ "items" : {
41+ "type" : "string" ,
42+ "title" : "MAC address" ,
43+ "pattern" : "^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$" ,
44+ "minLength" : 17 ,
45+ "maxLength" : 17 ,
46+ }
47+ }
48+ }
49+ }
50+ ]
51+ },
952 "radio_hwmode_11g" : {
1053 "properties" : {
1154 "hwmode" : {
You can’t perform that action at this time.
0 commit comments