There has been a desire to retire the aged vyos-netplug package in favor of an updated Python service to monitor link state. The simple design will wrap linux/netlink.h, linux/rtnetlink.h for use in a Python daemon to dispatch needed scripts upon changes in link state. This will in addition allow a cleaner integration with the proposed interface-monitor daemon (T3871).
Description
Description
Details
Details
- Version
- vyos-1.4
- Is it a breaking change?
- Unspecified (possibly destroys the router)
- Issue type
- Feature (new functionality)
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Needs testing | BUG | None | T3871 Resolve unexpected interface name reordering | ||
Not Applicable | FEATURE REQUEST | jestabro | T3371 Replace netplugd by udev rules | ||
On hold | None | T3876 Replace vyos-netplug with a VyOS link state monitor service |
Event Timeline
Comment Actions
This was a worthwhile investigation, with the goal of using Cython as a method of easily wrapping the standard netlink headers. Although workable, it appeared more trouble than it's worth, as one still has to cheat to navigate e.g. pass by reference (1), and limitations of Cython at the time (2). A much better approach would be a standard Python extension module ... set to 'on hold' for reference and until we have a plan for development, as has been recently discussed.