Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/vyos/vyconf

Software appliance configuration framework
https://github.com/vyos/vyconf

Make the exeprimental status clear.

dd9271b4304c6b1a5a2576821d1b2b8fd3aa6bf5 authored almost 5 years ago by Daniil Baturin <[email protected]>
Fix module path for newer versions of the Protobuf compiler runtime.

2604ab856b9fcc117b60732ddcd337dd3d2e97a6 authored almost 5 years ago by Daniil Baturin <[email protected]>
Update the opam and oasis files with proper dependencies.

51d79a3f3e08c1bef2feb8a45580b068e037f928 authored almost 6 years ago by Daniil Baturin <[email protected]>
Add functions for copying and moving nodes.

b76125fe449daa259c1aacad2c21c0681a39d3f9 authored almost 6 years ago by Daniil Baturin <[email protected]>
Fix lwt package names.

0c8c53c9c6ea154e16855715291a237824f70443 authored almost 6 years ago by Daniil Baturin <[email protected]>
Update README.md

d6d3a1d2752d3252f874487668e7109b8c87f382 authored almost 6 years ago by Christian Poessinger <[email protected]>
README: update build instructions

0f121c12a842002961d0be4dd4287816d5c89be5 authored almost 6 years ago by Christian Poessinger <[email protected]>
Adjust the build for latest Lwt and README for latest OCaml.

af9ffaaa4a62c9266890c592e3b2f2ce5fb28a3e authored almost 6 years ago by Daniil Baturin <[email protected]>
Escape special characters inside value strings when converting configs to commands.

1ebea2e6914e5d2c4f07654bdbd489aa2c1ce165 authored about 6 years ago by Daniil Baturin <[email protected]>
Add support for node renaming.

d33442c2576793420802bbd54127923079c487c4 authored over 6 years ago by Daniil Baturin <[email protected]>
Use String.concat instead of reinventing it with fold.

05b086a782eeee8c2b0566660d942ec0909da6fb authored over 6 years ago by Daniil Baturin <[email protected]>
Add a function for getting sorted children from a node and use it for sorting set commands.

335560d2c0420a363942d3368dec0b04dd8bf62b authored over 6 years ago by Daniil Baturin <[email protected]>
Initial implementation of the commands formatter.

7f26d95164265b0ffd345afd510bf03ee98cd1d8 authored over 6 years ago by Daniil Baturin <[email protected]>
Expose missing exceptions from Config_tree in the module interface.

fb6d3f6dfdbc3601a9af99263ec233bbd3a46e50 authored over 6 years ago by Daniil Baturin <[email protected]>
Render valueless nodes correctly.

The canonical format for valueless nodes is "foo;".
There are two cases: when it's known from th...

f0ed6868a5896dfde3d6519c1068f5e5dfea0417 authored over 6 years ago by Daniil Baturin <[email protected]>
Remove a leftover debug print.

c754178f2fe2e741105c5ce34029b32aad033f91 authored over 6 years ago by Daniil Baturin <[email protected]>
Send a response to the client if error occurs.

08cc3adf5a85d1fd93ae9789e7fd1b1348095264 authored over 6 years ago by Daniil Baturin <[email protected]>
Merge branch 'master' of github.com:vyos/vyconf

34184f16afd49f391d196dfa41ed23e64c8c20cf authored over 6 years ago by Daniil Baturin <[email protected]>
Get the show_config operation to work correctly.

c53fbb4e60896692485a95ce4fd2a6aeb58d66a7 authored over 6 years ago by Daniil Baturin <[email protected]>
Merge pull request #10 from Taniadz/master

T413: Make a schema for op mode

f36f09e0e0fd3f675d417b997a95734d41e52ae5 authored over 6 years ago by Daniil Baturin <[email protected]>
Do not quote values that don't need quoting in Config_tree.render

