Skip to content

knet_manager: use KNET helpers for managing KNET interfaces#485

Merged
rubensfig merged 3 commits intomainfrom
jogo_knet_helpers
Feb 3, 2026
Merged

knet_manager: use KNET helpers for managing KNET interfaces#485
rubensfig merged 3 commits intomainfrom
jogo_knet_helpers

Conversation

@KanjiMonster
Copy link
Contributor

@KanjiMonster KanjiMonster commented Dec 16, 2025

Use newly introduced KNET helper functions for creating and removing KNET interfaces instead of calling client_drivshell with appropriate arguments.

This simplifies the creation/removal and allows us to handle extensions in the SDK instead of needing to keep baseboxd in sync.

bisdn/basebox-protobuf#13

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Wire up the newly introduced KNET helper functions in OF-DPA and expose
them via sai.h

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Switch the KNET manager to use the newly added helpers for adding and
removing KNET interfaces instead of calling client_drivshell.

This requires us passing the switch_interface to port mananagers.

After that we can now create them directly, which as a side effect also
avoids all the log spam while creating.

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
@KanjiMonster KanjiMonster marked this pull request as ready for review January 23, 2026 09:39
@rubensfig rubensfig merged commit 8066d83 into main Feb 3, 2026
4 checks passed
@rubensfig rubensfig deleted the jogo_knet_helpers branch February 3, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants