HomeVyOS Platform

T4997: add dhcp client user hooks

Description

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>

Details

Provenance
b-Authored on Feb 26 2023, 8:05 PM
GitHubCommitted on Feb 26 2023, 8:05 PM
Parents
rVYOSONEXa721e8b5067d: smoketest: tunnel: T5034: adjust to new multicast CLI syntax
Branches
Loading...
Tags
Loading...