Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-12-13 | Fix message encoding in Vyconf_client. | Daniil Baturin | |
2017-12-13 | Add debug logging of protobuf messages. | Daniil Baturin | |
2017-12-13 | Handle malformed protobuf messages correctly. | Daniil Baturin | |
2017-12-12 | Add config load upon startup. | Daniil Baturin | |
2017-12-12 | Rename the Startup.load_config to load_daemon_config to avoid ambiguity with ↵ | Daniil Baturin | |
the appliance config. | |||
2017-12-12 | Lwt is luckily past 3.0 now, remove stuff that needed versioned functions. | Daniil Baturin | |
2017-12-13 | Missing PCRE dependency. | Daniil Baturin | |
2017-12-13 | Fix packaging mistakes. | Daniil Baturin | |
2017-12-13 | Add opam packaging. | Daniil Baturin | |
2017-09-19 | T387: prevent command injection in VyConf external validator execution | Taniadz | |
2017-09-18 | T387: prevent command injection in VyConf external validator execution | Taniadz | |
2017-09-13 | Prevent command injection in VyConf external validator execution | Taniadz | |
2017-09-12 | Merge branch 'master' of github.com:vyos/vyconf | Daniil Baturin | |
2017-09-12 | Add support for completionHelp tag to the schema. | Daniil Baturin | |
2017-04-03 | Merge pull request #9 from aBathologist/correct_readme | Daniil Baturin | |
Make minor corrections to readme | |||
2017-04-02 | Make minor corrections to readme | Shon Feder | |
2017-04-03 | T255: Add curly config renderer (#8) | Shon Feder | |
* Add stand-alone config_tree renderer * Add tests for stand-alone config_tree renderer * Add renderer with reference tree * Add tests for Config_tree renderer with reftree * Update config files * Add refactoring functions and correct tests | |||
2017-02-18 | Make config file path relative to basepath. | Daniil Baturin | |
2017-02-09 | Add basepath as a command line option. | Daniil Baturin | |
2017-02-09 | Revert "Add basepath option to the vyconfd config." | Daniil Baturin | |
Basepath is better be a command line option, since when it's really needed, having it in the config is pretty much useless. This reverts commit 377de9472716266bb932813a8f7a7ba9aa1630fb. | |||
2017-01-24 | Add the procedure for running unit tests to the readme. | Daniil Baturin | |
2017-01-23 | Add basepath option to the vyconfd config. | Daniil Baturin | |
Right now the primary motivation is ease of testing without installing any appliance on a real system, but in real appliances, this may be handy for those who want things in /opt, even if I'm not a fan of /opt | |||
2017-01-20 | Use 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-19 | Fix oUnit package name in .merlin | Daniil Baturin | |
2017-01-19 | Add basic session setup/teardown functionality to vyconfd. | Daniil Baturin | |
2017-01-17 | Fix test of loading interface definitions. | Daniil Baturin | |
It was failing because reference tree loader doesn't make guarantess about the order of children in the resulting tree. | |||
2017-01-17 | Second act of the _oasis cleanup. | Daniil Baturin | |
Findlib package "vyconf" now contains modules required for working with configs, namely Vytree, Config_tree, Reference_tree, Valur_checker, Curly_lexer, and Curly_parser. Renderer will go there too. Migration scripts and convertors/analyzers/whatever utilities that need to read and write config files will link with it. The "vyconf.vyconf-config" package is for working with vyconfd.conf config. Config scripts written in OCaml, the shell, and the non-interactive client can use it to read the system config if the user didn't use options for socket location and so on. The "vyconf.vyconf-client" package is for the Protobuf over UNIX sockets protocol clients. | |||
2017-01-17 | T231: Add a function for loading interface definitions from a directory (#5) | Shon Feder | |
* T231: Load directory of interface definitions * T231: Add ounit package to merlin config * T231: Add tests for loading dir of definitions * squash! T231: Load directory of interface definitions * squash! T231: Add tests for loading dir of definitions | |||
2017-01-17 | Remove reference to Shon Feder's homedir. ;) | Daniil Baturin | |
Also, this will work for bare ocaml REPL too, specifically for utop you don't need to load topfind since it does that by default. | |||
2017-01-17 | Add Curly_lexer to vyconf modules. | Daniil Baturin | |
2017-01-17 | Merge pull request #7 from aBathologist/add_building_info_to_readme | Daniil Baturin | |
Add a bit more build and setup instruction | |||
2017-01-17 | Merge pull request #6 from aBathologist/add_a_readymade_utop_environment | Daniil Baturin | |
Add a readymade utop environment | |||
2017-01-16 | Add a bit more build and setup instruction | Shon Feder | |
2017-01-16 | Add project .ocamlinit with package dependencies | Shon Feder | |
2017-01-16 | Add internal vyconf modules to _oasis config | Shon Feder | |
2017-01-17 | Clean up the _oasis | Daniil Baturin | |
2017-01-16 | Add a function for making secure session tokens. | Daniil Baturin | |
Right now it uses a SHA-1 sum of 30 random bits. I hope that's secure enough. | |||
2017-01-16 | Add client_app and user fields to session data. | Daniil Baturin | |
I wonder if the user field should be an UID rather than name. | |||
2017-01-16 | Remove the assumptions about validator argument being mandatory. | Daniil Baturin | |
2017-01-16 | Use the new Util.substitute_default in Vyconf_config. | Daniil Baturin | |
2017-01-16 | Add a trivial 'a option -> 'a -> 'a function for substituting something for ↵ | Daniil Baturin | |
a default. | |||
2017-01-16 | Update reference tree loader to match the schema. | Daniil Baturin | |
2017-01-16 | Re-generate RNG schema, update files that use it. | Daniil Baturin | |
2017-01-16 | Move <keepChildOrder/> into properties. | Daniil Baturin | |
I have no idea why I did not do it this way from the start. | |||
2017-01-16 | Make the "argument" attribute of external validators optional. | Daniil Baturin | |
2017-01-15 | Add .mllib and .mldylib to gitignore | Daniil Baturin | |
2017-01-15 | Add functionality for socket communication. | Daniil Baturin | |
The Message module contains read and write functions that take care of the wire protocol, which sends a 4 byte length header before every message. They take a bytes buffer and don't care about its contents. The Vyconf_client module has high level functions for interfacing with vyconfd. Functions for creating a socket and creating a server loop are in Startup. The rest is, for now at least, right in vyconfd. Notes: Message.read/write probably should be wrapped in Lwt_io.atomic We need to find out if it's safe to reuse Pbrt.Encoder.t or we really should create it every time. | |||
2017-01-14 | Break some overly long lines in the curly config parser. | Daniil Baturin | |
2017-01-14 | Use Menhir's build-in boption() for #INACTIVE and #EPHEMERAL | Daniil Baturin | |
instead of home-grown equivalents. | |||
2017-01-13 | T249: add support for inactive and ephemeral nodes to the curly config parser. | Daniil Baturin | |