applications: add frontend for the MultiWAN agent
[project/luci.git] / applications / luci-multiwan / root / lib / uci / schema / default / multiwan
1 package multiwan
2
3 config package
4         option title    `Multi-WAN Agent'
5
6 config section
7         option name     'multiwan'
8         option title    'Settings'
9         option named    true
10         option required true
11
12 config variable
13         option name     'default_route'
14         option title    'Default Route'
15         option section  'multiwan.multiwan'
16         option required true
17
18 config variable
19         option name     'resolv_conf'
20         option title    'DNS configuration file'
21         option section  'multiwan.multiwan'
22         option required true
23
24 config section
25         option name     'interface'
26         option title    'WAN Uplinks Configuration'
27         option named    true
28         option required true
29
30 config variable
31         option name     'weight'
32         option title    'Load Balancer Weight'
33         option section  'multiwan.interface'
34         option datatype 'integer'
35         option required true
36
37 config variable
38         option name     'health_interval'
39         option title    'Health Monitor - Interval'
40         option section  'multiwan.multiwan'
41         option datatype 'integer'
42         option required true
43
44 config variable
45         option name     'icmp_hosts'
46         option title    'Health Monitor - ICMP Host(s)'
47         option section  'multiwan.interface'
48         option required true
49
50 config variable
51         option name     'timeout'
52         option title    'Health Monitor - ICMP Timeout'
53         option section  'multiwan.interface'
54         option datatype 'integer'
55         option required true
56
57 config variable
58         option name     'health_fail_retries'
59         option title    'Attempts Before WAN Failover'
60         option section  'multiwan.interface'
61         option datatype 'integer'
62         option required true
63
64 config variable
65         option name     'health_recovery_retries'
66         option title    'Attempts Before WAN Recovery'
67         option section  'multiwan.interface'
68         option datatype 'integer'
69         option required true
70
71 config variable
72         option name     'failover_to'
73         option title    'Failover Traffic Destination'
74         option section  'multiwan.interface'
75         option required true
76
77 config section
78         option name     'mwanfw'
79         option title    'Multi-WAN Traffic Rules'
80         option package  'multiwan.mwanfw'
81
82 config section
83         option name     'src'
84         option title    'Match by Source Address'
85         option section  'dualwan.dualwanfw'
86
87 config section
88         option name     'dst'
89         option title    'Match by Destination Address'
90         option section  'dualwan.dualwanfw'
91
92 config section
93         option name     'proto'
94         option title    'Match by Protocol'
95         option section  'dualwan.dualwanfw'
96
97 config section
98         option name     'ports'
99         option title    'Match by Destination Ports'
100         option section  'dualwan.dualwanfw'
101
102 config section
103         option name     'wanrule'
104         option title    'WAN Traffic Decision'
105         option section  'multiwan.mwanfw'
106         option required true
107