i.e. if they don't contain whitespace or characters of special significance
to the parser (;[]{}#).

dc4bedee63c2c4d8c1dbd3c6aa9a12f4e072681b authored almost 7 years ago by Daniil Baturin <[email protected]>
Add Config_tree.render_at_level function for correct rendering of configs for human consumption.

The idea of the correct (for subsequent parsing) and familiar for all other purposes rendering:
...

bfa93363f3e8533ef352cad38c2adfa21dbc28a3 authored almost 7 years ago by Daniil Baturin <[email protected]>
Delete the old socket file if it exists.

Since there's no REUSEADDR semantic for UNIX domain sockets,
that's best we can do.

d4ee9b96e02e1413cc19ce638aec07408468ca30 authored almost 7 years ago by Daniil Baturin <[email protected]>
Implement config reading functions and a minimal command line client for using them.

Yes, I hate oversized commits too, but this is hard to avoid sometimes.

Adjustments to the Sess...

e4cac118645ffb290ec78e4cde6c9757219d3a10 authored almost 7 years ago by Daniil Baturin <[email protected]>
Add logging of interface definition file loading.

Move the high level load_interface_definitions function from Reference_tree
to Startup.

56130bfe30781c210c7459e5df9afa7d894aeec7 authored almost 7 years ago by Daniil Baturin <[email protected]>
Add client support for the config read functions.

a245e894c6f5473f3051366389d3f90a778dacbd authored almost 7 years ago by Daniil Baturin <[email protected]>
Add support for the idempotent config read functions to vyconfd.

b105c925241fb99cebcc087110b88c395e1d723d authored almost 7 years ago by Daniil Baturin <[email protected]>
Revert "Fix build with new Toml module version."

Seems lenses are back.

This reverts commit 8938e627c04c01f8f30a854be6903a9abcd2fa5b.

668e7e3ef3d31666b053a8d7cd7c01d7c853c053 authored almost 7 years ago by Daniil Baturin <[email protected]>
Expose the list_children function in the Session module interface.

cab7d1cddaace91d0bb4230ffe5c80e42a8df4b4 authored almost 7 years ago by Daniil Baturin <[email protected]>
Rename Util.string_of_path to string_of_list since it can be used for any lists,

not just config tree paths.

Add analogous function for converting a list of strings to JSON.

18ce7932e3dba76305dda202b3181763e54c4a50 authored almost 7 years ago by Daniil Baturin <[email protected]>
Update the Vyconf_client module for the protobuf change.

cc95beb520981f0ed855d739a523675932907662 authored almost 7 years ago by Daniil Baturin <[email protected]>
Add output format option (plain or JSON) to the config data reading and op mode functions.

Re-generate the protobuf-derived modules.

NB: Newer versions of ocaml-protoc moved types to a se...

76c2a472f9f4869b8a06976eca1c1a025400ca66 authored almost 7 years ago by Daniil Baturin <[email protected]>
Split the vyconfd config module into a non-installable library.

a3abb4d9163b80bba036b75e7c8d817a13d313b0 authored almost 7 years ago by Daniil Baturin <[email protected]>
Use absolute path for the vyconfd config file option rather than relative to basepath.

d34c95a4536af66e0d53d12ba854646140d85068 authored almost 7 years ago by Daniil Baturin <[email protected]>
Fix build with new Toml module version.

I have no idea where TomlLenses module is gone but frankly the whole thing
is a lot less pretty ...

8938e627c04c01f8f30a854be6903a9abcd2fa5b authored almost 7 years ago by Daniil Baturin <[email protected]>
Fix message encoding in Vyconf_client.

1df4b0b50993985af84236c4508eeec5ec739a48 authored about 7 years ago by Daniil Baturin <[email protected]>
Add debug logging of protobuf messages.

cacc8ee6f2ccb43faa971a75d2c4585c8e1a27fc authored about 7 years ago by Daniil Baturin <[email protected]>
Handle malformed protobuf messages correctly.

7373e8aea39cec0af507b20a8209bd4697e74674 authored about 7 years ago by Daniil Baturin <[email protected]>
Add config load upon startup.

5f7d6a60287bac8f633b9c4e5e9e3f6f3a45da85 authored about 7 years ago by Daniil Baturin <[email protected]>
Rename the Startup.load_config to load_daemon_config to avoid ambiguity with the appliance config.

8f2ff161343548a7d735808c203f0582fcb91145 authored about 7 years ago by Daniil Baturin <[email protected]>
Lwt is luckily past 3.0 now, remove stuff that needed versioned functions.

02708b5fc0daa6dbcab6a12128663878c31da352 authored about 7 years ago by Daniil Baturin <[email protected]>
Missing PCRE dependency.

4a6a8a394bd80ad353a95ac9d6f4b3eb009be9bb authored about 7 years ago by Daniil Baturin <[email protected]>
Fix packaging mistakes.

75301dd8273d8119d2d4b99f1ed70aab69c5458c authored about 7 years ago by Daniil Baturin <[email protected]>
Add opam packaging.

327fe126f1e8514f0f29fc3d7ec94ec26faf3a78 authored about 7 years ago by Daniil Baturin <[email protected]>
T413: Make a schema for op mode (delete ownerAttr)

59c1e9cec9c457917d0c7a7449ca1d5f31d37c05 authored about 7 years ago by Taniadz <[email protected]>
T413: Make a schema for op mode

63060ded3ed851d9ecc30f24e3b5cefde81c67d2 authored about 7 years ago by Taniadz <[email protected]>
T387: prevent command injection in VyConf external validator execution

cd7fcab62fc20a163013710d6e3d95ff0fdd3aeb authored over 7 years ago by Taniadz <[email protected]>
T387: prevent command injection in VyConf external validator execution

a41a93ff060dd04c692f1faa166973f2c5f0878c authored over 7 years ago by Taniadz <[email protected]>
Prevent command injection in VyConf external validator execution

c3f5d07fd0a763cbc8286265ab03ebe30fd56ee9 authored over 7 years ago by Taniadz <[email protected]>
Merge branch 'master' of github.com:vyos/vyconf

dd67f0333363d3afb0f8d42aaed94f52712dd759 authored over 7 years ago by Daniil Baturin <[email protected]>
Add support for completionHelp tag to the schema.

bc2c1a032a4aad1d5c3f5047d51f86bf8370b163 authored over 7 years ago by Daniil Baturin <[email protected]>
Merge pull request #9 from aBathologist/correct_readme

Make minor corrections to readme

5761be1601db95ceeec49104c502902939e194d6 authored almost 8 years ago by Daniil Baturin <[email protected]>
Make minor corrections to readme

82226cd67864ed9c03734b5096fb6dbdcfa69ab1 authored almost 8 years ago by Shon Feder <[email protected]>
T255: Add curly config renderer (#8)

* Add stand-alone config_tree renderer

* Add tests for stand-alone config_tree renderer

* ...

9cd999ca97788988902913a5d8b86bbd1ac1cf71 authored almost 8 years ago by Shon Feder <[email protected]>
Make config file path relative to basepath.

d498690d867f84c6c48f6e93cbd0a0c0c2909e4f authored almost 8 years ago by Daniil Baturin <[email protected]>
Add basepath as a command line option.

9359bd5e230d26ced10d167f79714c5a61fd4899 authored almost 8 years ago by Daniil Baturin <[email protected]>
Revert "Add basepath option to the vyconfd config."

Basepath is better be a command line option, since when it's really needed,
having it in the conf...

b7bbf381b785a58bd0903d9c6106fde305148edc authored almost 8 years ago by Daniil Baturin <[email protected]>
Add the procedure for running unit tests to the readme.

12ea26cdd1f717b1204d42dcdd4612b4bf1b17a1 authored almost 8 years ago by Daniil Baturin <[email protected]>
Add basepath option to the vyconfd config.

Right now the primary motivation is ease of testing without installing
any appliance on a real s...

377de9472716266bb932813a8f7a7ba9aa1630fb authored almost 8 years ago by Daniil Baturin <[email protected]>
Use BatOption.defalt instead of homegrown equivalent.

If we are going to use batteries for numeric_compare, why not take
advantage of the rest.

46efea7823acfef5230f33f4b27c99bc176aafbc authored almost 8 years ago by Daniil Baturin <[email protected]>
Fix oUnit package name in .merlin

465bef917357629443b85256d1669404c91e90dd authored almost 8 years ago by Daniil Baturin <[email protected]>
Add basic session setup/teardown functionality to vyconfd.

78067dab4b3adc5e3b0e95105bed3f2339371c93 authored almost 8 years ago by Daniil Baturin <[email protected]>
Fix test of loading interface definitions.

It was failing because reference tree loader doesn't make guarantess about
the order of children ...

b76755c8d369f548fb418933688aa1e112480947 authored almost 8 years ago by Daniil Baturin <[email protected]>
Second act of the _oasis cleanup.

Findlib package "vyconf" now contains modules required for working with configs,
namely Vytree, ...

ff4a0f824b33dfce8010d0ba4a6075369bbfec94 authored almost 8 years ago by Daniil Baturin <[email protected]>
T231: Add a function for loading interface definitions from a directory (#5)

* T231: Load directory of interface definitions

* T231: Add ounit package to merlin config

...

27a2d5ad1afb7baac317672620ff138f9802ccbf authored almost 8 years ago by Shon Feder <[email protected]>
Remove reference to Shon Feder's homedir. ;)

Also, this will work for bare ocaml REPL too, specifically for utop
you don't need to load topfin...

ee79ba2a593e45ff942554440bb8859ee3228a4b authored almost 8 years ago by Daniil Baturin <[email protected]>
Add Curly_lexer to vyconf modules.

c4d8a6e4621133e9d65084e84fe5fa0ea63253d4 authored almost 8 years ago by Daniil Baturin <[email protected]>
Merge pull request #7 from aBathologist/add_building_info_to_readme

Add a bit more build and setup instruction

1a8b435a83ef7c2a5eb472b5f2b3f1b63fcef08f authored almost 8 years ago by Daniil Baturin <[email protected]>
Merge pull request #6 from aBathologist/add_a_readymade_utop_environment

Add a readymade utop environment

87fcecca68ad0c8b838d6ba47b87a34d8874d23b authored almost 8 years ago by Daniil Baturin <[email protected]>
Add a bit more build and setup instruction

6eb89521414e9e070ddbf75acab8cddb131dc4d5 authored almost 8 years ago by Shon Feder <[email protected]>
Add project .ocamlinit with package dependencies

60fcd70bb5c30e1cca01dc2df73d5c3a3f1d0c3c authored almost 8 years ago by Shon Feder <[email protected]>
Add internal vyconf modules to _oasis config

cc015b17c4c312d2ed5e29c3b431bfe69e1a4fe0 authored almost 8 years ago by Shon Feder <[email protected]>
Clean up the _oasis

89e2f647c8a69105cba18f6eef333bc395812e10 authored almost 8 years ago by Daniil Baturin <[email protected]>
Add a function for making secure session tokens.

Right now it uses a SHA-1 sum of 30 random bits. I hope that's secure enough.

f8b5879fed1d5185a931206fd2784825567947ae authored almost 8 years ago by Daniil Baturin <[email protected]>
Add client_app and user fields to session data.

I wonder if the user field should be an UID rather than name.

1032bd5008dace98bd1c8910f8b586658646568b authored almost 8 years ago by Daniil Baturin <[email protected]>
Remove the assumptions about validator argument being mandatory.

299f99bf2d4f5ea566088cce1992fa1b9a2c24be authored almost 8 years ago by Daniil Baturin <[email protected]>
Use the new Util.substitute_default in Vyconf_config.

9ffe1e87bb9ed5cec0eacecc43282e01e8d32829 authored almost 8 years ago by Daniil Baturin <[email protected]>
Add a trivial 'a option -> 'a -> 'a function for substituting something for a default.

482321db949bf5b5b6868a3fc8cbeaaa589578e2 authored almost 8 years ago by Daniil Baturin <[email protected]>
Update reference tree loader to match the schema.

cfff74d6774de069b3233c04771bfc26ee988bdd authored almost 8 years ago by Daniil Baturin <[email protected]>
Re-generate RNG schema, update files that use it.

9da79730078c820443940832ad84b13b8dcb3105 authored almost 8 years ago by Daniil Baturin <[email protected]>
Move <keepChildOrder/> into properties.

I have no idea why I did not do it this way from the start.

c5b71d39b3945572f4c09b1f50ba6b232e399b9a authored almost 8 years ago by Daniil Baturin <[email protected]>
Make the "argument" attribute of external validators optional.

a4366313a22d97716f32f2bd8de84162b1d0b53c authored almost 8 years ago by Daniil Baturin <[email protected]>
Add .mllib and .mldylib to gitignore

2f20a43d55aa525f85f99ee6be89279ebfbcd3e4 authored almost 8 years ago by Daniil Baturin <[email protected]>
Add functionality for socket communication.

The Message module contains read and write functions that take care of
the wire protocol, which ...

291a998ca375077b3c23c1e3c43a7fc206c8de4b authored almost 8 years ago by Daniil Baturin <[email protected]>
Break some overly long lines in the curly config parser.

fa6a9c8b5d8d127bbce810aa14d4468de437469f authored almost 8 years ago by Daniil Baturin <[email protected]>
Use Menhir's build-in boption() for #INACTIVE and #EPHEMERAL

instead of home-grown equivalents.

bab64ac54eb9865c48dcc75ee398953374f5be37 authored almost 8 years ago by Daniil Baturin <[email protected]>
T249: add support for inactive and ephemeral nodes to the curly config parser.

621d7bb43a9bb2c0941f91c7c3a5aa082aa87e1b authored almost 8 years ago by Daniil Baturin <[email protected]>
T254: disallow node names with characters significant to the curly config parser

(whitespace, braces, square brackets, quotes, and hash).

3de4790370ec8ee485c3f723c3471116dd094019 authored almost 8 years ago by Daniil Baturin <[email protected]>
A few touches to the curly config lexer and parser.

Allow single quoted strings.
Allow \r's as whitespace.
Set line numbers on \n to enable better er...

ae5ad1099d6e751354ca4b1ded35cf178639c29f authored almost 8 years ago by Daniil Baturin <[email protected]>
T245: improve handling of nodes with duplicate names.

Two tag nodes with the same name ("ethernet eth0 {...} ethernet eth0 {...}")
is an error.
Two lea...

26fc59887e8c596dad4e67d350b26c5e908be259 authored almost 8 years ago by Daniil Baturin <[email protected]>
Add JSON de/serialization derivers to vytree and config tree modules.

f947b3e8e7b9db2fcab250ce6d8050b650130cec authored almost 8 years ago by Daniil Baturin <[email protected]>
De-duplicate top level nodes during parsing too.

6cb2c8f1c67532f1f3a23e75b80984d40ed160d2 authored almost 8 years ago by Daniil Baturin <[email protected]>
Allow valueless nodes in the curly parser.

0a3d779e27e854bcee00c33139e27c4beac41e60 authored almost 8 years ago by Daniil Baturin <[email protected]>
Not quite T245: add some unit tests for the curly parser.

983509428fb7e882d1766de1115c2ddc7d8b8335 authored almost 8 years ago by Daniil Baturin <[email protected]>
Not quite T245 but related: trim comments and allow more characters in identifiers.

395b01c2b19f31ac296b2fda7b4f8aefaa1506ee authored almost 8 years ago by Daniil Baturin <[email protected]>
T245: add support for the old style tag node syntax ("ethernet eth0")

as opposed to "ethernet { eth0".
Note that "new syntax" for tag nodes, i.e. not using any special...

587757b94f221b40edacdd9d6494a62bab83a9a5 authored almost 8 years ago by Daniil Baturin <[email protected]>
T245: add Vytree.merge_children function for de-duplicating children

that share the same name by merging subsequent nodes into the first one.
Bad thing: the comments ...

8377563a0d0d20f1e7f67b7cfcec4c27a02b7a3f authored almost 8 years ago by Daniil Baturin <[email protected]>
Remove the old message library that will be replaced with the Protobuf one.

b3afc59cfef4637dee41a595485559ff1e04193c authored almost 8 years ago by Daniil Baturin <[email protected]>
Do not require path for set/delete, add an error for trying to set a path that already exists.

64503e857d6e13a4af10f2d083ffa3ad95e753bd authored about 8 years ago by Daniil Baturin <[email protected]>
Make error and warning single string, add more specific error codes.

8d0dac205219fe84dbee0162f102e67c8b2e1616 authored about 8 years ago by Daniil Baturin <[email protected]>