Figure out better way to manage bat0 (batman-adv devices/interfaces) via networkmanager #2

Open
opened 2024-08-31 20:48:19 +00:00 by fack · 4 comments
Owner

As an rls maintainer, I want things to be managed via standard management utilities, so if i create a network device/interface (such as bat0), it should be managed by the default network management tool in FCOS (which happens to be https://networkmanager.dev)

As of right now there is no batman-adv configuration settings for networkmanager ( https://networkmanager.dev/docs/api/latest/ref-settings.html ).

Sidenote: systemd-networkd supports batman-adv, however fedora coreos does not support systemd-networkd by default. to solve, we might be able to fiddle with this by layering the systemd-extra package on top of our image. 🤷

As an rls maintainer, I want things to be managed via standard management utilities, so if i create a network device/interface (such as bat0), it should be managed by the default network management tool in FCOS (which happens to be https://networkmanager.dev) As of right now there is no `batman-adv` configuration settings for networkmanager ( https://networkmanager.dev/docs/api/latest/ref-settings.html ). Sidenote: systemd-networkd [supports](https://www.freedesktop.org/software/systemd/man/latest/systemd.netdev.html#%5BBatmanAdvanced%5D%20Section%20Options) `batman-adv`, however fedora coreos [does not support systemd-networkd](https://github.com/coreos/fedora-coreos-config/issues/244) by default. to solve, we might be able to fiddle with this by layering the systemd-extra package on top of our image. 🤷
Author
Owner

this discussion seems to indicate that layering systemd-networkd is now supported better (https://github.com/coreos/fedora-coreos-config/pull/574)

This may also cause some consideration for using flatcar linux? 🤔 (flatcar sticks with old coreos systemd manages everything, whereas fcos uses things that have best support from upstream fedora stuff) maybe not, flatcar uses docker, fcos uses podman. podman is the 🐐

this discussion seems to indicate that layering systemd-networkd is now supported better (https://github.com/coreos/fedora-coreos-config/pull/574) ~~This may also cause some consideration for using flatcar linux? 🤔 (flatcar sticks with old coreos systemd manages everything, whereas fcos uses things that have best support from upstream fedora stuff)~~ maybe not, flatcar uses docker, fcos uses podman. podman is the 🐐
Author
Owner
use networkmanager dispatcher https://gist.github.com/frafra/4952d8d1795b5732366c ref: https://networkmanager.dev/docs/api/latest/NetworkManager-dispatcher.html
Author
Owner

potentially solved in 7361d4143f pending testing

potentially solved in https://git.cyberia.club/fack/rls/commit/7361d4143f00e36fdae23041104ecaa9b8eb798d pending testing
Author
Owner

#14

https://git.cyberia.club/fack/rls/issues/14
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: fack/rls#2
No description provided.