4 option name 'interface'
5 option title 'Network interface definition'
6 option package 'network'
7 list depends 'proto=static, ipaddr, netmask'
8 list depends 'proto=pppoe, username, password'
9 list depends 'proto=pptp, username, password, server'
10 list depends 'proto=dhcp'
16 option title 'Physical interface name'
17 option section 'network.interface'
22 option title 'IPv4 host address'
23 option section 'network.interface'
24 option datatype 'ip4addr'
28 option title 'IPv4 network mask'
29 option section 'network.interface'
30 option datatype 'ip4addr'
34 option title 'Option proto'
35 option section 'network.interface'
40 option variable 'network.interface.proto'
42 option title 'Retrieve IP address via DHCP'
45 option variable 'network.interface.proto'
47 option title 'Interface is a PPTP tunnel endpoint'
50 option variable 'network.interface.proto'
52 option title 'Interface has static network configuration'
55 option variable 'network.interface.proto'
57 option title 'Retrieve IP address via PPPoE'
61 option title 'Option type'
62 option section 'network.interface'
66 option variable 'network.interface.type'
68 option title 'This is a bridge interface'
73 option title 'Section switch'
74 option package 'network'