Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-17 | op-mode: T6577: create generic service restart helper to work with the API | Christian Breunig | |
Right now we have multiple restart helpers (e.g. dhcp server, ssh, ntp) that all do the same (more or less): * Check if service is configured on CLI * Restart if configured * Error out if unconfigured This is not available via the op-mode API. Create a new restart.py op-mode helper that takes the service name and possible VRF as argument so it's also exposed via API. (cherry picked from commit c74ae852152b0c3c3f00a1847d081d28f500e178) |