summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-06Merge pull request #2 from jestabro/config-migrateJohn Estabrook
T1334: Migration script runner rewrite
2019-05-30T1334: Migration script runner rewriteJohn Estabrook
Add lexing support for new config file footer syntax.
2019-03-17T1305: allow configs to end with a leaf node.Daniil Baturin
2019-02-14Add a function for copying nodes.Daniil Baturin
2019-01-26Update changelog and version.v0.0.6Daniil Baturin
2019-01-26T1193: allow top level leaf and tag nodes.v0.0.5Daniil Baturin
The original config backend allows them, and it's needed ofr correct operation of the commands pipe at edit levels other than the top level.
2018-11-29Update the changelog (even though the actual change is in vyconf).v0.0.4Daniil Baturin
2018-09-11Add support for passing error messages to outside world.Daniil Baturin
It's done through a global reference, but since the parser is already not reentrant due to the lexer hack, the issue is moot.
2018-09-11Allow all characters except braces, quotes, and whitespace in "identifiers"Daniil Baturin
(bare strings that can be either node identifiers or leaf node values). That's required for compatibility with old configs because old configs allow it, for example, "pre-shared secret f%#$!@*&".
2018-09-02T824: add support for node renaming.Daniil Baturin
2018-08-04T765: escape special characters on config formatting.Daniil Baturin
2018-07-18Use a more descriptive name for the lexer hack flag and add an explanation ↵Daniil Baturin
of it.
2018-06-05Revert "Allow leaf and tag nodes at the top level, required for piping conf ↵Daniil Baturin
mode "show" output" This reverts commit a02c7c1cf4b0ba7666575648562f99f593306c27.
2018-06-05Add commands formatter function to the bindings.Daniil Baturin
2018-06-05Allow leaf and tag nodes at the top level, required for piping conf mode ↵Daniil Baturin
"show" output which produces incomplete configs and thus breaks the "all top level nodes" are non-leaf non-tag nodes invariant.
2018-05-31Trim comments strings to avoid adding extra whitespace.Daniil Baturin
2018-05-30Quote all values just to be safe.Daniil Baturin
2018-05-29Merge branch 'master' of github.com:vyos/libvyosconfigDaniil Baturin
2018-05-29Correct rendering of childless tag nodes.Daniil Baturin
2018-05-28Add hacky debian packaging.Daniil Baturin
2018-05-28Add the delete and exists/list_nodes/return_value(s) functions.Daniil Baturin
2018-05-28Oops, missing library in the makefile.Daniil Baturin
2018-05-28Add from_string and to_string functions to the bindings.Daniil Baturin
2018-05-28Integrate the parser/lexer and the renderer in the build setup.Daniil Baturin
2018-05-28Clean up commented out code.Daniil Baturin
2018-05-28Use the ephemeral flag for marking tag nodes at parsing time.Daniil Baturin
2018-05-28Remove extra new lines from the config output.Daniil Baturin
2018-05-27Add a formatter for VyOS 1.x config files.Daniil Baturin
2018-05-27Use the ephemeral flag (which is never used in VyOS 1.x for lack of the ↵Daniil Baturin
concept) to mark tag nodes at parsing time.
2018-05-26Add a parser for the VyOS 1.x config format.Daniil Baturin
2018-05-26Import the initial, proof of concept implementation.Daniil Baturin