summaryrefslogtreecommitdiff
path: root/src/op_mode
AgeCommit message (Collapse)Author
2026-06-29ci: T8490: fix typos in comments, strings, and local identifiersYuriy Andamasov
Reaches a clean typos baseline for the T8490 ruleset pilot. Categories: - Comments/docs: recursivly, taret, passsed, characted, arhive, AtrributeError; "ned" -> "new" (migration comments). - Messages/strings: writeable -> writable (x5); OCaml log "Commandis" -> "Command is". - Local variables (all refs in-function): commited, formating, presistent; inpt_range -> input_range; tz_datas -> tz_data_raw (avoids the tz_data collision). - Self-contained renames (definition + all references in-file): formated_stats, _get_formatted_output_conections -> ..._connections, expension_failure -> expansion_failure (ping + traceroute), snmpd_restart_reqired -> ..._required. False positives are allowlisted centrally (vyos/.github, separate PR), NOT changed here: mke2fs, Maya-calendar "Mak", RFC 4122 "IDentifier" (hostapd), and VPP's "U-Forwrd" bridge-domain column header (op_mode/vpp.py + the VPP smoketest assert the real upstream `vppctl` output). Verified: typos clean, py_compile of every edited .py, zero remaining old-identifier references. 🤖 Generated by [robots](https://vyos.io)
2026-06-20vyos-netlink: T7965: re-apply QoS configuration on dynamic interfacesopswill
Re-apply QoS after dynamic interfaces get addresses after connect/disconnect. When PPPoE interfaces re-connect we need to re-do QoS settings.
2026-06-18Merge pull request #5237 from indrajitr/dhcp-leases-extended-optionsChristian Breunig
dhcp: T8941: Support filter and sorting combination on DHCPv4/v6 server lease entries in op mode
2026-06-16op-mode: T8923: show-bond.py typo fix "--interface" over "--interfaces"Christian Breunig
2026-06-16mtr: T8923: fix typo in function declaration "expension" -> "expansion"Christian Breunig
2026-06-16image: T8923: fix typo in variable definition "PARTITONING" -> "PARTITIONING"Christian Breunig
2026-06-16T8923: normalize "can not" to "cannot"Christian Breunig
Replace two-word "can not" / "Can not" with "cannot" across comments, ConfigError messages, CLI help text, and op-mode output. Standard SNMP MIB files under mibs/ are left unchanged.
2026-06-15Merge pull request #5225 from indrajitr/T8165-pki-private-bundleDaniil Baturin
pki: T8165: Add ability to show certificate full chain in pem format
2026-06-12T8980: apply exclusion mask before taking difference of treesJohn Estabrook
2026-06-12T8980: refactor functions out of config_mgmt.pyJohn Estabrook
This is no real need to have these in config_mgmt; moving to config_sync will localize needed modifications to local/remote configs for exclusion mask.
2026-06-09T8976: explicitly remove 'kernel' device setting on choice of 'tty'John Estabrook
2026-06-04pki: T8165: Add ability to show certificate full chain in pem formatIndrajit Raychaudhuri
Add op-mode command having ability to show certificate full chain in pem format as part of PKI configuration. The certificates are ordered beginning with the end entity (leaf) certificate, followed by any intermediate certificates and finally the private key if requested. This allows users to easily export a certificate along with its CA hierarchy for use in external applications, that require the full chain to be provided in a single file. One can now run the following commands: ``` show pki ca NAME pem full-chain show pki certificate NAME pem full-chain show pki certificate NAME private pem full-chain ```
2026-06-04Merge pull request #5227 from indrajitr/dhcp-lease-time-fixChristian Breunig
dhcp: T8933: Honor system timezone for timestamp display in op mode
2026-05-29dhcp: T8941: Apply guards for empty or missing mapping keysIndrajit Raychaudhuri
2026-05-29dhcp: T8941: Add missing `hostname` as valid sort keyIndrajit Raychaudhuri
Add `hostname` as a valid sort key for both DHCPv4 and DHCPv6 leases and static mappings.
2026-05-29dhcp: T8933: Honor system timezone for timestamp display in op modeIndrajit Raychaudhuri
The time displayed in DHCP v4/v6 server lease op-mode commands should honor system timezone and not force UTC timezone. This would keep the timestamps in the output of `show log dhcp server` or `show log dhcpv6 server` consistent with the timestamps in the output of `show dhcp server leases` or `show dhcpv6 server leases` commands.
2026-05-26conntrack: T8308: Add per-flow counters and VRF filter to conntrack tableOleksandr Kuchmystyi
Add two enhancements to the `show conntrack table` op-mode command: - Display per-flow packet and byte counters (original and reply direction). - Add VRF filter option `show conntrack table <ipv4|ipv6> vrf <vrf-name>` that maps VRF name to its conntrack table ID and passes `--orig-zone` to the underlying conntrack call.
2026-05-26Merge pull request #5202 from indrajitr/T8877-pki-private-keyDaniil Baturin
pki: T8877: Add ability to show private key in pem format
2026-05-25conntrack: T8909: Remove connection id column from output tableOleksandr Kuchmystyi
This cleanup enhances readability and aligns the output with the actual data being displayed.
2026-05-18pki: T8877: Add ability to show private key in pem formatIndrajit Raychaudhuri
Add op-mode command having ability to show private key in pem format as part of PKI configuration. This is needed for users who want to render the certificate and its private key.
2026-04-22traceroute: T8539: fix invalid hostnameJose Phillips
2026-04-21traceroute: T8539: fix source-address AF lookupJose Phillips
2026-04-21traceroute: T8539: fix IPv6 hostname resolutionJose Phillips
2026-04-20Merge pull request #5096 from jestabro/extend-activation-systemJohn Estabrook
T8445: T8335: Extend config activation system
2026-04-17Merge pull request #5122 from c-po/op-mode-sensorsViacheslav Hletenko
op-mode: T8483: fix /show_sensors.py: No such file or directory
2026-04-16op-mode: T8483: remove hypervisor checks from sensors detectionChristian Breunig
Maintainers agreed to remove the CPU-flag-based hypervisor check, as it is arbitrary and can produce incorrect behavior. Sensors can be passed through to virtual machines, so running in a VM should not be treated differently. If no sensors are detected - whether on a hypervisor VM or on bare metal - the command now reports: "No sensors found".
2026-04-16op-mode: T8483: fix whitespace format issues for show_sensors.pyChristian Breunig
2026-04-15T8445: set activation hint during install imageJohn Estabrook
2026-04-15T8445: add activation op-mode scriptJohn Estabrook
2026-04-14Merge pull request #5092 from c-po/kernel-serial-activationChristian Breunig
serial: T8375: use boot activation script to define a serial console on the CLI
2026-04-13Merge pull request #5081 from alexandr-san4ez/T7784-currentJohn Estabrook
config-sync: T7784: Add command to diff configuration with secondary node
2026-04-12op-mode: T8483: fix /show_sensors.py: No such file or directoryChristian Breunig
After rewriting the op-mode handlind code and introducing virtualTagNodes for op-mode, also all <command> statements will be executed by a runner. Executing "bash -c ''" code within that runner lacks the proper environment. This can be verified by adding "env" into the bash -c '' executions string. Solve this issue by moving the hypervisor detection code to show_sensors.py.
2026-04-09serial: T8375: add CLI option to explicitly set kernel consoleChristian Breunig
Previously, VyOS hardcoded the kernel boot log console to either ttyS0 or tty0, with no post-install CLI method to change it (manual GRUB edits were required). This commit adds a new CLI node: system console device <name> kernel When set, the selected serial console is used as the kernel boot console. When removed, the kernel boot console falls back to tty0.
2026-04-09serial: T8375: use boot activation script to define a serial console on the CLIChristian Breunig
Required during first-boot of a system. We have images form amd64 and arm64 CPUs which also tend to have different serial interfaces (ttyS vs. ttyAMA). The images which are installed have the correct serial setting for GRUB (ttyS0 or ttyAMA0) and the activation script will probe the Kernel command-line. If a serial interface is defined, we will include it in the VyOS CLI configuration.
2026-04-09T8375: general import cleanup on the way to serial activationChristian Breunig
For the sake of nice grep lines and refactoring we have an unspoken - unwritten rule considered as folklore to have imports one per line. This helped in the past with refactorings.
2026-04-01config-sync: T7784: Add command to diff configuration with secondary nodeOleksandr Kuchmystyi
Add a new operational command to compare configuration between nodes participating in config synchronization. New command: - `show configuration secondary sync [commands] [running|candidate|saved] [config-node-path]`. This allows operators to view configuration differences across secondary peer before applying or syncing changes. Supports: - displaying using raw diff and 'commands' format; - optional section filtering (subtree comparison); - selectable config source (running, candidate, saved).
2026-03-27T8410: Fix typos and mistakes for comments and messagesViacheslav Hletenko
Fix typos and mistakes No functional changes
2026-03-24T8410: Fix typos and mistakes for operational and configuration commandsViacheslav Hletenko
Fix typos and mistakes in the commands and comments No functional changes
2026-03-20login: T8415: show Warning() if default password is used when adding userChristian Breunig
When performing an image installation and the user chooses vyos as the default password, a warning is emitted. The combination vyos/vyos is used in brute force lists and have been seen multiple times in the wild. When adding the user via: set system login user vyos authentication plaintext-password vyos a warning should be shown!
2026-03-19Merge pull request #5064 from natali-rs1985/T8352Christian Breunig
T8352: VPP add op-mode commands to show bonding interfaces
2026-03-19Merge pull request #5063 from c-po/tshark-removeChristian Breunig
op-mode: T8400: remove calls to tshark binary for PCAP files
2026-03-19Merge pull request #5065 from natali-rs1985/T8396Christian Breunig
T8396: VPP op-mode "show interfaces vpp" missing ipv6 address
2026-03-19T8395: VPP add op-mode command for 'show mode'Nataliia Solomko
2026-03-18T8396: VPP op-mode "show interfaces vpp" missing ipv6 addressNataliia Solomko
2026-03-18T8352: VPP add op-mode commands to show bonding interfacesNataliia Solomko
2026-03-18op-mode: T8400: remove calls to tshark binary for PCAP filesChristian Breunig
The tshark binary might not be installed in every image, thus this command is not only gambling if it will work or not, it will also bloat the image if installed. PCAP files should be properly revisited on a workstation and not on a NOS (Network Operating System).
2026-03-16T8353: Raise DataUnavailable if no VPP LACP interfaces are configuredNataliia Solomko
2026-03-11T8371: VPP add op-mode command show runtimeViacheslav Hletenko
2026-03-06Merge pull request #5030 from c-po/op-mode-cli-verifyChristian Breunig
opmode: T8343: implement common verify_cli_exists() helper
2026-03-05T7513: CGNAT show exclude rules- all protocol value fixRitika Chopra