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:27 +0000 |
commit | 61ff4a1cc11c415269068f96f3238620527adb57 (patch) | |
tree | c125547de84bc8abbd22f999721c6067d7999dde | |
parent | 43f8e592c25443dfc8a58570623fd85e19ba6390 (diff) | |
download | neutron-61ff4a1cc11c415269068f96f3238620527adb57.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 d8abb74a0b..93e9035c7d 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', |