* luci/libs/uvl: add definition for route sections to network scheme
This commit is contained in:
parent
73d1fca4e8
commit
cc7e96e352
1 changed files with 34 additions and 0 deletions
|
@ -217,6 +217,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
|
config section
|
||||||
option name 'switch'
|
option name 'switch'
|
||||||
option title 'Section switch'
|
option title 'Section switch'
|
||||||
|
|
Loading…
Reference in a new issue