Joachim Wiberg
aad5bcd4e6
doc: update ChangeLog for v24.10.0
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
v24.10.0
2024-10-18 12:43:14 +02:00
Ahmed Karic and GitHub
e875239639
Merge pull request #732 from kernelkit/fix-admin-perm
...
Allow admin to run 'show ntp'
2024-10-18 10:45:12 +02:00
Joachim Wiberg and GitHub
3bcc058969
Merge pull request #717 from kernelkit/copy-timeout
...
Fix too small timeout for copy command
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-10-18 09:44:16 +02:00
Ahmed Karic
3fa820b41e
klish-plugin-infix: allow admin to run 'show ntp'
...
Fixes #730
2024-10-18 09:35:43 +02:00
Mattias Walström and GitHub
baec6cb35f
Merge pull request #731 from kernelkit/minor-cli-fixes
...
Minor CLI fixes
2024-10-18 09:33:30 +02:00
Joachim Wiberg
903960f6a0
package/klish-plugin-sysrepo: add units to help text, hide obsolete
...
Fixes the following CLI issues:
- kernelkit/klish-plugin-sysrepo#5 : hide obsolete nodes, e.g., meta/version
- kernelkit/klish-plugin-sysrepo#6 : add units to online help text
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-10-18 08:55:44 +02:00
Joachim Wiberg
44727b9a47
confd: mark entire meta container obsolete
...
Mark meta data as obsolete to hide from CLI and other frontends.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-10-18 08:52:58 +02:00
Tobias Waldekranz and GitHub
eac60b1883
Merge pull request #729 from kernelkit/led-fixes
...
Disable software LED control of port LEDs
2024-10-18 08:37:26 +02:00
Joachim Wiberg and GitHub
b5abadd52a
Merge pull request #728 from kernelkit/uboot-http-netboot-fixes
...
U-Boot HTTP Netboot Fixes
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-10-17 16:31:24 +02:00
Joachim Wiberg
4603649145
doc: software led control disabled on styx
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-10-17 16:02:14 +02:00
jovatn and GitHub
c1f552a8dc
Merge pull request #726 from kernelkit/jovatn/test-cases-minor-updates
...
Formatting fixes for test specification and topologies
2024-10-17 15:52:14 +02:00
Tobias Waldekranz
c1dfdd92b0
uboot: Fix repeated calls to boot_net in combination with HTTP
...
Previously, when the `proto://path` format of `bootfile` was used, the
transformed argument sent to either tftp or wget would also be stored
in `bootfile` overriding the original value set by the user.
If the first boot attempt failed for some reason, the protocol
information was stripped from `bootfile` and the second attempt would
then default to TFTP, even if the user had originally specified
`http://...`.
Therefore, store the transformed value in a separate variable.
For some reason, setexpr's parsing of regex escapes changes when this
mode is used, so we need double backslashes to fetch match groups
instead of 1. Yikes.
Fixes #724
2024-10-17 15:38:47 +02:00
Jon-Olov Vatn
d3b28339c1
Updating test specs to have consistent formatting
2024-10-17 15:11:19 +02:00
Tobias Waldekranz
563b4a743b
uboot: Settle for only ipaddr being set to skip DHCP
...
This puts the responsibility on the user to set the appropriate static
parameters. On the plus side, we avoid requiring redundant information
when the `proto://path` format is used in `bootfile`
2024-10-17 15:11:12 +02:00
Jon-Olov Vatn
272a7c1e69
Formatting fixes for test specification and topologies
...
Also including some existing test to test specification, from ietf_system
and ietf_interfaces directories.
2024-10-17 15:11:12 +02:00
Joachim Wiberg
01e91a2fce
package/finit: backport upstream rdeps patch
...
This patch fixes a upstream issue troglobit/finit#415 , greatly reducing
the amount of service restarts, needlessly affecting, e.g., iitod when
services like syslogd¹ is reloaded.
____
¹) Traditional UNIX services that properly support SIGHUP.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-10-17 14:37:02 +02:00
Joachim Wiberg
d7abe46768
board/aarch64: disable port led control on styx, for now
...
For details, see discussion in #670
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-10-17 13:03:29 +02:00
Ahmed Karic and GitHub
484dc940dc
Merge pull request #723 from kernelkit/verify-iface-status
...
Verify Interface Status
2024-10-17 10:27:10 +02:00
Ahmed Karic
420f6a0556
test: verify interface status (enable/disable)
...
Fixes #694
2024-10-17 09:50:01 +02:00
Ahmed Karic
4d4a4c68e7
test: refactor iface.py
2024-10-16 19:01:40 +02:00
Joachim Wiberg and GitHub
eb79adce13
Merge pull request #722 from kernelkit/use-specific-secret-add-to-project
2024-10-16 17:24:43 +02:00
Mattias Walström
9fd92252ea
CI: Use specific token when calling add to project
...
[skip ci]
2024-10-16 11:25:03 +02:00
Mattias Walström and GitHub
90bda1b584
Merge pull request #710 from kernelkit/fix-test-texts
...
test: Update topologies and test texts
2024-10-16 11:24:44 +02:00
Ahmed Karic and GitHub
15830714f0
Merge pull request #721 from kernelkit/add-admin-status-to-yanger
...
Statd: Add 'admin-status' to Interface Operational Data
2024-10-16 11:02:36 +02:00
Mattias Walström
34cb229965
test: Update topologies and test texts
...
All mgmt links should be lightgrey, all mgmt ports should be named mgmt
links between duts should be named link.
2024-10-16 10:51:01 +02:00
Ahmed Karic
3f0b85aad9
statd: Add 'admin-status' to yanger
...
The interface operational data was missing the 'admin-status' parameter,
which indicates whether an interface is administratively enabled or
disabled. To resolve this, the 'admin-status' was added to the yanger
Fixes #700
2024-10-16 10:33:09 +02:00
Tobias Waldekranz and GitHub
7de94b996a
Merge pull request #718 from kernelkit/container-fixups
...
Container fixups
2024-10-16 09:14:14 +02:00
Joachim Wiberg and GitHub
09c019b236
Merge pull request #720 from kernelkit/jovatn/changelog-fixes
...
Doc fixes in ChangeLog v24.10.0 related to OSPF
2024-10-16 08:47:22 +02:00
Joachim Wiberg
526d3356c7
board/common: add example to erase partition table
...
[skip ci]
Related to: #671
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-10-16 08:37:16 +02:00
jovatn and GitHub
358852aa4f
Doc fixes in ChangeLog v24.10.0 related to OSPF
...
Updating existing formulations for changes and fixes for OSPF.
[skip ci]
2024-10-16 08:32:57 +02:00
jovatn and GitHub
18640a78d5
Merge pull request #719 from kernelkit/jovatn/qos-doc-fix
...
Doc fix on QoS. PCP takes priority over DSCP for tagged IP packets
2024-10-16 08:03:06 +02:00
Jon-Olov Vatn
de76b97c94
Doc fix on QoS. PCP takes priority over DSCP for tagged IP packets
...
This is how it works and how we want it to be by default.
No code change, just doc change.
[skip ci]
2024-10-16 07:49:30 +02:00
Joachim Wiberg
99e0a2ee1c
confd: refactor hostnamefmt()
...
This refactor, and massive code simplification, is a follow-up to the
double free discovery in 3b4d2b3 .
Beacuse a hostname in Linux can never be more than 64 chars, we can
safely use a stack buffer instead of calloc(), reducing complexity
and simplifying the code further with the use of strlcat().
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-10-16 07:36:35 +02:00
Joachim Wiberg
0d0e2b168a
doc: update container notes
...
- Expand on Docker Hello World
- Add more pictures to help break up the content a bit
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-10-16 07:31:41 +02:00
Joachim Wiberg and GitHub
08348c43c2
Merge pull request #716 from rical/fix-confd-cont-double-free
...
confd: fix double free of container hostname
2024-10-16 06:43:29 +02:00
Joachim Wiberg
343b453c74
bin: use CONFD_TIMEOUT for all copy operations
...
Fixes #701
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-10-16 06:10:39 +02:00
Joachim Wiberg
464e0bcb92
bin: factor out copy, erase, and files from klish-plugin-infix
...
Relocate C code from klish-plugin-infix to stand-alone binaries we can
use also from Bash.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-10-16 06:10:39 +02:00
Joachim Wiberg
886d83933f
keyack: minor, whitespace and constification
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-10-16 06:05:22 +02:00
Joachim Wiberg
ef1b1b1d1a
statd: add missing dependency
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-10-16 06:02:49 +02:00
Richard Alpe
3b4d2b38d7
confd: fix double free of container hostname
...
Fix a double free in the memory minefield surrounding container
hostname provisioning. The hostnamefmt() function already does free()
on success.
This caused all sorts of mayhem when working with multiple containers.
However it mainly manifested itself by some containers not starting
due to there activation script being polluted with gibberish
name data. Your symptom might be different..
Example of polluted activation script:
container --hostname foobar --net veth0k -r always \
create ^S@`M-}^G docker://ghcr.io/kernelkit/curios:edge
Signed-off-by: Richard Alpe <richard@bit42.se >
2024-10-15 20:06:45 +02:00
Mattias Walström and GitHub
0e276a97b8
Merge pull request #711 from kernelkit/minor-test-formating
...
test: minor code formating
2024-10-15 11:26:54 +02:00
Joachim Wiberg and GitHub
afc40ac2bd
Merge pull request #715 from kernelkit/update-pull-request-template
...
Update pull request template
2024-10-15 11:24:45 +02:00
Mattias Walström
5ea65aea0d
Update pull request template
...
Add information about test changes
Also remove "Other information" since I think that
should also go under Description and to lower the amount of
text in the template, to increase its use.
[skip ci]
2024-10-15 11:21:58 +02:00
Ahmed Karic
614b7efd42
test: update test cases (refactor)
...
- change topology colors
- add ascii charts
- apply new naming conventions (indexing)
2024-10-15 10:32:25 +02:00
Joachim Wiberg and GitHub
024acb184d
Merge pull request #714 from kernelkit/jovatn/container-doc-fixes
...
Doc: minor fixes to container doc
2024-10-15 09:53:36 +02:00
Jon-Olov Vatn
e11008c7d2
Doc: minor fixes to container doc
...
[skip ci]
2024-10-15 09:24:35 +02:00
Joachim Wiberg and GitHub
e2e947629c
Merge pull request #713 from kernelkit/deviate-link-up-down-trap-enable
2024-10-14 22:10:52 +02:00
Mattias Walström
754426f7ed
confd: deviate link-up-down-trap-enable not-supported
...
This fix #709
2024-10-14 21:14:10 +02:00
Joachim Wiberg and GitHub
31552bfc48
Merge pull request #712 from kernelkit/container-ifname
2024-10-14 21:01:38 +02:00
Joachim Wiberg
de27d1c7e6
doc: update changelog with latest fixes
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-10-14 19:41:01 +02:00