summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-07-28qat: T7662: add PCI ID range for Intel C62x virtual function devicesDaniil Baturin
2025-07-28ipsec: T7593: Add dynamic prefix for local and remote traffic selectorsOleksandr Kuchmystyi
In case when there is no local/remote prefix configured in a tunnel settings, a protocol configured for such tunnel is ignored. The correct way to generate the configuration is to set the prefix to `dynamic` if it was not set. The correct config for the described case is: ``` local_ts = dynamic[gre/] remote_ts = dynamic[gre/] ```
2025-07-25Merge pull request #4623 from sever-sever/T7649-hyphenChristian Breunig
T7649: Fix use hyphens instead of underscores for kernel options
2025-07-25T7649: Fix use hyphens instead of underscores for kernel optionsViacheslav
The ConfigTree for operation mode uses hyphens instaed of underscores. Fix kernel options during image upgrade.
2025-07-24T7175: Added VPP optionKyle McClammy
2025-07-24Merge pull request #4619 from vyos/T7649Daniil Baturin
T7649: Add missed system kernel options for image installer
2025-07-24pylint: T7648: disable some linter-checks hit by GitHub action pipelineChristian Breunig
Running pylint --errors-only ... ************* Module interfaces src/op_mode/interfaces.py:42:54: E1101: Instance of '_IO' has no 'fileno' member (no-member) ************* Module show_techsupport_report src/op_mode/show_techsupport_report.py:62:50: E1101: Instance of '_IO' has no 'fileno' member (no-member)
2025-07-24Merge pull request #4616 from hedrok/T7489-fix-output-ipsec-passthroughDaniil Baturin
T7489: Fix output state of ipsec passthrough child
2025-07-24T7649: Add missed system kernel options for image installerViacheslav
Add missed system kernel options to the image_installer do not lose configured kernel options per an image upgrade.
2025-07-23T7489: Fix output state of ipsec passthrough childKyrylo Yatsenko
Show state of passthrough tunnels as always up. Passthrough children of connection have PASS mode but have no sa and are not shown in vici list_sas. Fix by passing mode from vici list_connections to _get_child_sa_state and always return 'up' for child with PASS mode.
2025-07-21migration: T7648: fix Undefined variable 'config' in vrrp/1-to-2Christian Breunig
2025-07-21migration: T7648: fix Undefined variable 'af_path' in quagga/2-to-3Christian Breunig
2025-07-21migration: T7648: fix Undefined variable 'config' in interfaces/5-to-6Christian Breunig
2025-07-21migration: T7648: fix Undefined variable 'base' in interfaces/0-to-1Christian Breunig
2025-07-21vyos.utils: T7648: only provide one chown functionChristian Breunig
Remove duplicate function definition vyos.utils.file.chown which was also provided by vyos.utils.permission.chown.
2025-07-21op-mode: T7648: fix pylint errors in storage moduleChristian Breunig
************* Module storage src/op_mode/storage.py:32:11: E0602: Undefined variable '_get_system_storage' (undefined-variable) src/op_mode/storage.py:52:11: E0602: Undefined variable 'output' (undefined-variable)
2025-07-21op-mode: pki: T7648: fix pylint errorChristian Breunig
************* Module pki src/op_mode/pki.py:459:8: E1128: Assigning result of a function call, where the function returns None (assignment-from-none)
2025-07-21op-mode: T7648: add missing import statement in connect disconnect handlerChristian Breunig
2025-07-21T7648: when using netifaces set "pylint: disable = no-name-in-module"Christian Breunig
As the python netifaces module is written in C - we can not inspect any import line as the linter does not see it. Disable the warnings here.
2025-07-20T7645: formattingJohn Estabrook
2025-07-20T7645: fix missing import and incorrect check of is_node_changedJohn Estabrook
Fix errors introduced by refactoring for modprobe/rmmod jool module.
2025-07-16Merge pull request #4605 from MattKobayashi/T7625Viacheslav Hletenko
T7625: load-balancing: prune limit key if not configured
2025-07-15tpm: T4919: Add boot warning if TPM not presentsarthurdev
2025-07-15tpm: T7628: Fix non-TPM backed encryptionsarthurdev
2025-07-15tpm: T4919: Not supported on live-ISOsarthurdev
2025-07-14T7627: fix regression to allow load without arg to load default configJohn Estabrook
2025-07-14T7625: load-balancing: prune limit key if not configuredMatthew Kobayashi
2025-07-10Merge pull request #4582 from hedrok/T7545-fix-show-vpn-debug-peerDaniil Baturin
ipsec: T7545: Fix show vpn debug peer
2025-07-09wlb: T7622: fix the op mode "run show wan-load-balance" commandDaniil Baturin
2025-07-08Merge pull request #4574 from jestabro/merge-configJohn Estabrook
T7499: update config merge tools
2025-07-08T7607: Remove "set vpp settings host-resources nr_hugepages <N>" setting (#43)Nataliia S.
2025-07-08ipsec: T7545: Fix show vpn debug peerKyrylo Yatsenko
Fix re for searching of peers in /etc/swanctl/swanctl.conf ``` search = rf'^[\s]*(peer_{peer}_(tunnel_[\d]+|vti)).*' ``` Changed to ``` search = rf'^[\s]*({peer}-(tunnel-[\d]+|vti))[\s]*{{' ``` Added message ``` print(f'\n### {command} ###') ``` so that output is not empty when `/usr/sbin/ipsec statusall` shows nothing
2025-07-08T7499: add utility to download/uncompress config file, for load/mergeJohn Estabrook
2025-07-08T7499: use direct request to vyconfd to avoid re-validatingJohn Estabrook
2025-07-08T7499: expose destructive merge in http-apiJohn Estabrook
2025-07-08T7499: add unittest for config tree merge functionJohn Estabrook
2025-07-08T7499: load from internal representation to avoid re-parsingJohn Estabrook
2025-07-08T7499: update vyos-merge-config.py script to use tree merge functionJohn Estabrook
2025-07-07T7528: Fix service monitoring prometheus stops servicesViacheslav
Fix for service monitoring prometheus stops unconfigured services. Check if the service is in active state before stop it.
2025-07-03T7588: move blocking function to threadpool to allow asyncJohn Estabrook
Refactor the blocking code in config handlers (endpoints /configure, /config-file) to run in a threadpool; this allows defining the handler as async. Consequently, the handler itself runs in the main thread, avoiding the need for thread registration for libvyosconfig function calls.
2025-07-03Merge pull request #4585 from c-po/copyright-noticeDaniil Baturin
T7591: remove copyright years from source files
2025-07-01Merge pull request #4583 from nobidev/features/fix-uuidgen-qemuDaniil Baturin
T7587: Fix uuidgen warning if DMI doesn't have product_serial or it empty
2025-06-29validators: T6622: Radix-aware numeric validationAndrew Topp
* Adding support for hex, octal and binary integers (decimal-only floats) * Defaults retain current parameter and parsing behaviour * Any radix option overrides default assumption of "--decimal" * Radix options are inclusive together * As number_of_string is used for parameters, param parsing is overridden to always allow un-prefixed decimals, for convenience.
2025-06-28T7591: remove copyright years from source filesChristian Breunig
The legal team says years are not necessary so we can go ahead with it, since it will simplify backporting. Automatically removed using: git ls-files | grep -v libvyosconfig | xargs sed -i -E \ 's/^# Copyright (19|20)[0-9]{2}(-[0-9]{4})? VyOS maintainers.*/# Copyright VyOS maintainers and contributors <maintainers@vyos.io>/g' In addition we will error-out during "make" if someone re-adds a legacy copyright notice
2025-06-27vrf: T7544: Ensure correct quoting for VRF ifnames in nftablesAndrew Topp
* For VRF create/delete: * Simple dquoting, as before, was parsed away by the shell * Just escaping the double quotes could cause issues with the shell mangling VRF names (however unlikely) * Wrapping original quotes in shell-escaped single quotes is a quick & easy way to guard against both improper shell parsing and string names being taken as nft keywords. * Firewall configuration: * Firewall "interface name" rules support VRF ifnames and used them unquoted, fixed for nft_rule template tags (parse_rule) * Went through and quoted all iif/oifname usage by zones and interface groups. VRF ifnames weren't available for all cases, but there is no harm in completeness. * For this, also created a simple quoted_join template filter to replace any use of |join(',') * PBR calls nft but doesn't mind the "vni" name - table IDs used instead I may have missed some niche nft use-cases that would be exposed to this problem.
2025-06-24wan-load-balancing: T7567: Write health-status on first runAbhishek Safui
Write the health-status on the very first run of the script, without waiting for any change in status, to show the current state to the show command. In show command use the same api to get the now timestamp as used in state change timestamp.
2025-06-24T7424: Refactor resource validation and broaden cases (#38)Nataliia S.
* T7424: Refactor and extend resource usage verification on commit for VPP CLI T7424: Fix ruff errors * T7424: Implement check for smoke tests runtime; reduce resource requirements for test environments T7424: Fix errors in calculating the skipped and reserved CPU cores; Adjust default main heap size value. * T7424: Refactor the CPU checks logic; Add total CPU usage check T7424: Fix CPU reserve and skip cores calculations; Add total CPU usage check T7424: Refactor smoketests to reflect new logic * T7424: Refactor the CPU and memory checks logic --------- Co-authored-by: oniko94 <onikolaiev94@outlook.com>
2025-06-24Merge pull request #4570 from jestabro/commitd-configdep-errDaniil Baturin
T7570: add missing list of scripts to be committed, needed for configdep
2025-06-24Merge pull request #4573 from c-po/pki-T7574Daniil Baturin
pki: T7574: add optional force argument to renew certbot-issued certificates
2025-06-24Merge pull request #4572 from c-po/pki-T7573Daniil Baturin
pki: T7573: fix TypeError when HAProxy is not in use