Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set WType even for wireless ports without network config #4346

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

milan-zededa
Copy link
Contributor

@milan-zededa milan-zededa commented Oct 11, 2024

nim, zedrouter and other microservices depend on the WType port attribute to recognize wireless network port. This is needed even in cases where the wireless adapter is not really used and has no network config attached. Otherwise, we may get to situation where we try to bridge a wireless adapter or perform some other invalid operation, especially after the switch NI enhancements done in: 7a6981b

In the case wireless config is not present, we can get the physical port type from the device model and set WType accordingly.

Marking as stable, will need to backport this to 13.4. For older LTS versions, this is not necessary, no serious problem is reachable when WType is unset.

nim, zedrouter and other microservices depend on the WType port
attribute to recognize wireless network port. This is needed even in
cases where the wireless adapter is not really used and has no network
config attached. Otherwise, we may get to situation where we try to
bridge a wireless adapter or perform some other invalid operation,
especially after the switch NI enhancements done in:
7a6981b

In the case wireless config is not present, we can get the physical port
type from the device model and set WType accordingly.

Signed-off-by: Milan Lenco <milan@zededa.com>
@milan-zededa milan-zededa added bug Something isn't working stable Should be backported to stable release(s) labels Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stable Should be backported to stable release(s)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants