summaryrefslogtreecommitdiff
path: root/src/op_mode
AgeCommit message (Collapse)Author
2025-09-23Merge pull request #4743 from sarthurdev/kea3.0Christian Breunig
kea: T7281: Fix Kea 3.0 service failures
2025-09-22kea: T7281: Use correct Kea unit filessarthurdev
2025-09-22image: T7818: avoid error when skipping config migrationChristian Breunig
Fix "No such file or directory" error triggered during image upgrade when user opts not to migrate config. GRUB cmdline migration incorrectly attempts to access non-existent config in new image path.
2025-09-22image: T7818: re-use global path definitions from vyos.defaultsChristian Breunig
Reduce amount of duplicate file/folder strings.
2025-09-18Merge pull request #4723 from sarthurdev/kea3.0Viacheslav Hletenko
kea: T7821: Update Kea to 3.0
2025-09-18Merge pull request #4692 from l0crian1/fw-pre-def-fixSimon
op-mode: T6857: Fix default action for prerouting hook
2025-09-18op-mode: T7746: Fix 'show interfaces' description wrapping (#4725)Christian Breunig
- Fixed incorrect wrapping of 'show interfaces' description
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-16op-mode: T7746: Fix 'show interfaces' description wrappingl0crian1
- Fixed incorrect wrapping of 'show interfaces' description
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 #4689 from davi2367/vrf-dhcpDaniil Baturin
T6211: Fix kea VRF op-mode commands
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-14kea: T7821: Update Kea to 3.0sarthurdev
2025-09-12Merge pull request #4709 from l0crian1/reset-bgp-all-in-out-softViacheslav Hletenko
op-mode: T7516: expand 'reset bgp all' elements with in/out/soft options
2025-09-10BGP: T7516: Expand 'reset bgp all' elements with in/out/soft optionsl0crian1
- Added 'in', 'out', and 'soft' options to all 'reset bgp all' elements - Replaced calls to vtysh_wrapper.sh with new bgp.py reset function - Replaced direct 'vtysh -c' calls with new bgp.py reset function
2025-09-10nat: T7696: Fix NAT op-mode output for protocol and interface groupssarthurdev
2025-09-02Firewall: T6857: Fix default action for prerouting hookl0crian1
- Fixes the op-mode cosmetic bugs with default-action for prerouting hook.
2025-09-01Merge branch 'current' of https://github.com/nvandamme/vyos-1x into currentNicolas Vandamme
2025-09-01Merge branch 'vyos:current' into currentNicolas Vandamme
2025-09-01op-mode: T5992: show dhcpv6 leases with (mostly) the same fields as dhcp leasesNicolas Vandamme
2025-09-01Merge branch 'current' into currentNicolas Vandamme
2025-09-01T6211: Fix kea VRF op-mode commandsDavid Vølker
2025-08-29op-mode: T7764: Add 'vlan-to-vni statistics' op-mode commandl0crian1
2025-08-26T7742: Add 'show interfaces kernel statistics' commandl0crian1
- Added 'show interfaces kernel statistics' command - Added 'show interfaces kernel <interface> statistics' command
2025-08-26Merge pull request #4677 from c-po/ssh-restart-T7751John Estabrook
op-mode: T7751: fix re-generating SSH server key causes PermissionError
2025-08-25op-mode: T7751: fix re-generating SSH server key causes PermissionErrorChristian Breunig
Fixes an issue when re-generating SSH server key vyos@vyos:~$ generate ssh server-key Do you really want to remove the existing SSH host keys? [y/N] y Traceback (most recent call last): File "/usr/libexec/vyos/op_mode/generate_ssh_server_key.py", line 31, in <module> cmd('systemctl restart ssh.service') File "/usr/lib/python3/dist-packages/vyos/utils/process.py", line 155, in cmd raise OSError(code, feedback) PermissionError: [Errno 1] failed to run command: systemctl restart ssh.service returned: exit code: 1
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-21Merge branch 'kernel-updates' of https://github.com/l0crian1/vyos-1x into ↵l0crian1
kernel-updates
2025-08-21T7741: Fixes for 'show interfaces kernel'l0crian1
- Moved is_interface_has_mac outside of _get_summary_data - Updated MAC definition in _format_kernel_data to use is_interface_has_mac
2025-08-20Update src/op_mode/interfaces.pyl0crian1
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-20op-mode: T7741: Fixes for 'show interfaces kernel'l0crian1
Fixes for the following: - Tunnel interfaces report an IP address in the field where a MAC is expected - Podman created veth interfaces list it's parent network as a VRF instead of the actual VRF. - Long descriptions should wrap - Non useful interfaces shouldn't be shown.
2025-08-20kea: T6211: fix error in op_mode for VRF support for KEADavid Vølker
2025-08-19Merge pull request #4652 from l0crian1/vid-to-vni-opDaniil Baturin
T7687: Add op-mode for VLAN-to-VNI mapping
2025-08-19Merge pull request #4508 from davi2367/vrf-dhcpDaniil Baturin
kea: T6211: add VRF support for KEA dhcp server
2025-08-15kea: T6211: add VRF support for KEA dhcp serverDavid Vølker
2025-08-07T7687: Add op-mode for VLAN-to-VNI mappingl0crian1
- Added op-mode commands for VLAN-to-VNI mappings - Commands added: - show interfaces vxlan <interface> vlan-to-vni - show interfaces vxlan <interface> vlan-to-vni detail - show interfaces vxlan <interface> vlan-to-vni vlan <vlan-id> - show interfaces vxlan <interface> vlan-to-vni vlan <vlan-id> detail
2025-08-07T7697: Remove year from copyrightViacheslav
2025-08-07T7697: Merge remote-tracking branch 'vpp/current' into vyos-1xViacheslav
2025-08-01Merge pull request #4639 from c-po/T7668-optimizeDaniil Baturin
T7668: bail out early in get_cli_kernel_options() if nothing is to do
2025-07-31op-mode: T7403: fix image deletion when a single image ID is providedChristian Breunig
Commit a99ca6d11 ("op-mode: T7403: add option for forcefully removing a container image") did not account for the case where a single image ID is passed as a string. This led to incorrect behavior during iteration. Without converting the string to a list, the code iterates over individual characters of the image ID rather than treating it as a single item. As a result, the system attempts to delete non-existent container images based on these characters.
2025-07-31Merge pull request #4590 from c-po/container-image-removeDaniil Baturin
op-mode: T7403: add an option to forcefully remove a container image
2025-07-31T7668: bail out early in get_cli_kernel_options() if nothing is to doChristian Breunig
If there is no Kernel option to pass, there is no need to run the code to completion. Bail out early.
2025-07-30T7668: Fix image update due to None kernel optionsViacheslav
If we do not have the system options kernel the update fails Change order for variables `k_cpu_opts` and `k_memory_opts` If we do not have kernel_options set empty dictionary as NoneType object has no attribue `get` ``` >>> kernel_options=None >>> kernel_options.get('cpu', {}) Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'NoneType' object has no attribute 'get' >>> >>> >>> kernel_options={} >>> kernel_options.get('cpu', {}) {} >>> ```
2025-07-29op-mode: T7403: add option for forcefully remove a container imageChristian Breunig
If you have multiple images (tags) loaded for a container which point to the exact same hash - you can only forcefully delete them. vyos@vyos:~$ delete container image 70dc5806 Error: unable to delete image "70dc5806" by ID with more than one tag ([registry.io/foo/bar:v1.0 registry.io/foo/bar:v1.0.1]): please force removal In additon an image that is still beeing used can not be removed from the system as this would cause infinite container restarts. vyos@vyos:~$ delete container image all force Cannot delete image "d205499ae8bb" because it is currently being used by container "3b290f90e83d"!
2025-07-29op-mode: T7403: print STDOUT when adding a container imageChristian Breunig
2025-07-28qat: T7662: add PCI ID range for Intel C62x virtual function devicesDaniil Baturin
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-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