summaryrefslogtreecommitdiff
path: root/python
AgeCommit message (Collapse)Author
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
2025-09-18Merge pull request #4708 from sarthurdev/T114Daniil Baturin
wlb: T114: Add firewall group support for WAN load balancer
2025-09-17ssh: T7839: add deprecation warning for DSA hostkey-algorithm usageChristian Breunig
OpenSSH in Debian Trixie has removed support for ssh-dss (DSA) keys, which will prevent users with such keys from logging in after upgrade. To avoid lockouts, add a loud deprecation warning when users log in using a DSA key. This warning advises affected users to replace their keys with a supported algorithm (e.g., ed25519 or RSA) before the upgrade. Deprecation warning will be displayed during "commit" but also as MOTD to inform on this issue during every login. DEPRECATION WARNING: Support for SSH-DSA keys is deprecated and will be removed in VyOS 1.6. Please update affected keys to a supported algorithm (e.g., RSA, ECDSA or ED25519) to avoid authentication failures after the upgrade. The following hostkey-algorithms are in use: ssh-dss, ssh-dss-cert-v01@openssh.com
2025-09-17T7796: PPPoE-server add mapping in vpp if vpp-cp is enabledNataliia Solomko
2025-09-17T7785: VPP enable L3 mode after removing interface from a bridgeViacheslav
We have to re-enable L3 mode for an interface after removing the interface from a bridge. From the VPP API @param enable - Enable beige mode if not 0, else set to L3 mode
2025-09-16T7806: VPP do not allow skip-cores to be configured without main-coreNataliia Solomko
2025-09-16Merge pull request #4696 from natali-rs1985/T7783Daniil Baturin
T7783: T7786: VPP clarify error messages for CPU requirements
2025-09-16T7783: T7786: VPP clarify error messages for CPU requirementsNataliia Solomko
2025-09-16T75: migrate from pmacct to ipt_NETFLOWKyrylo Yatsenko
* Change nft to iptables in system_flow-accounting.py as ipt_NETFLOW is iptales plugin * Remove specific and non-relevant pmacct options * Add ipt_NETFLOW options * Move 'interfaces' to 'netflow' tree * Support more flexible 'source-address' and 'source-interface' for each server instead of one source * Add migration script * Update op mode command 'show flow-accounting' * Update op mode command 'restart flow-accounting'
2025-09-15Merge pull request #4715 from c-po/ethernet-if-removalViacheslav Hletenko
ethernet: T7813: remove VLAN interfaces first on deletion
2025-09-15Merge pull request #4716 from c-po/T7814-clean-loggingDaniil Baturin
vyos.ifconfig: T7814: suppress unnecessary syslog noise from missing nftables rules
2025-09-15Merge pull request #4686 from l0crian1/container-macvlanDaniil Baturin
container: T7186: Add macvlan network type for containers
2025-09-15Merge pull request #4289 from nvandamme/currentDaniil Baturin
op-mode: T5992: show dhcpv6 leases with (mostly) the same fields as dhcp leases
2025-09-14vyos.utils: T7740: update dict_search to return optional default value (#4700)l0crian1
2025-09-13vyos.ifconfig: T7814: suppress unnecessary syslog noise from missing ↵Christian Breunig
nftables rules When tearing down interfaces without VRF bindings, nftables may attempt to remove non-existent rules. This results in repetitive error messages in syslog, e.g.: Sep 13 10:27:59 python3[90301]: DEBUG/IFCONFIG returned (err): Sep 13 10:27:59 Error[90301]: Could not process rule: No such file or directory Sep 13 10:27:59 python3[90301]: delete element inet vrf_zones ct_iface_map { "eth1.1337" } Sep 13 10:27:59 python3[90301]: Such output is noise and provides no operational value. The rule removal logic has been adjusted to silently ignore errors when the interface or rule is already absent, ensuring nftables cleanup proceeds when needed while keeping syslogs clean and meaningful.
2025-09-13ethernet: T7813: remove VLAN interfaces first on deletionChristian Breunig
When an Ethernet interface is deleted from the configuration, its associated VLAN subinterfaces must be removed first. This ordering allows VLAN interfaces to gracefully release any active DHCP or DHCPv6 leases before the parent interface disappears, ensuring proper cleanup and avoiding potential lease retention issues.
2025-09-11op-mode: T5992: show dhcpv6 leases with (mostly) the same fields and orderNicolas Vandamme
2025-09-10wlb: T114: Add firewall group support for WAN load balancersarthurdev
2025-09-09T7757: VPP add auto calculation of buffer-per-numa parameter as defaultNataliia Solomko
2025-09-05T7757: VPP Verify buffers for rx/tx queuesNataliia Solomko
2025-09-01op-mode: T5992: show dhcpv6 leases with (mostly) the same fields as dhcp leasesNicolas Vandamme
2025-08-28container: T7186: Add macvlan network type for containersl0crian1
- Moved gen_mac function outside of 'for network' loop - Cached result of get_host_identity() to prevent multiple calls - Other minor improvements per Copilot suggestions
2025-08-28container: T7186: Add macvlan network type for containersl0crian1
Modified: - interface-definitions/container.xml.in: - Add macvlan network type - Add gateway option - python/vyos/utils/network.py: - Add gen_mac function to generate mac address - smoketest/scripts/cli/test_container.py: - Add test for container network types - src/conf_mode/container.py: - Add support for macvlan network type - Add gateway option
2025-08-27T7759: Revert "T7709: add atomic write for config file save"John Estabrook
The utility write_file_atomic does not correctly update the file in the bind mount directory /config. Revert for investigation. This reverts commit c140f827f3117609908a3a18034027d3d78149ac.
2025-08-26Merge pull request #4668 from natali-rs1985/T7670Daniil Baturin
T7670: VPP: Rely on all types of memory to verify memory resources
2025-08-24T7741: Fixes for 'show interfaces kernel'l0crian1
- Added dict_set_nested helper to set a value in a nested dictionary - Modified get_interface_vrf to accept string or dict as argument - Simplified logic using new helper functions
2025-08-21T7670: VPP: Rely on all types of memory to verify memory resourcesNataliia Solomko
VPP can use 2M hugepages and 1G hugepages at the same time
2025-08-20T7493: config_mgmt console_scripts available in vyconf contextJohn Estabrook
2025-08-20T7493: use method load_config_obj in revert_softJohn Estabrook
2025-08-20T7493: add load_config_obj to load into vyconfdJohn Estabrook
2025-08-19Merge pull request #4647 from natali-rs1985/T7678Daniil Baturin
T7678: Move "vpp settings host-resources" to "system option resource-limits"
2025-08-19Merge pull request #4508 from davi2367/vrf-dhcpDaniil Baturin
kea: T6211: add VRF support for KEA dhcp server
2025-08-19Merge pull request #4660 from jestabro/validate-treeJohn Estabrook
T7718: expose validate_tree* methods and add validate-config script
2025-08-19Merge branch 'current' into T7678Nataliia S.
2025-08-18T7718: add python wrappers for validate_tree methodsJohn Estabrook
2025-08-15kea: T6211: add VRF support for KEA dhcp serverDavid Vølker
2025-08-14Merge pull request #4658 from natali-rs1985/T7716Viacheslav Hletenko
T7716: VPP: Change defaults and add a warning about maximum routes count for current configuration
2025-08-14T7716: VPP: Change defaults and add a warning about maximum routes count for ↵Nataliia Solomko
current configuration
2025-08-13T7678: Remove host-resources from CLINataliia Solomko
It will be configured in section "system option host-resources"
2025-08-12T7709: add atomic write for config file saveJohn Estabrook