From 61ff4a1cc11c415269068f96f3238620527adb57 Mon Sep 17 00:00:00 2001 From: James Denton Date: Mon, 27 Feb 2023 14:44:08 -0600 Subject: [PATCH] Apply Ironic's server-ip-address as TFTP next-server This patch uses existing DHCP option 255 (server-ip-address) provided by Ironic and applies it as next-server for the purpose of provisioning a baremetal server with OVN DHCP. Related-Bug: #2007167 Change-Id: I59038639a8411c11c5fb8b366d9c858ef3db4f70 (cherry picked from commit dbfc18d1fa122140074d5c960c8440189b386fb8) --- neutron/common/ovn/constants.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neutron/common/ovn/constants.py b/neutron/common/ovn/constants.py index d8abb74a0b3..93e9035c7d7 100644 --- a/neutron/common/ovn/constants.py +++ b/neutron/common/ovn/constants.py @@ -166,7 +166,8 @@ SUPPORTED_DHCP_OPTS_MAPPING = { '119': 'domain_search_list', '252': 'wpad', '210': 'path_prefix', - '150': 'tftp_server_address'}, + '150': 'tftp_server_address', + '255': 'next_server'}, 6: {'server-id': 'server_id', 'dns-server': 'dns_server', 'domain-search': 'domain_search',