summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/config/specs
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-26 20:04:04 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-26 20:04:04 +0000
commit79386b5db780fee3d1469941e640c2cbe2598a5c (patch)
treeacecda110ad48b648a8f3a3666786581034f00e2 /package/base-files/files/lib/config/specs
parentddc24aa87ea2f11859e9e56a64210d5a268dbee8 (diff)
Integrate basic UCI config file validation support
Needs more testing and validation is not enforced yet Code contributed by Fraunhofer Fokus git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6391 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/lib/config/specs')
-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 000000000..3d19b5cf4
--- /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;
+}