| Age | Commit message (Collapse) | Author |
|
kea: T7281: Fix Kea 3.0 service failures
|
|
|
|
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.
|
|
Reduce amount of duplicate file/folder strings.
|
|
kea: T7821: Update Kea to 3.0
|
|
op-mode: T6857: Fix default action for prerouting hook
|
|
- Fixed incorrect wrapping of 'show interfaces' description
|
|
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']
|
|
- Fixed incorrect wrapping of 'show interfaces' description
|
|
* 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'
|
|
T6211: Fix kea VRF op-mode commands
|
|
op-mode: T5992: show dhcpv6 leases with (mostly) the same fields as dhcp leases
|
|
|
|
op-mode: T7516: expand 'reset bgp all' elements with in/out/soft options
|
|
- 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
|
|
|
|
- Fixes the op-mode cosmetic bugs with default-action
for prerouting hook.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Added 'show interfaces kernel statistics' command
- Added 'show interfaces kernel <interface> statistics' command
|
|
op-mode: T7751: fix re-generating SSH server key causes PermissionError
|
|
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
|
|
- 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
|
|
kernel-updates
|
|
- Moved is_interface_has_mac outside of _get_summary_data
- Updated MAC definition in _format_kernel_data to use is_interface_has_mac
|
|
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
|
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.
|
|
|
|
T7687: Add op-mode for VLAN-to-VNI mapping
|
|
kea: T6211: add VRF support for KEA dhcp server
|
|
|
|
- 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
|
|
|
|
|
|
T7668: bail out early in get_cli_kernel_options() if nothing is to do
|
|
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.
|
|
op-mode: T7403: add an option to forcefully remove a container image
|
|
If there is no Kernel option to pass, there is no need to run the code to
completion. Bail out early.
|
|
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', {})
{}
>>>
```
|
|
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"!
|
|
|
|
|
|
The ConfigTree for operation mode uses hyphens instaed of
underscores.
Fix kernel options during image upgrade.
|
|
T7649: Add missed system kernel options for image installer
|
|
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)
|
|
T7489: Fix output state of ipsec passthrough child
|