← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2125715] Re: OVN DHCPv6 support for Option 59

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/962317
Committed: https://opendev.org/openstack/neutron/commit/16d9ba42f0b8b4487c8da2c0b0c228adce87d407
Submitter: "Zuul (22348)"
Branch:    master

commit 16d9ba42f0b8b4487c8da2c0b0c228adce87d407
Author: Harald Jensås <hjensas@xxxxxxxxxx>
Date:   Fri Sep 26 02:06:49 2025 +0200

    Add v6 Option 59 to SUPPORTED_DHCP_OPTS_MAPPING
    
    I have a usecase where I boot nova instances using an iPXE
    image. For IPv6 setting option 59 did not work, but it seems
    all that is needed to make the OVN DHCP service serve Option 59
    is to add it to the supported opts mapping.
    
    ```
    Configuring (net0 fa:16:3e:de:cf:88)................. ok
    net0: 2620:cf:cf:cf02::10/64 gw fe80::f816:3eff:feca:5746
    net0: fe80::f816:3eff:fede:cf88/64
    Filename: http://[2620:cf:cf:cf02::fff0]:8081/boot-artifacts/agent.x86_64.ipxe
    ```
    
    Closes-Bug: #2125715
    Change-Id: I43bb10e45a589e947e27e0bc98af4cef5fc7a386
    Signed-off-by: Harald Jensås <hjensas@xxxxxxxxxx>


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2125715

Title:
  OVN DHCPv6 support for Option 59

Status in neutron:
  Fix Released

Bug description:
  I have a usecase where I boot nova instances using an iPXE image.

  For IPv6 setting option 59 is allowed via the API, and the
  `extra_dhcp_opts` field have the value:

  | extra_dhcp_opts         | ip_version='6', opt_name='59',
  opt_value='http://[2620:cf:cf:cf02::fff0]:8081/boot/boot.ipxe'

  However, the client does not get the option.

  It turns out all that is needed is to add '59': 'bootfile_name' to the
  SUPPORTED_DHCP_OPTS_MAPPING.

  --- a/neutron/common/ovn/constants.py
  +++ b/neutron/common/ovn/constants.py
  @@ -196,7 +196,8 @@ SUPPORTED_DHCP_OPTS_MAPPING = {
           '2': 'server_id',
           '5': 'ia_addr',
           '24': 'domain_search',
  -        '23': 'dns_server'},
  +        '23': 'dns_server',
  +        '59': 'bootfile_name'},
   }

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2125715/+subscriptions



References