diff --git a/neutron_lib/api/definitions/extra_dhcp_opt.py b/neutron_lib/api/definitions/extra_dhcp_opt.py index 050e32a05..cc2b587d7 100644 --- a/neutron_lib/api/definitions/extra_dhcp_opt.py +++ b/neutron_lib/api/definitions/extra_dhcp_opt.py @@ -46,6 +46,8 @@ EXTRA_DHCP_OPT_KEY_SPECS = [ EXTRADHCPOPTS = 'extra_dhcp_opts' DHCP_OPT_CLIENT_ID = "client-id" +# client-id option value as defined in RFC 4776 +DHCP_OPT_CLIENT_ID_NUM = 61 # The alias of the extension. ALIAS = 'extra_dhcp_opt' diff --git a/releasenotes/notes/client-id-number-dhcp-option-a099f927eb8f99af.yaml b/releasenotes/notes/client-id-number-dhcp-option-a099f927eb8f99af.yaml new file mode 100644 index 000000000..f7ba9a096 --- /dev/null +++ b/releasenotes/notes/client-id-number-dhcp-option-a099f927eb8f99af.yaml @@ -0,0 +1,8 @@ +--- +fixes: + - | + For Infiniband support, Ironic needs to send the ``client-id`` DHCP option + as a number in order for IP address assignment to work. + This is now supported in Neutron, and can be specified as option number + 61 as defined in RFC 4776. For more information see bug + `1770932 `_