aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/config/specs/network.spec
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-26 20:04:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-26 20:04:04 +0000
commit9405a2a6be701ee92ad0ffbe15d069bdae2cf850 (patch)
treecf424b438b74334f93b8474935787dc07aca5839 /package/base-files/files/lib/config/specs/network.spec
parentc6a4f047e30eb534dfbf7598d5998404ade53c67 (diff)
downloadupstream-9405a2a6be701ee92ad0ffbe15d069bdae2cf850.tar.gz
upstream-9405a2a6be701ee92ad0ffbe15d069bdae2cf850.tar.bz2
upstream-9405a2a6be701ee92ad0ffbe15d069bdae2cf850.zip
Integrate basic UCI config file validation support Needs more testing and validation is not enforced yet
Code contributed by Fraunhofer Fokus SVN-Revision: 6391
Diffstat (limited to 'package/base-files/files/lib/config/specs/network.spec')
-rw-r--r--package/base-files/files/lib/config/specs/network.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/base-files/files/lib/config/specs/network.spec b/package/base-files/files/lib/config/specs/network.spec
new file mode 100644
index 0000000000..3d19b5cf4b
--- /dev/null
+++ b/package/base-files/files/lib/config/specs/network.spec
@@ -0,0 +1,7 @@
+interface[] {
+ proto: string, required;
+ ipaddr: ip, required[proto=static];
+ netmask: ip, required[proto=static];
+ gateway: ip;
+ dns: ip;
+}