diff options
author | bri <284789+b-@users.noreply.github.com> | 2023-02-26 15:05:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-26 21:05:56 +0100 |
commit | 40e0cb294e0377fdfe11171b35d78bd27e231df2 (patch) | |
tree | c41f96d2d45961496576d08cd5b5044c157b98ca /src/conf_mode/service_event_handler.py | |
parent | a721e8b5067d78886f4dcc396c831ed50eb5472c (diff) | |
download | vyos-1x-40e0cb294e0377fdfe11171b35d78bd27e231df2.tar.gz vyos-1x-40e0cb294e0377fdfe11171b35d78bd27e231df2.zip |
T4997: add dhcp client user hooks
This commit adds a script to run user-defined hook scripts upon renewing
a DHCP lease. This can be used to, for example, dynamically define a
firewall address-group based on the dynamic IP address of an interface.
For an example of its use (as well as the use case I had in mind while
coding this), see https://vyos.dev/T2196#142394
Co-authored-by: br <git@ibeep.com>
Diffstat (limited to 'src/conf_mode/service_event_handler.py')
0 files changed, 0 insertions, 0 deletions