Netplan Event Support
Hi,
We're working on software that needs to update the network configuration on the fly. The system runs on Linux and uses systemd-networkd. We're trying to determine the best way to control the network devices on the system.
An initial suggestion was made to make the application the 'source of truth' and it would rewrite the systemd-networkd configuration files. I'd much prefer to modify a yaml file - netplan seems like a better method (for multiple reasons).
My question is about the event support. It looks like netplan uses some scripting (ifupd.d/ifdown.d) to handle network events. I'd like some type of API. For instance, I'd like my application to subscribe to netplan network interface events. I'm wondering if anything is available or in the works.
Regardless, what's the conventional wisdom on the best way to write an application the controls multiple network interfaces?
Thanks.
Chris Wyse
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu nplan Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Chris Wyse
- Solved:
- Last query:
- Last reply: