Antw: [EXT] networkd D-Bus API for link up/down?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>> "Kevin P. Fleming" <kevin@xxxxxxx> schrieb am 21.09.2022 um 12:48 in Nachricht
<CAE+UdoosOnT_yROxKHKq6BQbTYWZu0SjovgrtDh22WrH9ju-oQ@xxxxxxxxxxxxxx>:
> 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








[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux