diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-02-26 20:04:04 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-02-26 20:04:04 +0000 |
commit | 0c9d637c2bed952041141f397c7ec35287156cad (patch) | |
tree | acecda110ad48b648a8f3a3666786581034f00e2 /package/base-files/files/lib/config/specs | |
parent | 4f62fd89c002d8191a7d0a222e93f5a8eeb9bc42 (diff) | |
download | upstream-0c9d637c2bed952041141f397c7ec35287156cad.tar.gz upstream-0c9d637c2bed952041141f397c7ec35287156cad.tar.bz2 upstream-0c9d637c2bed952041141f397c7ec35287156cad.zip |
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.spec | 7 |
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; +} |