Joachim Wiberg
b010ad04bf
cli: fix "show ntp" command when ntp is not enabled
...
Instead of 'show ntp' =>
Error, top level "ietf-system:system-state" missing
Try something nicer:
NTP client not enabled.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2025-01-31 13:55:35 +01:00
Joachim Wiberg
4458e03cd2
utils: add update operation and support multiple args for uninstall
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2025-01-31 13:55:35 +01:00
Joachim Wiberg
4a37369750
yanger: add HOST.read_multiline() methods + missing file encoding
...
Similar to the run_multiline() method, sometimes files contain more than
one line and a common read_multiline() quickly becomes useful. This is
currently only used by ietf-system for reading /etc/resolv.conf.head.
Also, fix pylint warning for missing encoding to all open() calls.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2025-01-31 13:55:35 +01:00
Joachim Wiberg
7af75c0786
yanger: fix, no such argument 'file' to LOG.warning()
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2025-01-31 13:55:35 +01:00
ael-bot and GitHub
0fbe225b05
Merge pull request #922 from kernelkit/bump-frr
...
Bump FRR to 9.1.3
2025-01-31 13:55:20 +01:00
Mattias Walström
2405c002e4
Bump FRR to 9.1.3
...
This is only a bugfix release.
Full changelog since 9.1.2: https://github.com/FRRouting/frr/releases/tag/frr-9.1.3
2025-01-31 13:13:01 +01:00
Mattias Walström and GitHub
1cc9e3c9c8
Merge pull request #920 from kernelkit/fix-storing-to-startup
...
Fix issue with storing authorized SSH key to startup
2025-01-30 18:26:18 +01:00
Mattias Walström
a64c9695cc
Fix issue with storing authorized SSH key to startup
...
The problem was that the sysrepo callback was never called,
except on update (not availible on startup)
This fix #777
2025-01-30 15:32:59 +01:00
Tobias Waldekranz and GitHub
d9be0b3a64
Merge pull request #918 from kernelkit/changelog-869
...
Update ChangeLog.md
2025-01-30 13:39:58 +01:00
Tobias Waldekranz
8b4682ac8b
Update ChangeLog.md
...
[skip ci]
2025-01-30 13:39:22 +01:00
Jon-Olov Vatn and GitHub
a975da2159
Merge pull request #916 from kernelkit/doc-console
...
Doc console and other management interfaces
2025-01-29 13:18:42 +01:00
Jon-Olov Vatn
e483ddb487
Update support info, company name change
...
Company "Addiva Elektronik" is now named "Wires"
2025-01-29 12:32:48 +01:00
Jon-Olov Vatn
267c8e0103
Fix #787 Add doc on Mgmt via Console (and SSH and Web)
...
- Updating SSH information
- Adding Web services information (general, RESTCONF and Web Console)
- Adding Console information
Generic info, and some updates w.r.t specific boards (baudrate, etc)
2025-01-29 12:27:48 +01:00
Ahmed Karic and GitHub
25f0d8ca2e
Merge pull request #912 from kernelkit/various-test-updates
...
Various test updates
2025-01-28 15:17:15 +01:00
Tobias Waldekranz and GitHub
be0edc00cc
Merge pull request #913 from kernelkit/fix-bug-in-test-mode
...
Fix error when running 251+ reconfigurations (in test-mode)
2025-01-27 20:34:17 +01:00
Ahmed Karic
dc393946ce
test: split infix_services test into mdns and lldp
...
mDNS and LLDP tests should run independently to avoid interference.
Previously, mDNS tests were blocked due to LLDP's transmit interval
limitations. Moreover, mDNS operates at Layer 3, while LLDP operates
at Layer 2, making IP configuration unnecessary for LLDP tests.
2025-01-27 15:48:44 +01:00
Ahmed Karic
80a522ce08
test: update forgotten .adoc files
2025-01-27 15:48:44 +01:00
Ahmed Karic
b3ad9e5693
test/infamy: add option to set interface up by default
...
Introduce a parameter in IsolatedMacVlans to set interfaces up by
default. This removes the need to manually bring the interface up
inside the addip function.
2025-01-27 15:48:44 +01:00
Mattias Walström and GitHub
cc8c917de1
Merge pull request #911 from kernelkit/update-doc
...
Update doc
2025-01-27 15:19:55 +01:00
Mattias Walström
2a3fcbacd0
Fix error when running 251+ reconfigurations (in test-mode)
...
The context was aquired but never released, this caused a lockup
in sysrepo.
This fix #861
2025-01-27 15:12:11 +01:00
Mattias Walström
5c9cf276df
infix-services: ssh: add must expression on listen
...
Both address and port is required.
2025-01-27 14:14:24 +01:00
Mattias Walström
76203b392a
infix-system.yang: Add proper documentation about SSH listen command
2025-01-27 14:14:24 +01:00
Mattias Walström
18913770fe
Update Changlog
2025-01-27 13:17:24 +01:00
Tobias Waldekranz and GitHub
2f23baf745
Merge pull request #909 from kernelkit/update-kernel
...
Update kernel to latest LTS (6.12.11)
2025-01-24 22:20:49 +01:00
Tobias Waldekranz and GitHub
a7ce8c2ab4
Merge pull request #910 from kernelkit/stp-operational
...
Operational data support for STP
2025-01-24 21:53:05 +01:00
Mattias Walström
d7ac84cf99
Update changelog with kernel and buildroot changes
2025-01-24 21:35:16 +01:00
Mattias Walström
04b739b0bd
Remove old (6.6.52) linux patches
2025-01-24 21:35:16 +01:00
Mattias Walström
131c0b1d4b
Update kernel to latest LTS (6.12.11)
2025-01-24 21:35:16 +01:00
Mattias Walström
f42c35d8ab
kernel-refresh: Update defconfigs as well
2025-01-24 21:35:16 +01:00
Tobias Waldekranz
0187d62246
test: bridge_stp_basic: Add explicit prioritiy test
2025-01-24 16:48:16 +01:00
Tobias Waldekranz
01201708e3
test: statd: Update test data after moving STP port state
2025-01-24 15:17:13 +01:00
Tobias Waldekranz
986a28c891
confd: Avoid managing a finit user condition to start/stop mstpd
...
By declaring the service as manually configured, we can control it
from dagger (confd) without the indirection via a condition.
This has the benefit of mstpd being in the "stopped", rather than the
somewhat confusing "waiting", state when not running.
Fixes #890
2025-01-24 14:52:25 +01:00
Tobias Waldekranz
0bbcd7ec43
board/common: show: Add show stp
2025-01-24 14:52:25 +01:00
Tobias Waldekranz
f9dacaa0ff
klish-plugin-infix: Add show bridge stp
2025-01-24 14:52:25 +01:00
Tobias Waldekranz
8f6a75806f
yang: Add STP hello-time
...
This was an oversight in the original model, but was noticed in
review.
2025-01-24 14:52:25 +01:00
Tobias Waldekranz
05cb07c0ec
cli_pretty: Add per-port status to show bridge stp
2025-01-24 14:52:25 +01:00
Tobias Waldekranz
d6ace7cc73
cli_pretty: Add bridge-wide status to show bridge stp
2025-01-24 14:52:25 +01:00
Tobias Waldekranz
9ef6d2d038
yang: Remove old STP port state from operational
2025-01-24 14:52:25 +01:00
Tobias Waldekranz
c1e6f0c53b
yanger: Provide per-port STP state
2025-01-24 14:52:25 +01:00
Tobias Waldekranz
0e82c108bc
yanger: Provide bridge-wide STP state
2025-01-24 14:52:25 +01:00
Tobias Waldekranz
9427b6a655
yanger: Generalize converting time deltas to YANG dates
...
Make sure that we have one way of getting from Python's native
datetime to a YANG compatible format.
2025-01-24 14:52:25 +01:00
Tobias Waldekranz
6a09e2c797
yang: Define operational data model for per-port STP state
2025-01-24 14:52:25 +01:00
Tobias Waldekranz
3b0b38360c
yang: Define operational data model for bridge-wide STP state
2025-01-24 14:52:25 +01:00
Tobias Waldekranz and GitHub
3b3fe18f9d
Merge pull request #907 from kernelkit/provides-requires
...
Match on Edge Attributes when Mapping Topologies
2025-01-24 12:43:08 +01:00
Mattias Walström and GitHub
dedab8c2a2
Merge pull request #906 from kernelkit/fix-yanger
...
Yanger and CLI pretty fixes
2025-01-24 12:29:34 +01:00
Ahmed Karic
3e0b816351
test: Match on edge attributes when mapping topologies
...
Implemented logic to check if the system supports required services.
Logical edges with 'requires' fields are mapped only if physical edges
provide corresponding services. If not, the test is skipped.
This ensures that tests only run when the required services are available
in the test system configuration.
Fixes #654
2025-01-24 11:51:55 +01:00
Mattias Walström
3f8fae2f16
cli-pretty: show-interfaces: Refactor protocol type
...
now will *only* ethernet interfaces be protocol ethernet,
gretap will be protocol gretap and so on.
2025-01-24 10:56:58 +01:00
Mattias Walström
70bcebc451
yanger: Add oprational information about vxlan interfaces
2025-01-24 10:56:58 +01:00
Mattias Walström
6a384bf48b
test: update verify_all_interface_types for collecting data
...
To collect vxlan interfaces and add some addresses to some interfaces
to increase coverage of unit_test (show interface)
2025-01-24 10:56:58 +01:00
Mattias Walström
10add98d90
yanger: Fix bug when collecting data
2025-01-24 10:56:58 +01:00