diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2024-02-12 23:33:07 +0100 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2024-02-13 00:04:53 +0100 |
commit | 04bf9ee39f8243207ec777d6a5aeec78e3c9d66f (patch) | |
tree | 4a75807bcc8421fac9c45c59e82f45213d492ee3 /python/vyos | |
parent | 19df28989d72f8006e1defd241ec5cc34660bbec (diff) | |
download | vyos-1x-04bf9ee39f8243207ec777d6a5aeec78e3c9d66f.tar.gz vyos-1x-04bf9ee39f8243207ec777d6a5aeec78e3c9d66f.zip |
dhcpv6-server: T5993: Add subnet `interface` node, link subnet to locally connected interfaces
Prior dhcpd behaviour implicitly handled requests for locally connected subnets. Kea requires an explicit link between subnets and an interface.
Diffstat (limited to 'python/vyos')
-rw-r--r-- | python/vyos/kea.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/vyos/kea.py b/python/vyos/kea.py index 720bebec3..7365c1f02 100644 --- a/python/vyos/kea.py +++ b/python/vyos/kea.py @@ -212,6 +212,9 @@ def kea6_parse_subnet(subnet, config): if 'option' in config: out['option-data'] = kea6_parse_options(config['option']) + if 'interface' in config: + out['interface'] = config['interface'] + if 'range' in config: pools = [] for num, range_config in config['range'].items(): |