[systemd-devel] networkd D-Bus API for link up/down?

Kevin P. Fleming kevin at km6g.us
Wed Sep 21 10:48:25 UTC 2022


When the D-Bus API for systemd-networkd was added there were
indications that it could be used for bringing links up and down.
However, when I review the API docs at:

https://www.freedesktop.org/software/systemd/man/org.freedesktop.network1.html#

I don't see any methods for doing those operations. networkctl uses
netlink messages for these operations as well.

I want to create a cluster resource agent for Pacemaker which can
manage networkd links, and using D-Bus would be easier than using
netlink since there is already D-Bus support in the resource agent for
systemd units.


More information about the systemd-devel mailing list