diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-02-26 20:04:04 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-02-26 20:04:04 +0000 |
commit | 79386b5db780fee3d1469941e640c2cbe2598a5c (patch) | |
tree | acecda110ad48b648a8f3a3666786581034f00e2 /package/base-files/files/lib/config/specs/network.spec | |
parent | ddc24aa87ea2f11859e9e56a64210d5a268dbee8 (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/network.spec')
-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 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; +} |