summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-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-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-04T7302: add dry_run field and update branchJohn Estabrook
2025-04-04T7302: remove unused commit_storeJohn Estabrook
2025-04-02T7292: update tag/leaf data on set pathsJohn Estabrook
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-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-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
2025-02-06T6946: add test function and executableJohn Estabrook
2025-02-06T6946: calculate priority listsJohn Estabrook
2025-02-06T6946: add utils for assembling commit dataJohn Estabrook
2025-02-06T6946: add log message on readJohn Estabrook
2025-01-15T7046: add request reload_reftreeJohn Estabrook
2025-01-14T7046: move reftree.cache to unique directoryJohn Estabrook
This will simplify updates of the reference_tree in case of supplemental contributions, say, addon packages.
2025-01-14T7046: T6946: make world fields reference_tree, running_config mutableJohn Estabrook
The world data structure is fixed in the main loop, however, it will need updates for dynamic loading of reference tree in the presence of addons, respectively, the running config at completion of commit.
2024-12-09T6718: use correct lib name in absence of libvyatta-cfg-devJohn Estabrook
An artifact of development was the use of lib name libvyatta-cfg.so for dlopen instead of libyatta-cfg.so.1. The former exists when the libvyatta-cfg-dev package is installed, as it is when vyatta-cfg is built locally. As the dev package is not needed nor used by default builds, correct to the latter lib name, as installed by libvyatta-cfg.
2024-10-27T6718: drop output of rendered config on startupJohn Estabrook
2024-10-27T6718: read argv explicity instead of using ArgJohn Estabrook
The standard package Arg is understandably confused by paths such as: interfaces openvpn vtun0 openvpn-option --persist-tun Collect args from Sys.argv and use env vars for debug options.
2024-10-27T6718: handle_connection should close fd on End_of_fileJohn Estabrook