Bug 2062295 - [RFE] OVN: DHCP server support for chainloading iPXE with IPv6
Summary: [RFE] OVN: DHCP server support for chainloading iPXE with IPv6
Keywords:
Status: MODIFIED
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: OVN
Version: RHEL 8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: lorenzo bianconi
QA Contact: ying xu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-09 13:48 UTC by Lucas Alvares Gomes
Modified: 2023-07-13 07:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-1824 0 None None None 2022-03-09 14:02:13 UTC

Description Lucas Alvares Gomes 2022-03-09 13:48:57 UTC
The RFE [0] implemented iPXE chainloading support for IPv4. In order to complete the work we also need to implement it for IPv6.

There are some differences in how OVN DHCP should behave for these two versions:

1) For IPv4, OVN DHCP will look for option 175. If set it will return "bootfile_name" if unset it will return "bootfile_name_alt" (see RFE [0] for more details)

2) For IPv6, instead of looking for option 175 OVN DHCP should look at the "user class" field from the DHCP request and see if it's set to "iPXE" [1][2].

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1765506
[1] https://github.com/openstack/neutron/blob/a7010e9c4e844940ef33aae3309ca4e323bef78e/neutron/agent/linux/dhcp.py#L393-L394
[2] https://datatracker.ietf.org/doc/html/rfc3315#section-22.15


Note You need to log in before you can comment on or make changes to this bug.