summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-07-08Merge pull request #24 from jestabro/merge-configcurrentJohn Estabrook
T7499: allow load from internal representation to avoid re-parsing
2025-07-06T7499: catch Duplicate_value errorJohn Estabrook
2025-07-06T7374: close session to avoid stale dataJohn Estabrook
2025-07-06T7499: use direct request to vyconfd to avoid re-validating pathsJohn Estabrook
Merging before passing to the backend results in re-validation of existing paths in the proposed config; this is unavoidable with the legacy backend. For vyconf, send the merge proposal with the request, so validation is only required on new paths.
2025-07-06T7499: allow load from internal representation to avoid re-parsingJohn Estabrook
2025-07-06Merge pull request #25 from vyos/claChristian Breunig
T7579: added workflow for CLA
2025-07-04T7579: added workflow for CLAclalemeshovich
2025-06-05Merge pull request #23 from jestabro/vyconf-cliDaniil Baturin
T7374: add executable to replace legacy my_* cli tools
2025-05-27T7374: add executable to replace legacy my_* cli toolsJohn Estabrook
Add framework and initial replacements vy_set, vy_delete, vy_discard, and the utility vy_session_changed.
2025-05-20Merge pull request #21 from jestabro/config-contextDaniil Baturin
T7363: Add vyconf aware initialization of Config
2025-05-13Merge pull request #22 from vyos/T7450-use-pcre2John Estabrook
deps: T7450: Use PCRE2 instead of the original, oudated PCRE
2025-05-13deps: T7450: Use PCRE2 instead of the original, oudated PCRET7450-use-pcre2Daniil Baturin
2025-05-12T7363: add get_config(s) request for Config instance initializationJohn Estabrook
Request cache of session running and proposed configs for loading on intialization of Config instance. As used elsewhere (for example vyos-commitd), this is a much faster method of exchanging information than render and re-parse.
2025-05-12T7352: add option to load legacy config on start for interoperabilityJohn Estabrook
2025-05-12T7363: add error indicating uncommited changesJohn Estabrook
2025-05-12T7363: add session search and update by pidJohn Estabrook
2025-05-12T7363: track process id in session dataJohn Estabrook
In practice, this may be passed in the request as the ppid, as needed for CLI applications to coordinate with the ambient config session. For other uses, the client pid will suffice.
2025-05-12T7363: normalize function naming for auto-generationJohn Estabrook
For auto-generation of Python classes, it is simpler to maintain syntactical consistency; as these operations will be wrapped in any client definitions, verbosity is forgivable.
2025-05-12T7272: refactor commit function for clarityJohn Estabrook
2025-04-15Merge pull request #20 from jestabro/vyconf-configsessionHEADmasterDaniil Baturin
T7321: Replace legacy operations in configsession.py with vyconf client operations
2025-04-11T7321: catch Useless_set exceptionJohn Estabrook
2025-04-11T7321: fix typo: do not validate delete pathsJohn Estabrook
2025-04-11T7321: add session_changed checkJohn Estabrook
2025-04-11T7321: add discard operationJohn Estabrook
2025-04-11T7321: add save config operationJohn Estabrook
2025-04-11T7321: add load config operation: load to proposed configJohn Estabrook
2025-04-11T7321: add validate_tree for use by load configJohn Estabrook
2025-04-11T7321: move load_config utility to vyos1x-config for general useJohn Estabrook
2025-04-11T7321: rename vyconf.proto message Status and enum to avoid collisionJohn Estabrook
The message and enum name Status conflicts with the use in vycall.proto; as the latter has consistency with other (non-conflicting) uses of the term, rename the former.
2025-04-08Merge pull request #19 from jestabro/commit-dry-runDaniil Baturin
T7302: add backend support for commit dry-run
2025-04-04T7302: add dry_run field and update branchJohn Estabrook
2025-04-04T7302: remove unused commit_storeJohn Estabrook
2025-04-03Merge pull request #18 from jestabro/set-tag-and-leafJohn Estabrook
T7292: update tag/leaf data on set paths
2025-04-02T7292: update tag/leaf data on set pathsJohn Estabrook
2025-04-01Merge pull request #17 from jestabro/commit-postDaniil Baturin
T7272: update vyconf config tree on results from commitd
2025-03-31T7272: call both Lwt connections under a single Lwt.mainJohn Estabrook
Call both the vyconfd server and the vyos-commitd client under the top-level Lwt.main loop.
2025-03-31T7292: add commit request client operationsJohn Estabrook
2025-03-31T7272: add commit processing of commitd responseJohn Estabrook
2025-03-31T7272: simplify library dependencies for implementation of commit opJohn Estabrook
2025-03-31T7272: clean up dune file names and dependenciesJohn Estabrook
2025-03-25Merge pull request #16 from jestabro/strip-versionDaniil Baturin
T7246: strip version strings on config load
2025-03-25T7246: strip version info on config loadJohn Estabrook
After T7246, the lexer no longer ignores lines beginning with '//', namely, the component version string lines; explictly strip before load.
2025-03-18Merge pull request #15 from jestabro/commitdJohn Estabrook
T7121: Set up communication vyconfd to vyos-commitd
2025-03-16T7121: add commitd client operation and test functionJohn Estabrook
2025-03-16T7121: add cache directory and files, and commitd socket nameJohn Estabrook
Pass active and proposed configs between vyconfd and vyos-commitd using a fast cache to avoid parsing overhead.
2025-03-16T7121: add commitd protobuf message definition fileJohn Estabrook
2025-03-16T7121: keep track of source of subtree from delete or add treesJohn Estabrook
For partial commits with a config error on a subtree, one needs to know the origin of the failed subtree, whether from deletion or addition, in order to contruct the partial successful result.
2025-03-16T7121: add commit_store stub callback and expose needed functionsJohn Estabrook
2025-03-16T7121: script_name defined as string, not string option, by constructionJohn Estabrook
2025-03-16T7121: extend and rename commit data records to parallel vyos-commitdJohn Estabrook