diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-25 13:57:28 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-25 13:57:28 +0000 |
commit | 729c5a24a8be86020acaff855f1c1e2882a39e42 (patch) | |
tree | 8943ddf6682d0c4fa39c9859e87c116b86904eae /libs/uvl/root | |
parent | bab278613b6e5e4112a2921e60f7b65b7332409e (diff) |
* luci/libs/uvl: move most schemes to their corresponding packages
Diffstat (limited to 'libs/uvl/root')
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/ddns | 147 | ||||
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/dhcp | 225 | ||||
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/dropbear | 24 | ||||
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/firewall | 243 | ||||
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/fstab | 54 | ||||
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/httpd | 37 | ||||
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/luci_hosts | 21 | ||||
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/luci_splash | 14 | ||||
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/network | 277 | ||||
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/ntpclient | 53 | ||||
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/qos | 200 | ||||
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/samba | 76 | ||||
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/system | 98 | ||||
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/upnpd | 28 | ||||
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/uvc-streamer | 41 | ||||
-rw-r--r-- | libs/uvl/root/lib/uci/schema/default/wireless | 510 |
16 files changed, 0 insertions, 2048 deletions
diff --git a/libs/uvl/root/lib/uci/schema/default/ddns b/libs/uvl/root/lib/uci/schema/default/ddns deleted file mode 100644 index f947aff0b..000000000 --- a/libs/uvl/root/lib/uci/schema/default/ddns +++ /dev/null @@ -1,147 +0,0 @@ -package ddns - -config package - option title 'Dynamic DNS configuration' - -config section - option name 'service' - option title 'DynDNS service entry' - option package 'ddns' - option named true - option required true - -config variable - option name 'enabled' - option title 'Enable this service entry' - option section 'ddns.service' - option datatype 'boolean' - -config variable - option name 'service_name' - option title 'Name of the DynDNS provider' - option section 'ddns.service' - option datatype 'string' - -config variable - option name 'domain' - option title 'Own DynDNS domain' - option section 'ddns.service' - option required true - -config variable - option name 'username' - option title 'Account username' - option section 'ddns.service' - option required true - -config variable - option name 'password' - option title 'Account password' - option section 'ddns.service' - option required true - -config variable - option name 'ip_source' - option title 'Method to determine current IP address' - option section 'ddns.service' - option type 'enum' - option required true - -config enum - option variable 'ddns.service.ip_source' - option value 'network' - option title 'Read ip address from /etc/config/network' - -config enum - option variable 'ddns.service.ip_source' - option value 'interface' - option title 'Determine ip address from given hardware interface' - -config enum - option variable 'ddns.service.ip_source' - option value 'web' - option title 'Determine own IP using a remote web page' - -config variable - option name 'ip_network' - option title 'Configured network to use IP from' - option section 'ddns.service' - option depends 'ip_source=network' - option valueof 'network.interface' - -config variable - option name 'ip_interface' - option title 'Physical network interface to read IP from' - option section 'ddns.service' - option depends 'ip_source=interface' - -config variable - option name 'ip_url' - option title 'Web page used to determine IP address' - option section 'ddns.service' - option depends 'ip_source=web' - -config variable - option name 'update_url' - option title 'URL format to use for updating DNS information (for yet-unknown providers)' - option section 'ddns.service' - -config variable - option name 'check_interval' - option title 'Update check interval' - option section 'ddns.service' - option datatype 'integer' - option required true - -config variable - option name 'check_unit' - option title 'Unit for update check interval' - option section 'ddns.service' - option type 'enum' - option required true - -config enum - option variable 'ddns.service.check_unit' - option value 'seconds' - -config enum - option variable 'ddns.service.check_unit' - option value 'minutes' - -config enum - option variable 'ddns.service.check_unit' - option value 'hours' - -config enum - option variable 'ddns.service.check_unit' - option value 'days' - -config variable - option name 'force_interval' - option title 'Forced update interval' - option section 'ddns.service' - option datatype 'integer' - option required true - -config variable - option name 'force_unit' - option title 'Unit of forced update interval' - option section 'ddns.service' - option type 'enum' - option required true - -config enum - option variable 'ddns.service.force_unit' - option value 'seconds' - -config enum - option variable 'ddns.service.force_unit' - option value 'minutes' - -config enum - option variable 'ddns.service.force_unit' - option value 'hours' - -config enum - option variable 'ddns.service.force_unit' - option value 'days' diff --git a/libs/uvl/root/lib/uci/schema/default/dhcp b/libs/uvl/root/lib/uci/schema/default/dhcp deleted file mode 100644 index 5f352328b..000000000 --- a/libs/uvl/root/lib/uci/schema/default/dhcp +++ /dev/null @@ -1,225 +0,0 @@ -package dhcp - -config package - option title 'Dnsmasq DHCPd configuration' - -config section - option name 'dnsmasq' - option package 'dhcp' - option title 'General Settings' - option unique true - option required true - option dynamic true - -config variable - option name 'domainneeded' - option section 'dhcp.dnsmasq' - option title 'Domain required' - option description "Don't forward DNS-Requests without DNS-Name" - option datatype boolean - -config variable - option name 'authoritative' - option section 'dhcp.dnsmasq' - option title 'Authoritative' - option description 'This is the only DHCP in the local network' - option datatype boolean - -config variable - option name 'boguspriv' - option section 'dhcp.dnsmasq' - option title 'Filter private' - option description "Don't forward reverse lookups for local networks" - option datatype boolean - -config variable - option name 'filterwin2k' - option section 'dhcp.dnsmasq' - option title 'Filter useless' - option description 'Filter useless DNS-queries of Windows-systems' - option datatype boolean - -config variable - option name 'localise_queries' - option section 'dhcp.dnsmasq' - option title 'Localise queries' - option description 'Localises the hostname depending on its subnet' - option datatype boolean - -config variable - option name 'local' - option section 'dhcp.dnsmasq' - option title 'Local Server' - -config variable - option name 'domain' - option section 'dhcp.dnsmasq' - option title 'Local Domain' - -config variable - option name 'expandhosts' - option section 'dhcp.dnsmasq' - option title 'Expand Hosts' - option description 'adds domain names to hostentries in the resolv file' - option datatype boolean - -config variable - option name 'nonegcache' - option section 'dhcp.dnsmasq' - option title "don't cache unknown" - option description 'prevents caching of negative DNS-replies' - option datatype boolean - -config variable - option name 'readethers' - option section 'dhcp.dnsmasq' - option title 'Use /etc/ethers' - option description 'Read /etc/ethers to configure the DHCP-Server' - option datatype boolean - -config variable - option name 'leasefile' - option section 'dhcp.dnsmasq' - option title 'Leasefile' - option description 'file where given DHCP-leases will be stored' - option datatype file - -config variable - option name 'resolvfile' - option section 'dhcp.dnsmasq' - option title 'Resolvfile' - option description 'local DNS file' - option datatype file - -config variable - option name 'nohosts' - option section 'dhcp.dnsmasq' - option title 'Ignore /etc/hosts ' - option datatype boolean - -config variable - option name 'strictorder' - option section 'dhcp.dnsmasq' - option title 'Strict order' - option description 'DNS-Server will be queried in the order of the resolvfile' - option datatype boolean - -config variable - option name 'logqueries' - option section 'dhcp.dnsmasq' - option title 'Log queries' - option datatype boolean - -config variable - option name 'noresolv' - option section 'dhcp.dnsmasq' - option title 'Ignore resolve file' - option datatype boolean - -config variable - option name 'dnsforwardmax' - option section 'dhcp.dnsmasq' - option title 'concurrent queries' - option datatype uint - -config variable - option name 'port' - option section 'dhcp.dnsmasq' - option title 'DNS-Port' - option datatype port - -config variable - option name 'ednspacket_max' - option section 'dhcp.dnsmasq' - option title 'ednspacket_max' - option datatype uint - -config variable - option name 'dhcpleasemax' - option section 'dhcp.dnsmasq' - option title 'max. DHCP -Leases' - option datatype uint - -config variable - option name 'addnhosts' - option section 'dhcp.dnsmasq' - option title 'additional hostfile' - option datatype file - -config variable - option name 'queryport' - option section 'dhcp.dnsmasq' - option title 'query port' - option datatype port - - -config section - option name 'dhcp' - option package 'dhcp' - option title 'DHCP interface configuration' - option dynamic true - -config variable - option name 'interface' - option section 'dhcp.dhcp' - option title 'Interface' - option required true - option type reference - list valueof network.interface - list valueof network.alias - -config variable - option name 'start' - option section 'dhcp.dhcp' - option title 'Start' - option description 'first address (last octet)' - option datatype uint - -config variable - option name 'limit' - option section 'dhcp.dhcp' - option title 'Limit' - option description 'number of leased addresses -1' - option datatype uint - -config variable - option name 'leasetime' - option section 'dhcp.dhcp' - option title 'Leasetime' - -config variable - option name 'dynamicdhcp' - option section 'dhcp.dhcp' - option title 'Dynamic DHCP ' - option datatype boolean - -config variable - option name 'name' - option section 'dhcp.dhcp' - option title 'Name' - -config variable - option name 'ignore' - option section 'dhcp.dhcp' - option title 'Ignore interface' - option description 'disable DHCP for this interface' - option datatype boolean - -config variable - option name 'netmask' - option section 'dhcp.dhcp' - option title 'IPv4-Netmask' - option datatype ip4addr - -config variable - option name 'force' - option section 'dhcp.dhcp' - option title 'Force' - option datatype boolean - -config variable - option name 'dhcp_option' - option section 'dhcp.dhcp' - option title 'DHCP-Options' - option description 'See "dnsmasq --help dhcp" for a list of available options.' - option type lazylist diff --git a/libs/uvl/root/lib/uci/schema/default/dropbear b/libs/uvl/root/lib/uci/schema/default/dropbear deleted file mode 100644 index ba490a705..000000000 --- a/libs/uvl/root/lib/uci/schema/default/dropbear +++ /dev/null @@ -1,24 +0,0 @@ -package dropbear - -config package - option title 'Dropbear SSHd configuration' - -config section - option name 'dropbear' - option title 'General SSH daemon settings' - option package 'dropbear' - option required true - option unique true - -config variable - option name 'PasswordAuth' - option title 'Permit password authentication' - option section 'dropbear.dropbear' - option datatype 'boolean' - -config variable - option name 'Port' - option title 'Listening port' - option section 'dropbear.dropbear' - option datatype 'integer' - option required true diff --git a/libs/uvl/root/lib/uci/schema/default/firewall b/libs/uvl/root/lib/uci/schema/default/firewall deleted file mode 100644 index 3c2de4621..000000000 --- a/libs/uvl/root/lib/uci/schema/default/firewall +++ /dev/null @@ -1,243 +0,0 @@ -package firewall - -config package - option title 'Firewall configuration' - -config section - option name 'zone' - option title 'Firewall zones' - option package 'firewall' - -config variable - option name 'name' - option title 'Name' - option section 'firewall.zone' - option required true - -config variable - option name 'network' - option title 'Networks belonging to this zone' - option section 'firewall.zone' - option valueof 'network.interface' - option multival true - -config variable - option name 'forward' - option title 'Zone specific action for forwarded traffic' - option section 'firewall.zone' - option required true - -config variable - option name 'input' - option title 'Zone specific action for incoming traffic' - option section 'firewall.zone' - option required true - -config variable - option name 'output' - option title 'Zone specific action for outgoing traffic' - option section 'firewall.zone' - option required true - -config variable - option name 'masq' - option title 'Enable masquerading for outgoing zone traffic' - option section 'firewall.zone' - option datatype 'boolean' - - - -config section - option name 'defaults' - option title 'Global firewall defaults' - option package 'firewall' - option unique true - option required true - -config variable - option name 'forward' - option title 'Action for forwarded traffic' - option section 'firewall.defaults' - option required true - -config variable - option name 'input' - option title 'Action for incoming traffic' - option section 'firewall.defaults' - option required true - -config variable - option name 'output' - option title 'Action for outgoing traffic' - option section 'firewall.defaults' - option required true - -config variable - option name 'syn_flood' - option title 'Enable syn-flood protection' - option section 'firewall.defaults' - option datatype 'boolean' - - - -config section - option name 'forwarding' - option title 'Forwarding rules' - option package 'firewall' - -config variable - option name 'src' - option title 'Source zone' - option section 'firewall.forwarding' - option valueof 'firewall.zone.name' - option required true - -config variable - option name 'dest' - option title 'Destination zone' - option section 'firewall.forwarding' - option valueof 'firewall.zone.name' - option required true - - - -config section - option name 'rule' - option title 'Custom rules' - option package 'firewall' - list depends 'target, src' - list depends 'target, dest' - list depends 'target, src_ip' - list depends 'target, src_port' - list depends 'target, src_mac' - list depends 'target, dest_ip' - list depends 'target, dest_port' - list depends 'target, proto' - -config variable - option name 'src' - option title 'Source zone' - option section 'firewall.rule' - option valueof 'firewall.zone.name' - -config variable - option name 'src_ip' - option title 'Source IP address' - option section 'firewall.rule' - option datatype 'ipaddr' - -config variable - option name 'src_port' - option title 'Source port' - option section 'firewall.rule' - option datatype 'portrange' - -config variable - option name 'src_mac' - option title 'Source MAC address' - option section 'firewall.rule' - option datatype 'macaddr' - -config variable - option name 'dest' - option title 'Destination zone' - option section 'firewall.rule' - option valueof 'firewall.zone.name' - -config variable - option name 'dest_ip' - option title 'Destination IP address' - option section 'firewall.rule' - option datatype 'ipaddr' - -config variable - option name 'dest_port' - option title 'Destination port' - option section 'firewall.rule' - option datatype 'portrange' - -config variable - option name 'proto' - option title 'Protocol' - option section 'firewall.rule' - option datatype 'string' - -config variable - option name 'target' - option title 'Option target' - option section 'firewall.rule' - option datatype 'string' - - - -config section - option name 'redirect' - option title 'Redirection rules' - option package 'firewall' - -config variable - option name 'src' - option title 'Source zone' - option section 'firewall.redirect' - option valueof 'firewall.zone.name' - -config variable - option name 'src_ip' - option title 'Source IP address' - option section 'firewall.redirect' - option datatype 'ipaddr' - -config variable - option name 'src_port' - option title 'Source port' - option section 'firewall.redirect' - option datatype 'portrange' - -config variable - option name 'src_dport' - option title 'Source destination port' - option section 'firewall.redirect' - option datatype 'portrange' - -config variable - option name 'src_mac' - option title 'Option src_mac' - option section 'firewall.redirect' - option datatype 'macaddr' - -config variable - option name 'dest' - option title 'Destination zone' - option section 'firewall.redirect' - option valueof 'firewall.zone.name' - -config variable - option name 'dest_ip' - option title 'Destination IP address' - option section 'firewall.redirect' - option datatype 'ipaddr' - -config variable - option name 'dest_port' - option title 'Destination port' - option section 'firewall.redirect' - option datatype 'portrange' - -config variable - option name 'proto' - option title 'Protocol' - option section 'firewall.redirect' - option datatype 'string' - - - -config section - option name 'include' - option title 'User defined config includes' - option package 'firewall' - -config variable - option name 'path' - option title 'Path to the include file' - option section 'firewall.include' - option datatype 'file' diff --git a/libs/uvl/root/lib/uci/schema/default/fstab b/libs/uvl/root/lib/uci/schema/default/fstab deleted file mode 100644 index 58dff587b..000000000 --- a/libs/uvl/root/lib/uci/schema/default/fstab +++ /dev/null @@ -1,54 +0,0 @@ -package fstab - -config package - option title 'Filesystem configuration' - -config section - option name 'mount' - option title 'Filesystem entry' - option package 'fstab' - -config variable - option name 'device' - option title 'Device node' - option section 'fstab.mount' - -config variable - option name 'enabled' - option title 'Enable this mount point' - option section 'fstab.mount' - option datatype 'boolean' - option required 'true' - -config variable - option name 'fstype' - option title 'Filesystem type' - option section 'fstab.mount' - -config variable - option name 'options' - option title 'Mount options' - option section 'fstab.mount' - -config variable - option name 'target' - option title 'Mount point' - option section 'fstab.mount' - option datatype 'directory' - - -config section - option name 'swap' - option title 'Swap entry' - option package 'fstab' - -config variable - option name 'device' - option title 'Swap file or Partition' - option section 'fstab.swap' - -config variable - option name 'enabled' - option title 'Enable this swap' - option section 'fstab.swap' - option datatype 'boolean' diff --git a/libs/uvl/root/lib/uci/schema/default/httpd b/libs/uvl/root/lib/uci/schema/default/httpd deleted file mode 100644 index 8dcf0959b..000000000 --- a/libs/uvl/root/lib/uci/schema/default/httpd +++ /dev/null @@ -1,37 +0,0 @@ -package httpd - -config package - option title 'Busybox HTTPd configuration' - -config section - option name 'httpd' - option title 'General httpd settings' - option package 'httpd' - option required true - -config variable - option name 'home' - option title 'Document root' - option section 'httpd.httpd' - option datatype 'directory' - option required true - -config variable - option name 'port' - option title 'Listening port' - option section 'httpd.httpd' - option datatype 'integer' - option required true - -config variable - option name 'c_file' - option title 'Configuration file' - option section 'httpd.httpd' - option datatype 'file' - -config variable - option name 'realm' - option title 'Authentication Realm' - option description 'Realm shown on login prompt' - option section 'httpd.httpd' - diff --git a/libs/uvl/root/lib/uci/schema/default/luci_hosts b/libs/uvl/root/lib/uci/schema/default/luci_hosts deleted file mode 100644 index e2597f476..000000000 --- a/libs/uvl/root/lib/uci/schema/default/luci_hosts +++ /dev/null @@ -1,21 +0,0 @@ -package luci_hosts - -config section - option name 'host' - option title 'Host entry definition' - option package 'luci_hosts' - -config variable - option name 'hostname' - option title 'Hostname' - option section 'luci_hosts.host' - option datatype 'hostname' - option required true - -config variable - option name 'ipaddr' - option title 'IP address' - option section 'luci_hosts.host' - option datatype 'ipaddr' - option required true - diff --git a/libs/uvl/root/lib/uci/schema/default/luci_splash b/libs/uvl/root/lib/uci/schema/default/luci_splash deleted file mode 100644 index f3201416a..000000000 --- a/libs/uvl/root/lib/uci/schema/default/luci_splash +++ /dev/null @@ -1,14 +0,0 @@ -package luci_splash - -config section - option name 'core' - option title 'Common DHCP splash settings' - option package 'luci_splash' - option unique true - option required true - -config variable - option name 'leasetime' - option title 'Lease time in hours' - option section 'luci_splash.core' - option datatype 'float' diff --git a/libs/uvl/root/lib/uci/schema/default/network b/libs/uvl/root/lib/uci/schema/default/network deleted file mode 100644 index 57d02a63e..000000000 --- a/libs/uvl/root/lib/uci/schema/default/network +++ /dev/null @@ -1,277 +0,0 @@ -package network - -config package - option title 'Network configuration' - -config section - option name 'interface' - option title 'Network interface' - option package 'network' - list depends 'proto=static, ipaddr, netmask' - list depends 'proto=static, ip6addr' - list depends 'proto=pppoe, username, password' - list depends 'proto=pptp, username, password, server' - list depends 'proto=dhcp' - list depends 'proto=none' - option named true - option required true - -config variable - option name 'ifname' - option title 'Physical interface' - option section 'network.interface' - -config variable - option name 'macaddr' - option title 'Interface MAC address' - option section 'network.interface' - option datatype 'macaddr' - -config variable - option name 'mtu' - option title 'MTU' - option section 'network.interface' - option datatype 'uint' - -config variable - option name 'ipaddr' - option title 'IPv4 host address' - option section 'network.interface' - option datatype 'ip4addr' - -config variable - option name 'netmask' - option title 'IPv4 network mask' - option section 'network.interface' - option datatype 'ip4addr' - -config variable - option name 'gateway' - option title 'IPv4 gateway' - option section 'network.interface' - option datatype 'ip4addr' - -config variable - option name 'bcast' - option title 'IPv4 broadcast address' - option section 'network.interface' - option datatype 'ip4addr' - -config variable - option name 'ip6addr' - option title 'IPv6 address (CIDR)' - option section 'network.interface' - option datatype 'ip6addr' - -config variable - option name 'ip6gw' - option title 'IPv6 gateway' - option section 'network.interface' - option datatype 'ip6addr' - -config variable - option name 'dns' - option title 'DNS server (IPv4 or IPv6)' - option section 'network.interface' - option datatype 'ipaddr' - option multival true - -config variable - option name 'keepalive' - option title 'keep-alive' - option descriptions 'Number of connection failures before reconnect' - option section 'network.interface' - option datatype 'uint' - list depends proto=pppoe - list depends proto=pptp - -config variable - option name 'demand' - option title 'Dial on-demand' - option description 'Number of seconds to wait before closing the connection due to inactivity' - option section 'network.interface' - option datatype 'uint' - list depends proto=pppoe - list depends proto=pptp - -config variable - option name 'username' - option title 'Username' - option section 'network.interface' - option datatype 'string' - list depends proto=pppoe - list depends proto=pptp - -config variable - option name 'password' - option title 'Password' - option section 'network.interface' - option datatype 'string' - list depends proto=pppoe - list depends proto=pptp - -config variable - option name 'server' - option title 'PPTP server' - option section 'network.interface' - option datatype 'ipaddr' - list depends proto=pptp - -config variable - option name 'proto' - option title 'Protocol' - option section 'network.interface' - option type 'enum' - option required true - -config enum - option variable 'network.interface.proto' - option value 'none' - option title 'Disabled' - -config enum - option variable 'network.interface.proto' - option value 'dhcp' - option title 'Retrieve IP address via DHCP' - option default true - -config enum - option variable 'network.interface.proto' - option value 'pptp' - option title 'Interface is a PPTP tunnel endpoint' - -config enum - option variable 'network.interface.proto' - option value 'static' - option title 'Interface has static network configuration' - -config enum - option variable 'network.interface.proto' - option value 'pppoe' - option title 'Retrieve IP address via PPPoE' - -config variable - option name 'type' - option title 'Option type' - option section 'network.interface' - option type 'enum' - -config enum - option variable 'network.interface.type' - option value 'bridge' - option title 'This is a bridge interface' - - - -config section - option name 'alias' - option title 'Alias interface definition' - option package 'network' - list depends 'proto=static, ipaddr, netmask' - list depends 'proto=static, ip6addr' - option named true - -config variable - option name 'interface' - option title 'Parent interface' - option section 'network.alias' - option valueof 'network.interface' - option required true - -config variable - option name 'ipaddr' - option title 'IPv4 host address' - option section 'network.alias' - option datatype 'ip4addr' - -config variable - option name 'netmask' - option title 'IPv4 network mask' - option section 'network.alias' - option datatype 'ip4addr' - -config variable - option name 'gateway' - option title 'IPv4 gateway' - option section 'network.alias' - option datatype 'ip4addr' - -config variable - option name 'bcast' - option title 'IPv4 broadcast address' - option section 'network.alias' - option datatype 'ip4addr' - -config variable - option name 'ip6addr' - option title 'IPv6 address (CIDR)' - option section 'network.alias' - option datatype 'ip6addr' - -config variable - option name 'ip6gw' - option title 'IPv6 gateway' - option section 'network.alias' - option datatype 'ip6addr' - -config variable - option name 'dns' - option title 'DNS server (IPv4 or IPv6)' - option section 'network.alias' - option datatype 'ipaddr' - -config variable - option name 'proto' - option title 'Protocol' - option section 'network.alias' - option type 'enum' - option required true - -config enum - option variable 'network.alias.proto' - option value 'static' - option title 'Interface has static network configuration' - - - -config section - option name 'route' - option title 'Static route definition' - option package 'network' - -config variable - option name 'interface' - option title 'Interface' - option section 'network.route' - option valueof 'network.interface' - option required true - -config variable - option name 'target' - option title 'Target IPv4 host or network' - option section 'network.route' - option datatype 'ip4addr' - option required true - -config variable - option name 'netmask' - option title 'Target IPv4 netmask' - option section 'network.route' - option datatype 'ip4addr' - -config variable - option name 'gateway' - option title 'IPv4 gateway' - option section 'network.route' - option datatype 'ip4addr' - option required true - - - -config section - option name 'switch' - option title 'Section switch' - option package 'network' - option named true - option dynamic true - option required true diff --git a/libs/uvl/root/lib/uci/schema/default/ntpclient b/libs/uvl/root/lib/uci/schema/default/ntpclient deleted file mode 100644 index 0b7b5a5e5..000000000 --- a/libs/uvl/root/lib/uci/schema/default/ntpclient +++ /dev/null @@ -1,53 +0,0 @@ -package ntpclient - -config package - option title 'Time Synchronisation' - -config section - option name 'ntpclient' - option package 'ntpclient' - option title 'General' - option unique true - option required true - -config variable - option name 'interval' - option section 'ntpclient.ntpclient' - option title 'Update Interval (in s)' - option datatype uint - -config variable - option name 'count' - option section 'ntpclient.ntpclient' - option title 'Count of Time Measurements' - option datatype uint - -config section - option name 'ntpdrift' - option package 'ntpclient' - option title 'Clock Adjustment' - option unique true - -config variable - option name 'freq' - option section 'ntpclient.ntpdrift' - option title 'Offset Frequency' - option datatype float - -config section - option name 'ntpserver' - option package 'ntpclient' - option title 'Time Server' - -config variable - option name 'hostname' - option section 'ntpclient.ntpserver' - option title 'Hostname' - option required true - option datatype host - -config variable - option name 'port' - option section 'ntpclient.ntpserver' - option title 'Port' - option datatype port diff --git a/libs/uvl/root/lib/uci/schema/default/qos b/libs/uvl/root/lib/uci/schema/default/qos deleted file mode 100644 index 24f8e0d5d..000000000 --- a/libs/uvl/root/lib/uci/schema/default/qos +++ /dev/null @@ -1,200 +0,0 @@ -package qos - -config package - option title 'Network quality of service' - -config section - option name 'interface' - option title 'QoS interface section' - option package 'qos' - option named true - option required true - -config variable - option name 'enabled' - option title 'Enable QoS on this interface' - option section 'qos.interface' - -config variable - option name 'overhead' - option title 'Calculate overhead bandwidth' - option section 'qos.interface' - option datatype 'boolean' - -config variable - option name 'classgroup' - option title 'QoS classification' - option section 'qos.interface' - option valueof 'qos.classgroup' - -config variable - option name 'download' - option title 'Maximum download speed in kBits/s' - option section 'qos.interface' - option datatype 'integer' - -config variable - option name 'upload' - option title 'Maximum upload speed in kBits/s' - option section 'qos.interface' - option datatype 'integer' - - -config section - option name 'class' - option title 'QoS traffic class definition' - option package 'qos' - option named true - option required true - -config variable - option name 'avgrate' - option title 'Average rate' - option section 'qos.class' - option datatype 'integer' - -config variable - option name 'maxsize' - option title 'Maximum size' - option section 'qos.class' - option datatype 'integer' - -config variable - option name 'packetdelay' - option title 'Packet delay' - option section 'qos.class' - option datatype 'integer' - -config variable - option name 'packetsize' - option title 'Packet size' - option section 'qos.class' - option datatype 'integer' - -config variable - option name 'priority' - option title 'QoS priority' - option section 'qos.class' - option datatype 'integer' - - -config section - option name 'classgroup' - option title 'QoS classification group' - option package 'qos' - option named true - -config variable - option name 'classes' - option title 'Defined QoS classes in group' - option section 'qos.classgroup' - -config variable - option name 'default' - option title 'Default QoS class in group' - option section 'qos.classgroup' - option valueof 'qos.class' - - -config section - option name 'default' - option title 'QoS default classification' - option package 'qos' - list depends 'target, pktsize' - list depends 'target, portrange' - list depends 'target, proto' - -config variable - option name 'pktsize' - option title 'Match by packet size' - option section 'qos.default' - option datatype 'integer' - -config variable - option name 'portrange' - option title 'Match by port range' - option section 'qos.default' - -config variable - option name 'proto' - option title 'Match by layer 3 protocol' - option section 'qos.default' - -config variable - option name 'target' - option title 'Option target' - option section 'qos.default' - option valueof 'qos.class' - option required true - - -config section - option name 'classify' - option title 'QoS classification rule' - option package 'qos' - -config variable - option name 'ipp2p' - option title 'Match by ipp2p' - option section 'qos.classify' - -config variable - option name 'layer7' - option title 'Match by layer 7 protocol' - option section 'qos.classify' - -config variable - option name 'ports' - option title 'Match by ports' - option section 'qos.classify' - -config variable - option name 'proto' - option title 'Match by layer 3 protocol' - option section 'qos.classify' - -config variable - option name 'tcpflags' - option title 'Match by TCP flags' - option section 'qos.classify' - -config variable - option name 'target' - option title 'QoS target class' - option section 'qos.classify' - option valueof 'qos.class' - option required true - - -config section - option name 'reclassify' - option title 'QoS reclassification rule' - option package 'qos' - -config variable - option name 'mark' - option title 'Match by classification mark' - option section 'qos.reclassify' - -config variable - option name 'pktsize' - option title 'Match by packet size' - option section 'qos.reclassify' - option datatype 'integer' - -config variable - option name 'proto' - option title 'Match by layer 3 protocol' - option section 'qos.reclassify' - -config variable - option name 'tcpflags' - option title 'Match by TCP flags' - option section 'qos.reclassify' - -config variable - option name 'target' - option title 'QoS classification target' - option section 'qos.reclassify' - option valueof 'qos.class' - option required true diff --git a/libs/uvl/root/lib/uci/schema/default/samba b/libs/uvl/root/lib/uci/schema/default/samba deleted file mode 100644 index d4c7d8cd8..000000000 --- a/libs/uvl/root/lib/uci/schema/default/samba +++ /dev/null @@ -1,76 +0,0 @@ -package samba - -config package - option title 'Samba CIFS/SMB Daemon' - -config section - option name 'samba' - option package 'samba' - option title 'General Settings' - option unique true - option required true - -config variable - option name 'name' - option section 'samba.samba' - option title 'Hostname' - option datatype host - option required true - -config variable - option name 'description' - option section 'samba.samba' - option title 'Description' - -config variable - option name 'workgroup' - option section 'samba.samba' - option title 'Workgroup' - option required true - -config variable - option name 'homes' - option section 'samba.samba' - option title 'Share home-directories' - option description 'System users can reach their home directories via network shares.' - option datatype boolean - -config section - option name 'sambashare' - option package 'samba' - option title 'Shared Directories' - -config variable - option name 'name' - option section 'samba.sambashare' - option title 'Name' - option required true - -config variable - option name 'users' - option section 'samba.sambashare' - option title 'Allowed Users' - -config variable - option name 'read_only' - option section 'samba.sambashare' - option title 'Read Only' - option datatype boolean - -config variable - option name 'guest_ok' - option section 'samba.sambashare' - option title 'Allow Guests' - option datatype boolean - -config variable - option name 'create_mask' - option section 'samba.sambashare' - option title 'Create Mask' - option description 'Mask for new files' - -config variable - option name 'dir_mask' - option section 'samba.sambashare' - option title 'Directory Mask' - option description 'Mask for new directories' diff --git a/libs/uvl/root/lib/uci/schema/default/system b/libs/uvl/root/lib/uci/schema/default/system deleted file mode 100644 index 6ce96e573..000000000 --- a/libs/uvl/root/lib/uci/schema/default/system +++ /dev/null @@ -1,98 +0,0 @@ -package system - -config package - option title 'System configuration' - -config section - option name 'system' - option title 'General system configuration' - option package 'system' - option unique true - option required true - -config variable - option name 'hostname' - option title 'Local hostname' - option section 'system.system' - option datatype 'hostname' - option required true - -config variable - option name 'timezone' - option title 'Option timezone' - option section 'system.system' - option required true - -config variable - option name 'log_size' - option section 'system.system' - option title 'System log buffer size (kiB)' - option datatype uint - -config variable - option name 'log_ip' - option section 'system.system' - option title 'External system log server' - option datatype ipaddr - -config variable - option name 'conloglevel' - option section 'system.system' - option title 'Log output level' - option description 'Level of log messages on the console' - option datatype integer - -config section - option name 'led' - option package 'system' - option title 'LED Configuration' - -config variable - option name 'name' - option section 'system.led' - option title 'LED Name' - option required true - -config variable - option name 'sysfs' - option section 'system.led' - option title 'LED Device' - option required true - -config variable - option name 'default' - option section 'system.led' - option title 'Default state' - option datatype boolean - -config variable - option name 'trigger' - option section 'system.led' - option title 'Trigger' - option required true - -config variable - option name 'delayon' - option section 'system.led' - option title 'On-State Delay' - option description 'Time (in ms) the LED is on' - list depends 'trigger=timer' - -config variable - option name 'delayoff' - option section 'system.led' - option title 'Off-State Delay' - option description 'Time (in ms) the LED is off' - list depends 'trigger=timer' - -config variable - option name 'dev' - option section 'system.led' - option title 'Device' - list depends 'trigger=netdev' - -config variable - option name 'mode' - option section 'system.led' - option title 'Trigger Mode' - list depends 'trigger=netdev' diff --git a/libs/uvl/root/lib/uci/schema/default/upnpd b/libs/uvl/root/lib/uci/schema/default/upnpd deleted file mode 100644 index 8574d0395..000000000 --- a/libs/uvl/root/lib/uci/schema/default/upnpd +++ /dev/null @@ -1,28 +0,0 @@ -package upnpd - -config package - option title 'Miniupnpd UPNP daemon' - -config section - option name 'upnpd' - option title 'Settings' - option package 'upnpd' - option unique true - -config variable - option name 'download' - option title 'Download bandwidth in kBit/s' - option section 'upnpd.upnpd' - option datatype 'integer' - -config variable - option name 'upload' - option title 'Upload bandwidth in kBit/s' - option section 'upnpd.upnpd' - option datatype 'integer' - -config variable - option name 'log_output' - option title 'Enable log messages' - option section 'upnpd.upnpd' - option datatype 'boolean' diff --git a/libs/uvl/root/lib/uci/schema/default/uvc-streamer b/libs/uvl/root/lib/uci/schema/default/uvc-streamer deleted file mode 100644 index 9ea255c31..000000000 --- a/libs/uvl/root/lib/uci/schema/default/uvc-streamer +++ /dev/null @@ -1,41 +0,0 @@ -#package uvc-streamer - -config package - option title 'UVC-Streamer webcam streaming configuration' - -config section - option name 'uvc-streamer' - option package 'uvc-streamer' - option title 'Settings' - option unique true - option required true - -config variable - option name 'enabled' - option section 'uvc-streamer.uvc-streamer' - option title 'Enable' - option required true - option datatype boolean - -config variable - option name 'device' - option section 'uvc-streamer.uvc-streamer' - option title 'Device' - -config variable - option name 'resolution' - option section 'uvc-streamer.uvc-streamer' - option title 'Resolution' - option required true - -config variable - option name 'framespersecond' - option section 'uvc-streamer.uvc-streamer' - option title 'Frames per second' - option datatype uint - -config variable - option name 'port' - option section 'uvc-streamer.uvc-streamer' - option title 'Port' - option datatype port diff --git a/libs/uvl/root/lib/uci/schema/default/wireless b/libs/uvl/root/lib/uci/schema/default/wireless deleted file mode 100644 index 823ee2fa4..000000000 --- a/libs/uvl/root/lib/uci/schema/default/wireless +++ /dev/null @@ -1,510 +0,0 @@ -package wireless - -config package - option title 'Wireless LAN' - -config section - option name 'wifi-device' - option package 'wireless' - option title 'Devices' - option named true - -config variable - option name 'disabled' - option section 'wireless.wifi-device' - option title 'disabled' - option datatype boolean - -config variable - option name 'type' - option section 'wireless.wifi-device' - option title 'Type' - option required true - -config variable - option name 'channel' - option section 'wireless.wifi-device' - option title 'Channel' - -config variable - option name 'mode' - option section 'wireless.wifi-device' - option title 'Mode (atheros)' - option type enum - list depends type=atheros - -config enum - option variable 'wireless.wifi-device.mode' - option value '' - option title 'auto' - -config enum - option variable 'wireless.wifi-device.mode' - option value '11b' - option title '802.11b' - -config enum - option variable 'wireless.wifi-device.mode' - option value '11g' - option title '802.11g' - -config enum - option variable 'wireless.wifi-device.mode' - option value '11a' - option title '802.11a' - -config enum - option variable 'wireless.wifi-device.mode' - option value '11bg' - option title '802.11b+g' - -config enum - option variable 'wireless.wifi-device.mode' - option value '11gdt' - option title '802.11adt' - -config enum - option variable 'wireless.wifi-device.mode' - option value '11adt' - option title '802.11adt' - -config enum - option variable 'wireless.wifi-device.mode' - option value 'fh' - option title 'Frequency Hopping' - -config variable - option name 'diversity' - option section 'wireless.wifi-device' - option title 'Diversity (atheros)' - option datatype boolean - list depends type=atheros - -config variable - option name 'txantenna' - option section 'wireless.wifi-device' - option title 'Transmitter Antenna (atheros)' - option datatype uint - list depends type=atheros - -config variable - option name 'rxantenna' - option section 'wireless.wifi-device' - option title 'Receiver Antenna (atheros)' - option datatype uint - list depends type=atheros - -config variable - option name 'distance' - option section 'wireless.wifi-device' - option title 'Distance Optimization (atheros, broadcom)' - option description 'Distance to farthest network member in meters.' - option datatype uint - list depends type=atheros - list depends type=broadcom - -config variable - option name 'macfilter' - option section 'wireless.wifi-device' - option title 'MAC-Address Filter (broadcom)' - option type enum - list depends type=broadcom - -config enum - option variable 'wireless.wifi-device.macfilter' - option value 'deny' - option title 'Allow listed only' - -config enum - option variable 'wireless.wifi-device.macfilter' - option value 'allow' - option title 'Allow all except listed' - -config variable - option name 'maclist' - option section 'wireless.wifi-device' - option title 'MAC-List (broadcom)' - list depends 'type=broadcom, macfilter=allow' - list depends 'type=broadcom, macfilter=deny' - option type lazylist - option datatype macaddr - -config variable - option name 'txant' - option section 'wireless.wifi-device' - option title 'Transmitter Antenna (broadcom)' - option datatype uint - list depends 'type=broadcom' - -config variable - option name 'rxant' - option section 'wireless.wifi-device' - option title 'Receiver Antenna (broadcom)' - option datatype uint - list depends 'type=broadcom' - -config variable - option name 'frameburst' - option section 'wireless.wifi-device' - option title 'Frame Bursting (broadcom)' - option datatype boolean - list depends 'type=broadcom' - -config variable - option name 'country' - option section 'wireless.wifi-device' - option title 'Country Code (broadcom)' - list depends 'type=broadcom' - -config variable - option name 'maxassoc' - option section 'wireless.wifi-device' - option title 'Connection Limit (broadcom)' - option datatype uint - list depends 'type=broadcom' - - -config section - option name 'wifi-iface' - option package 'wireless' - option title 'Interfaces' - -config variable - option name 'device' - option section 'wireless.wifi-iface' - option title 'Wifi Device' - option valueof 'wireless.wifi-device' - -config variable - option name 'ssid' - option section 'wireless.wifi-iface' - option title 'ESSID' - -config variable - option name 'network' - option section 'wireless.wifi-iface' - option title 'Network' - option description 'Add the Wifi network to physical network' - option type reference - list valueof network.interface - -config variable - option name 'mode' - option section 'wireless.wifi-iface' - option title 'Mode' - option required true - option type enum - -config enum - option variable 'wireless.wifi-iface.mode' - option value 'ap' - option title 'Access Point' - -config enum - option variable 'wireless.wifi-iface.mode' - option value 'adhoc' - option title 'Ad-Hoc' - -config enum - option variable 'wireless.wifi-iface.mode' - option value 'sta' - option title 'Client' - -config enum - option variable 'wireless.wifi-iface.mode' - option value 'monitor' - option title 'Monitor' - -config enum - option variable 'wireless.wifi-iface.mode' - option value 'ahdemo' - option title 'Pseudo Ad-Hoc (ahdemo)' - -config enum - option variable 'wireless.wifi-iface.mode' - option value 'wds' - option title 'WDS' - -config variable - option name 'bssid' - option section 'wireless.wifi-iface' - option title BSSID - -config variable - option name 'txpower' - option section 'wireless.wifi-iface' - option title 'Transmit Power (mac80211, atheros)' - option description 'dbm' - option datatype uint - -config variable - option name 'frag' - option section 'wireless.wifi-iface' - option title 'Fragmentation Threshold (mac80211, atheros)' - option datatype uint - -config variable - option name 'rts' - option section 'wireless.wifi-iface' - option title 'RTS/CTS Threshold (mac80211, atheros)' - option datatype uint - -config variable - option name 'wds' - option section 'wireless.wifi-iface' - option title 'WDS (atheros)' - option datatype boolean - list depends 'mode=ap' - list depends 'mode=sta' - -config variable - option name 'wdssep' - option section 'wireless.wifi-iface' - option title 'Separate WDS (atheros)' - option datatype boolean - list depends 'wds=1,mode=ap' - -config variable - option name 'doth' - option section 'wireless.wifi-iface' - option title '802.11h (atheros)' - option datatype boolean - -config variable - option name 'hidden' - option section 'wireless.wifi-iface' - option title 'Hide ESSID (atheros, broadcom)' - option datatype boolean - list depends 'mode=ap' - list depends 'mode=adhoc' - list depends 'mode=wds' - -config variable - option name 'isolate' - option section 'wireless.wifi-iface' - option title 'isolate (atheros, broadcom)' - option datatype boolean - list depends 'mode=ap' - -config variable - option name 'bgscan' - option section 'wireless.wifi-iface' - option title 'Background Scan (atheros)' - option datatype boolean - -config variable - option name 'macpolicy' - option section 'wireless.wifi-iface' - option title 'MAC-Address Filter (atheros)' - option type enum - -config enum - option variable 'wireless.wifi-iface.macpolicy' - option value 'deny' - option title 'Allow listed only' - -config enum - option variable 'wireless.wifi-iface.macpolicy' - option value 'allow' - option title 'Allow all except listed' - -config variable - option name 'maclist' - option section 'wireless.wifi-iface' - option title 'MAC-List (atheros)' - list depends 'macpolicy=allow' - list depends 'macpolicy=deny' - option type lazylist - option datatype macaddr - -config variable - option name 'rate' - option section 'wireless.wifi-iface' - option title 'Transmission Rate (atheros)' - -config variable - option name 'mcast_rate' - option section 'wireless.wifi-iface' - option title 'Multicast Rate (atheros)' - -config variable - option name 'minrate' - option section 'wireless.wifi-iface' - option title 'Minimum Rate (atheros)' - -config variable - option name 'maxrate' - option section 'wireless.wifi-iface' - option title 'Maximum Rate (atheros)' - -config variable - option name 'compression' - option section 'wireless.wifi-iface' - option title 'Compression (atheros)' - option datatype boolean - -config variable - option name 'bursting' - option section 'wireless.wifi-iface' - option title 'Frame Bursting (atheros)' - option datatype boolean - -config variable - option name 'turbo' - option section 'wireless.wifi-iface' - option title 'Turbo Mode (atheros)' - option datatype boolean - -config variable - option name 'ff' - option section 'wireless.wifi-iface' - option title 'Fast Frames (atheros)' - -config variable - option name 'wmm' - option section 'wireless.wifi-iface' - option title 'WMM Mode (atheros)' - option datatype boolean - -config variable - option name 'xr' - option section 'wireless.wifi-iface' - option title 'XR Support (atheros)' - option datatype boolean - -config variable - option name 'ar' - option section 'wireless.wifi-iface' - option title 'AR Support (atheros)' - option datatype boolean - -config variable - option name 'encryption' - option section 'wireless.wifi-iface' - option title 'Encryption' - option description 'WPA-Encryption requires wpa_supplicant (for client mode) or hostapd (for AP and ad-hoc mode) to be installed.' - option type enum - -config enum - option variable 'wireless.wifi-iface.encryption' - option value 'none' - option title 'No Encryption' - -config enum - option variable 'wireless.wifi-iface.encryption' - option value 'wep' - option title 'WEP' - -config enum - option variable 'wireless.wifi-iface.encryption' - option value 'psk' - option title 'WPA-PSK' - -config enum - option variable 'wireless.wifi-iface.encryption' - option value 'psk2' - option title 'WPA2-PSK' - -config enum - option variable 'wireless.wifi-iface.encryption' - option value 'wpa' - option title 'WPA-EAP' - -config enum - option variable 'wireless.wifi-iface.encryption' - option value 'wpa2i' - option title 'WPA2-EAP' - -config variable - option name 'server' - option section 'wireless.wifi-iface' - option title 'RadiusServer' - list depends 'encryption=wpa,mode=ap' - list depends 'encryption=wpa2i,mode=ap' - option datatype host - -config variable - option name 'port' - option section 'wireless.wifi-iface' - option title 'Radius-Port' - list depends 'encryption=wpa,mode=ap' - list depends 'encryption=wpa2i,mode=ap' - option datatype port - -config variable - option name 'key' - option section 'wireless.wifi-iface' - option title 'Key' - list depends 'encryption=wep' - list depends 'encryption=psk' - list depends 'encryption=wpa,mode=ap' - list depends 'encryption=psk2' - list depends 'encryption=wpa2i,mode=ap' - -config variable - option name 'nasid' - option section 'wireless.wifi-iface' - option title 'NAS ID' - list depends 'encryption=wpa,mode=ap' - list depends 'encryption=wpa2i,mode=ap' - -config variable - option name 'eap_type' - option section 'wireless.wifi-iface' - option title 'EAP-Method' - option type enum - list depends 'encryption=wpa,mode=sta' - list depends 'encryption=wpa2i,mode=sta' - -config enum - option variable 'wireless.wifi-iface.eap_type' - option value 'TLS' - -config enum - option variable 'wireless.wifi-iface.eap_type' - option value 'PEAP' - -config variable - option name 'ca_cert' - option section 'wireless.wifi-iface' - option title 'Path to CA-Certificate' - list depends 'encryption=wpa,mode=sta' - list depends 'encryption=wpa2i,mode=sta' - option datatype file - -config variable - option name 'priv_key' - option section 'wireless.wifi-iface' - option title 'Path to Private Key' - list depends 'mode=sta,encryption=wpa2i,eap_type=TLS' - list depends 'mode=sta,encryption=wpa,eap_type=TLS' - option datatype file - - -config variable - option name 'priv_key_pwd' - option section 'wireless.wifi-iface' - option title 'Password of Private Key' - list depends 'mode=sta,encryption=wpa2i,eap_type=TLS' - list depends 'mode=sta,encryption=wpa,eap_type=TLS' - -config variable - option name 'auth' - option section 'wireless.wifi-iface' - option title 'PEAP-Authentication' - list depends 'mode=sta,encryption=wpa2i,eap_type=PEAP' - list depends 'mode=sta,encryption=wpa,eap_type=PEAP' - -config variable - option name 'identity' - option section 'wireless.wifi-iface' - option title 'PEAP-Identity' - list depends 'mode=sta,encryption=wpa2i,eap_type=PEAP' - list depends 'mode=sta,encryption=wpa,eap_type=PEAP' - -config variable - option name 'password' - option section 'wireless.wifi-iface' - option title 'PEAP-Password' - list depends 'mode=sta,encryption=wpa2i,eap_type=PEAP' - list depends 'mode=sta,encryption=wpa,eap_type=PEAP' |