diff options
author | James Denton <james.denton@outlook.com> | 2023-02-27 14:44:08 -0600 |
---|---|---|
committer | Lucas Alvares Gomes <lucasagomes@gmail.com> | 2023-02-28 13:06:22 +0000 |
commit | c1973939fe876ea3bb11ea1cb916bbd0c46720d0 (patch) | |
tree | faa52fea55266b6539dc1f5f7685ea18cd3f9fde | |
parent | de1a6db5c36b041c608a31bb2863714406772d4f (diff) | |
download | neutron-c1973939fe876ea3bb11ea1cb916bbd0c46720d0.tar.gz |
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)
-rw-r--r-- | neutron/common/ovn/constants.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/neutron/common/ovn/constants.py b/neutron/common/ovn/constants.py index 9e6caa74e0..027027025e 100644 --- a/neutron/common/ovn/constants.py +++ b/neutron/common/ovn/constants.py @@ -167,7 +167,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', |