diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-04-16 14:06:42 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-04-16 14:06:42 +0000 |
commit | be09c6ca6ef2b82a29530667e1acef382791b1d5 (patch) | |
tree | 52a7a588e17b06433cb66cbf714c1a0bb4d31633 /applications/luci-multiwan/root/lib/uci/schema | |
parent | daca626e86ff51e72f6423f3fb69e1a1d16d7c59 (diff) |
applications: add frontend for the MultiWAN agent
Diffstat (limited to 'applications/luci-multiwan/root/lib/uci/schema')
-rw-r--r-- | applications/luci-multiwan/root/lib/uci/schema/default/multiwan | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/applications/luci-multiwan/root/lib/uci/schema/default/multiwan b/applications/luci-multiwan/root/lib/uci/schema/default/multiwan new file mode 100644 index 0000000000..61f34e7033 --- /dev/null +++ b/applications/luci-multiwan/root/lib/uci/schema/default/multiwan @@ -0,0 +1,107 @@ +package multiwan + +config package + option title `Multi-WAN Agent' + +config section + option name 'multiwan' + option title 'Settings' + option named true + option required true + +config variable + option name 'default_route' + option title 'Default Route' + option section 'multiwan.multiwan' + option required true + +config variable + option name 'resolv_conf' + option title 'DNS configuration file' + option section 'multiwan.multiwan' + option required true + +config section + option name 'interface' + option title 'WAN Uplinks Configuration' + option named true + option required true + +config variable + option name 'weight' + option title 'Load Balancer Weight' + option section 'multiwan.interface' + option datatype 'integer' + option required true + +config variable + option name 'health_interval' + option title 'Health Monitor - Interval' + option section 'multiwan.multiwan' + option datatype 'integer' + option required true + +config variable + option name 'icmp_hosts' + option title 'Health Monitor - ICMP Host(s)' + option section 'multiwan.interface' + option required true + +config variable + option name 'timeout' + option title 'Health Monitor - ICMP Timeout' + option section 'multiwan.interface' + option datatype 'integer' + option required true + +config variable + option name 'health_fail_retries' + option title 'Attempts Before WAN Failover' + option section 'multiwan.interface' + option datatype 'integer' + option required true + +config variable + option name 'health_recovery_retries' + option title 'Attempts Before WAN Recovery' + option section 'multiwan.interface' + option datatype 'integer' + option required true + +config variable + option name 'failover_to' + option title 'Failover Traffic Destination' + option section 'multiwan.interface' + option required true + +config section + option name 'mwanfw' + option title 'Multi-WAN Traffic Rules' + option package 'multiwan.mwanfw' + +config section + option name 'src' + option title 'Match by Source Address' + option section 'dualwan.dualwanfw' + +config section + option name 'dst' + option title 'Match by Destination Address' + option section 'dualwan.dualwanfw' + +config section + option name 'proto' + option title 'Match by Protocol' + option section 'dualwan.dualwanfw' + +config section + option name 'ports' + option title 'Match by Destination Ports' + option section 'dualwan.dualwanfw' + +config section + option name 'wanrule' + option title 'WAN Traffic Decision' + option section 'multiwan.mwanfw' + option required true + |