From d194e753f97dcb99928b2ce71bde4fade65f33b9 Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Mon, 4 May 2026 22:56:59 -0500 Subject: kea: T8763: Fix vendor-encapsulated-options space Changes: 1. Change option space from 'ubnt' to 'vendor-encapsulated-options-space'. 2. Change option name from 'unifi-controller' to 'ubnt'. 3. Add 'vendor-encapsulated-options' option (in addition to adding unifi controller IP address under the option name 'ubnt') if unifi-controller is configured. --- python/vyos/kea.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'python') diff --git a/python/vyos/kea.py b/python/vyos/kea.py index e38347012..5fe070c54 100644 --- a/python/vyos/kea.py +++ b/python/vyos/kea.py @@ -153,8 +153,13 @@ def kea_parse_options(config): config, 'vendor_option', 'ubiquiti', 'unifi_controller' ) if unifi_controller: + options.append({'name': 'vendor-encapsulated-options'}) options.append( - {'name': 'unifi-controller', 'data': unifi_controller, 'space': 'ubnt'} + { + 'name': 'ubnt', + 'data': unifi_controller, + 'space': 'vendor-encapsulated-options-space', + } ) return options -- cgit v1.2.3