Age | Commit message (Collapse) | Author |
|
Use vyos-1x migration script runner.
|
|
Configurations that contain double quoted values that ended in \ were
causing parse errors on load / reboot, resulting in a failure to load
the config file and an empty config.
This commit adds extra logic to the lex parsing of the config file to
catch this particular case whilst still allowing escaped quotes in the
middle of quoted values.
Bug #593 http://bugzilla.vyos.net/show_bug.cgi?id=593
|
|
|
|
This fixes some more of the memory leaks in load and commit.
Some still exist in the legacy cli_new/cli_parse code. Since that code
is supposed to be rewritten such that it interfaces with the rewritten
commit code in a clean way, these will not be fixed right now.
|
|
(cherry picked from commit 1b2a0fd1ae1e6dfc18e4f75f73cd7befb47cf538)
|
|
|
|
* part of the config backend cleanup/optimization work.
* improves the performance of "load" (w/o commit) by ~55% and "show" by ~15%.
|
|
|
|
|
|
* work around comment syntax ambiguity by ignoring comments not associated with any nodes.
|
|
|
|
(cherry picked from commit f780a3fe2703874219e70e7cf443846fd85e9a67)
|
|
(cherry picked from commit 7f436bd240d19bace94f102ce2f035399e48d612)
|
|
(cherry picked from commit 42f2fdb35cff89debd346126eb69cd95d855ff7b)
|
|
* add new boot-time config loading script that uses shell API to access backend directly, bypassing wrapper.
* use new loadFile implementation in the backend to perform the actual "load" operation (without "commit"). this reduces the "pre-commit" load time by ~60%.
|
|
|
|
|
|
|
|
* add parser to package build.
* add prefix, error handling, etc.
* fix handling of empty and 1-char values in lex.
* add API function.
|
|
|