summaryrefslogtreecommitdiff
path: root/python
AgeCommit message (Collapse)Author
2025-10-11frrender: T7764: do not log unique-id in syslog messagesChristian Breunig
There is currently no use for us for unique transaction ids emitted by FRR to syslog.
2025-10-11frrender: T7764: reduce log level to notifications during normal operationChristian Breunig
There is no need for informational logging which adds quiet some noise to syslog. Informational logging can be enabled when FRR debug swtitch is set.
2025-10-11frrender: T7764: add "log timestamp precision 3" global optionChristian Breunig
2025-10-11frrender: T7764: log to daemon facility instead of local7Christian Breunig
FRR operates multiple daemons - use proper syslog facility.
2025-10-11frrender: T7764: add deletion marker for bfdChristian Breunig
When deleting the daemon configuration, use the deleted dict element to properly inform FRR config render of absence of the configuration items. Nothing needs to be rendered.
2025-10-11frrender: T7764: add deletion marked for babelChristian Breunig
When deleting the daemon configuration, use the deleted dict element to properly inform FRR config render of absence of the configuration items. Nothing needs to be rendered.
2025-10-10T7920: vpp: add missing Warning import (#4788)Nataliia S.
2025-10-10Merge pull request #4784 from c-po/pppoe-flushViacheslav Hletenko
vyos.ifconfig: T7919: call "ip addr flush" only if interface exists
2025-10-09vyos.ifconfig: T7919: call "ip addr flush" only if interface existsChristian Breunig
Flushing all interface addresses on an interface that does not exists will throw a Python PermissionError. Add safe-guard to only flush interfaces still available.
2025-10-09Merge pull request #4678 from alexandr-san4ez/T5455-currentChristian Breunig
image: T5455: Add migration of SSH `known_hosts` files during upgrade
2025-10-07T7800: VPP: Bonding interface fails when change vpp configurationNataliia Solomko
2025-10-03T7907: archive config file on first boot to avoid misleading log entryJohn Estabrook
Restrictions on writing an empty config file in T7709 lead to a misleading log entry on first boot, in the absence of a baseline archived config file; explicitly create.
2025-10-03vyos.utils.network: T7898: check if system UUID is availableDaniil Baturin
before trying to use it for host identity generation
2025-10-03Merge pull request #4771 from jestabro/airbag-enable-log-falseChristian Breunig
T7903: set airbag enable to default log=False
2025-10-02Merge pull request #4769 from c-po/pki-acme-listen-addressJohn Estabrook
pki: T7885: check_port_availability() can't be used during system boot
2025-10-02T7903: set airbag enable to default log=FalseJohn Estabrook
The default setting for airbag enable redirects sys.stderr by way of a singleton class. Though this construction is not unreasonable, it has been implicated in recent bugs, and is disabled pending a full anaylsis.
2025-10-02config: T7885: show user Warning() instead of hard error on ACME cert issueChristian Breunig
This complements commit ae74a511e (pki: T7885: support full ACME setup via renew certbot force). If /config/auth/letsencrypt is missing, ACME certificate data can't be merged into the VyOS configuration, preventing interface (e.g., ethernet) setup during boot. This change ensures basic IP connectivity is established, allowing remote management instead of leaving the system entirely inaccessible. This is not what we will expect but if a user deletes /config/auth/letsencrypt - this is what will happen.
2025-10-02kea: T7823: DHCP-server lease cannot be clearedcanoziia
* kea: T7823: DHCP-server lease cannot be cleared * Update smoketest/scripts/cli/test_service_dhcp-server.py Co-authored-by: Christian Breunig <christian@breunig.cc> --------- Co-authored-by: Christian Breunig <christian@breunig.cc>
2025-10-02Merge pull request #4739 from roedie/T7852Daniil Baturin
T7852: Switch to yescrypt password encryption
2025-10-02Merge pull request #4758 from dmbaturin/T7871-op-mode-constraintsDaniil Baturin
op-mode: T7871: add support for op mode command argument constraints
2025-09-27frr: T7875: add pre-apply validation using frr-reload --testChristian Breunig
Ensures rendered FRR config passes sanity checks before applying. Prevents issues like T7089 where bad template syntax broke routing. Improves robustness and minimizes risk of config-induced outages.
2025-09-26op-mode: T7871: add support for op mode command argument constraintsDaniil Baturin
2025-09-26image: T5455: Add migration of SSH `known_hosts` files during image upgradeOleksandr Kuchmystyi
During upgrade, the script now checks if any `known_hosts` files exist. If so, it prompts the user to save these SSH fingerprints, and upon confirmation, copies the files to the new image persistence directory.
2025-09-25Merge pull request #4753 from jestabro/config-save-sync-atomicDaniil Baturin
T7709: Add file sync and atomic write to config save script
2025-09-25Merge pull request #4756 from natali-rs1985/T7862Viacheslav Hletenko
T7862: VPP: Enable support of ixgbevf driver for DPDK
2025-09-25Merge pull request #4746 from awolfnet/currentDaniil Baturin
l2tpv3: T7721: fix show l2tpv3 interface information
2025-09-25T7862: VPP: Enable support of ixgbevf driver for DPDKNataliia Solomko
2025-09-24T7709: use standard script vyos-save-config.py for vyconfJohn Estabrook
Take advantage of the helper script in the vyconf context.
2025-09-24T7709: use write_file_sync/atomic in vyos-save-config.py scriptJohn Estabrook
Config save is provided by the helper script in both CLI and configsession (hence also in the http api). Use utilities write_file_sync and write_file_atomic, in accordance with permissions and location: If the target is in /opt/vyatta/etc/config or /config, use write_file_sync; if, moreover, the caller has permissions, use write_file_atomic. Otherwise, fall back to util write_file.
2025-09-24T7709: add utils write_file_sync and write_file_atomicJohn Estabrook
write_file_sync does an explicit fsync of file and directory on write. write_file_atomic calls write_file_sync on a temp file and uses os.rename to provide an 'atomic' write.
2025-09-24Merge pull request #4737 from jestabro/edit-level-op-mode-dictViacheslav Hletenko
T7850: make op_mode_config_dict edit level aware
2025-09-24l2tpv3: T7721: fix show l2tpv3 interface informationHaiyang
2025-09-23T7850: make op_mode_config_dict edit level awareJohn Estabrook
2025-09-23T7850: add util list_strip to remove initial or final sub-listJohn Estabrook
2025-09-23kea: T7821: Update paths for Kea v2.7.9 security changessarthurdev
2025-09-22Merge pull request #4711 from jestabro/interstitial-setDaniil Baturin
T7737: add vyconf-aware analogue of configfs
2025-09-20T7852: Switch to yescypt for password encryptionroedie
Accidentally slipped in 2 whitespace corrections
2025-09-18Merge pull request #4728 from sarthurdev/T7825Simon
nose: T7825: Use nose2 for unit tests
2025-09-18nose: T7825: Use nose2 for unit testssarthurdev
2025-09-18Merge pull request #4729 from natali-rs1985/T7805Daniil Baturin
T7805: VPP remove unused 'default-hugepage-size' from memory section and restrict page sizes in xml
2025-09-18Merge pull request #4731 from c-po/openssh-T7787Daniil Baturin
T7787: add deprecation warning for ssh-dss keys
2025-09-18container: T6673: Fix restart of containers with podman (#4691)l0crian1
Fixed issue with podman and systemd sync when restarting containers with 'podman restart' command. - Placed podman storage directory in vyos/defaults.py - Replaced repeated declarations with vyos.defaults.directories['podman_storage']
2025-09-18T7805: VPP remove unused 'default-hugepage-size' from memory section and ↵Nataliia Solomko
restrict page sizes in xml
2025-09-18T7737: use vyconf aware add/delete_cli_node if enabledJohn Estabrook
2025-09-18T7737: add vyconf aware versions of add/delete_cli_nodeJohn Estabrook
2025-09-18T7737: add auxiliary set/delete functionsJohn Estabrook
Add methods to request auxiliary changes to the config file during a commit. Used only for non-actionable updates, for example removing a plaintext password and adding the encrypted password.
2025-09-18T7737: update init data as needed for vyos-commitd environmentJohn Estabrook
Provide env vars of config session for injection into the commitd environment. This information is needed for certain config-mode scripts, namely those that reference the module vyos.utils.auth.
2025-09-18T7737: use standardized env var for config session pidJohn Estabrook
2025-09-18T7737: add generated protobuf filesJohn Estabrook
2025-09-18Merge pull request #4722 from natali-rs1985/T7796Daniil Baturin
T7796: PPPoE-server add mapping in vpp if vpp-cp is enabled