Networking: show networkd status
Page: Status
Add initial support for systemd-networkd.
I encounter more and more servers where networkd is enabled. NetworkManager and networkd are often running simultaneously.
If networkd is enabled then information from this service should be displayed: State: routable Online state: online Address: 192.168.109.16 on end0 Gateway: 192.168.109.1 on end0 DNS: 192.168.3.24 192.168.3.25 1.1.1.1 Search Domains: example.com
I know I can't count on editing support for networkd. But at least the overall status of the networkd service and network connection is needed.
See issue #17040 for a longer discussion. TL/DR: networkd is not designed for an interactive UI like Cockpit, it has no API. (This is not a deficiency, but a design decision). Showing read-only information is fine of course.
Note that we won't work on this in the cockpit team, but we'll gladly help interested contributors.
networkd is not designed for an interactive UI like Cockpit, it has no API
It does seem to have a D-Bus API now, although I haven't confirmed that it's enough to cover what is currently needed from NetworkManager
https://www.freedesktop.org/software/systemd/man/latest/org.freedesktop.network1.html
Please start to list network interfaces, address and status. Configuration page may be done in second stage.