ppp keep-alive is non-atomic, closes #30
[project/luci.git] / modules / admin-core / root / lib / uci / schema / default / network
index 9c9d0ed..e74d9d7 100644 (file)
@@ -83,7 +83,7 @@ config variable
        option title    'keep-alive'
        option description      'Number of connection failures before reconnect'
        option section  'network.interface'
-       option datatype 'uint'
+       option datatype 'string'
        list   depends  'proto=pppoe'
        list   depends  'proto=pptp'
        list   depends  'proto=ppp'
@@ -210,7 +210,6 @@ config variable
        option title    'Service type'
        option section  'network.interface'
        option type             'enum'
-       option required 'true'
        list   depends  'proto=3g'
 
 config enum
@@ -385,8 +384,47 @@ config variable
        option title    'IPv4 gateway'
        option section  'network.route'
        option datatype 'ip4addr'
+
+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 'false'
+
+config variable
+       option name     'metric'
+       option title    'Metric'
+       option section  'network.route6'
+       option datatype 'uint'
+
 
 
 config section