diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-11-26 23:38:30 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-11-26 23:38:30 +0000 |
commit | 128ba2828a93ae6f5de9573bf48a117ed02c3b6a (patch) | |
tree | 2f8f6af4142a24c8c54fdd096647783826b62ef7 /modules/admin-core | |
parent | 3793244fcbd6a989e1eee183727b13b554c0f21c (diff) |
modules/admin-core: extend network scheme to cover ipv6 routes and metric options
modules/admin-full: add route6 support
i18n/english: add required strings
Diffstat (limited to 'modules/admin-core')
-rw-r--r-- | modules/admin-core/root/lib/uci/schema/default/network | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/modules/admin-core/root/lib/uci/schema/default/network b/modules/admin-core/root/lib/uci/schema/default/network index e0a6dc190..8cf79cb3f 100644 --- a/modules/admin-core/root/lib/uci/schema/default/network +++ b/modules/admin-core/root/lib/uci/schema/default/network @@ -386,6 +386,46 @@ config variable option datatype 'ip4addr' option required 'true' +config variable + option name 'metric' + option title 'Metric' + option section 'network.route6' + option datatype 'uint' + + + +config section + option name 'route6' + option title 'Static IPv6 route definition' + option package 'network' + +config variable + option name 'interface' + option title 'Interface' + option section 'network.route6' + option valueof 'network.interface' + option required 'true' + +config variable + option name 'target' + option title 'Target IPv6 host or network (CIDR)' + option section 'network.route6' + option datatype 'ip6addr' + option required 'true' + +config variable + option name 'gateway' + option title 'IPv6 gateway' + option section 'network.route6' + option datatype 'ip6addr' + option required 'true' + +config variable + option name 'metric' + option title 'Metric' + option section 'network.route6' + option datatype 'uint' + config section |