>>> "Kevin P. Fleming" <ke...@km6g.us> schrieb am 21.09.2022 um 12:48 in 
>>> Nachricht
<cae+udoosont_yroxkhkq6bqbtywzu0sjovgrtdh22wrh9ju...@mail.gmail.com>:
> 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.ht 
> ml#
> 
> 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.

Personally I think it's preferable to write a true OCF resource agent rather 
than using systemd unit in pacemaker.
Pacemaker adds a lot of complexity, and things are much harder to debug.

Regards,
Ulrich




Reply via email to