Hi Tom/Lennart, I am interested in extending networkd with dbus API for runtime configuration of interfaces.
This thead (http://lists.freedesktop.org/archives/systemd-devel/2015-May/032136.html) started the discussion on the requirements of the dbus interfaces. I would like to explore this further. For a start, I hacked the code from networkd-dhcp4.c to implement a SetAddress method on the org.freedesktop.network1.Network interface: /* index, IP, netmask, family, flags, scope, gateway */ SD_BUS_METHOD("SetAddress", "yssyyys", "x", method_set_address, SD_BUS_VTABLE_UNPRIVILEGED), The goal is to have the user space app(s) in our system to make link/network configuration changes by calling the dbus API *instead of* making changes to networkd config files. Please revert back with your views/ideas. thanks in advance, Hari ! Hariharasubramanian R. Power Firmware Development IBM India Systems & Technology Lab, Bangalore, India Phone: +91 80 4025 6950
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel