Add DHCP_OPT_CLIENT_ID_NUM

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.

Partial-Bug: #1770932
Change-Id: Id8272ecfac41670693482f11d6bcb6ad211b993f
This commit is contained in:
Hamdy Khader 2018-05-10 15:57:09 +03:00 committed by Brian Haley
parent 3d6d82aaa1
commit a948801e2c
2 changed files with 10 additions and 0 deletions

View File

@ -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'

View File

@ -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 <https://bugs.launchpad.net/neutron/+bug/1770932>`_