summaryrefslogtreecommitdiff
path: root/src/value_checker.ml
AgeCommit message (Collapse)Author
2024-10-27T6718: update build system, drop batteries, and adjust for lib changesJohn Estabrook
Update as needed for use with contemporary vyos1x-config: . update build system to use dune . drop use of batteries . update for protoc breaking changes in versions >= 3.0 . remove files now in vyos1x-config (config_tree et. al.; parsing)
2017-09-19T387: prevent command injection in VyConf external validator executionTaniadz
2017-09-18T387: prevent command injection in VyConf external validator executionTaniadz
2017-09-13Prevent command injection in VyConf external validator executionTaniadz
2017-01-20Use BatOption.defalt instead of homegrown equivalent.Daniil Baturin
If we are going to use batteries for numeric_compare, why not take advantage of the rest.
2017-01-16Remove the assumptions about validator argument being mandatory.Daniil Baturin
2016-12-15T212: use a directory (normally $program_dir/validators) for external ↵Daniil Baturin
validators. What's bad is that right now way too many things are aware of the nature of external validators, and the validators dir (formerly validators hashtable) is passed around a lot. We'll need to think it through.
2015-04-26Make Value_checker.validate_any return true if constraint list is emptyDaniil Baturin
(i.e. no constraints means anything goes).
2015-04-24Add validate_any to Value_checker for testing if a value passes at least one ↵Daniil Baturin
test.
2015-04-15Add value validator module.Daniil Baturin