summaryrefslogtreecommitdiff
path: root/releasenotes/notes/add-dual-stack-dhcp-opts-6dc18ae10aeb599a.yaml
diff options
context:
space:
mode:
authorMohammed Naser <mnaser@vexxhost.com>2021-02-25 16:53:55 -0500
committerJay Faulkner <jay@jvf.cc>2021-02-26 23:39:44 +0000
commit367cdcd66521a569965fc59cbce431039dbeb3ac (patch)
tree2f0ee7709942299ecc9bd109536f2017961cd435 /releasenotes/notes/add-dual-stack-dhcp-opts-6dc18ae10aeb599a.yaml
parentf5d9cabef23ccfebd87f33ef81062f3c3f130af3 (diff)
downloadironic-367cdcd66521a569965fc59cbce431039dbeb3ac.tar.gz
Add both IPv4 and IPv6 DHCP options if interface has both
It is possible that an interface has both IPv4 and IPv6 addresses, primarily when using SLAAC with OpenStack Neutron. When this is the case, it is very likely that the first fixed IP would be a SLAAC assigned port and the second IP is the IPv4 address. In an environment where you are looking to boot via IPv4, no DHCPv6 infrastructure exists as IPv6 connectivity is provided via SLAAC, you would not be able to use this network to boot off of. This patch instead grabs all the fixed IP addresses, then inserts the options that match the IP versions which are attached to the interface, potentially resulting in both IPv4 and IPv6 options being included (though the IPv6 ones would be largely omitted). In environments where only IPv4 or IPv6 is in use on the port, it will still only insert the options for those specific IP versions. Story #2008660 Task #41933 Change-Id: I52e4ee022b17cb7f007534cb368136567b139a34
Diffstat (limited to 'releasenotes/notes/add-dual-stack-dhcp-opts-6dc18ae10aeb599a.yaml')
-rw-r--r--releasenotes/notes/add-dual-stack-dhcp-opts-6dc18ae10aeb599a.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/releasenotes/notes/add-dual-stack-dhcp-opts-6dc18ae10aeb599a.yaml b/releasenotes/notes/add-dual-stack-dhcp-opts-6dc18ae10aeb599a.yaml
new file mode 100644
index 000000000..d5c65f9e1
--- /dev/null
+++ b/releasenotes/notes/add-dual-stack-dhcp-opts-6dc18ae10aeb599a.yaml
@@ -0,0 +1,5 @@
+---
+fixes:
+ - When using the Neutron DHCP driver, Ironic would only use the first fixed
+ IP address to determine what IP versions are use on the port. Now, it
+ checks for all the IP addresses and adds DHCP options for all IP versions.