summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
5 daysMerge pull request #20 from jestabro/vyconf-configsessionHEADmastercurrentDaniil Baturin
T7321: Replace legacy operations in configsession.py with vyconf client operations
9 daysT7321: catch Useless_set exceptionJohn Estabrook
9 daysT7321: fix typo: do not validate delete pathsJohn Estabrook
9 daysT7321: add session_changed checkJohn Estabrook
9 daysT7321: add discard operationJohn Estabrook
9 daysT7321: add save config operationJohn Estabrook
9 daysT7321: add load config operation: load to proposed configJohn Estabrook
9 daysT7321: add validate_tree for use by load configJohn Estabrook
9 daysT7321: move load_config utility to vyos1x-config for general useJohn Estabrook
9 daysT7321: 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.
12 daysMerge 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
2025-02-11Merge pull request #14 from jestabro/commit-algJohn Estabrook
T6946: add calculation of commit priority queues
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: fix missing dependenciesJohn Estabrook
2025-02-06T6946: add log message on readJohn Estabrook
2025-01-20Merge pull request #13 from jestabro/mutable-worldDaniil Baturin
T7046: T6946: add ability to reload reference tree at runtime
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-09Merge pull request #12 from jestabro/fix-lib-nameDaniil Baturin
T6718: use correct lib name in absence of libvyatta-cfg-dev
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-11-07Merge pull request #11 from jestabro/vyconf-minimalDaniil Baturin
T6718: use the vyconf daemon for validation of set commands
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
2024-10-27T6718: drop unnecessary reference to file descriptorJohn Estabrook
2024-10-27T6718: move vyos1x-adapter into subdirectoryJohn Estabrook
The vyos1x-adapter provides access to the legacy CStore set/delete functions using ctypes. Developed as a separate package, include as a subdir, to be retired when full replacements are available.
2024-10-27T6718: add client_session module and test executable validate.mlJohn Estabrook