diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-06 03:05:27 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-06 03:05:27 +0000 |
commit | cc7e96e352d4777d5ed98d3fc41c7e35c6500767 (patch) | |
tree | 3a38c9a3d9892ce839b7bfc7da6f16121f456601 /libs | |
parent | 73d1fca4e804558bcef4bdce8a21c09b022cfd8e (diff) |
* luci/libs/uvl: add definition for route sections to network scheme
Diffstat (limited to 'libs')
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/network | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libs/uvl/root/lib/uci/schema/default/network b/libs/uvl/root/lib/uci/schema/default/network index afd17fbde..81c8afc5f 100644 --- a/libs/uvl/root/lib/uci/schema/default/network +++ b/libs/uvl/root/lib/uci/schema/default/network @@ -218,6 +218,40 @@ config enum config section + option name 'route' + option title 'Static route definition' + option package 'network' + +config variable + option name 'interface' + option title 'Interface for the route' + option section 'network.route' + option valueof 'network.interface' + option required true + +config variable + option name 'target' + option title 'Target IPv4 host or net address' + option section 'network.route' + option datatype 'ip4addr' + option required true + +config variable + option name 'netmask' + option title 'Target IPv4 netmask (for subnet routes)' + option section 'network.route' + option datatype 'ip4addr' + +config variable + option name 'gateway' + option title 'IPv4 gateway address' + option section 'network.route' + option datatype 'ip4addr' + option required true + + + +config section option name 'switch' option title 'Section switch' option package 'network' |