Fix inconsistency in DHCPv6 hosts and options generation
The DHCP agent is inconsistent in how it handles subnets whose
ipv6_address_mode is not slaac. While the DHCP agent writes out both
DHCPv6 host entries and DHCPv6 options for ports scoped by the subnet
for dnsmasq to use, subnet specific options are not written.
This patch addresses this inconsistency by generating subnet specific
options when the subnet's ipv6_address_mode is not slaac.
Closes-Bug: #1501451
Change-Id: I372c93fa5667e955c7b81181daa2e66f47d85fdf
(cherry picked from commit 81c5e511f704861a08f2e3938edca97474d4c44c)
Reviewed: https:/ /review. openstack. org/235862 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=bdb006f5785 1882d5141af7e68 44c74f4f1a5226
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit bdb006f57851882 d5141af7e6844c7 4f4f1a5226
Author: Alexey I. Froloff <email address hidden>
Date: Wed Sep 30 21:38:24 2015 +0300
Fix inconsistency in DHCPv6 hosts and options generation
The DHCP agent is inconsistent in how it handles subnets whose address_ mode is not slaac. While the DHCP agent writes out both
ipv6_
DHCPv6 host entries and DHCPv6 options for ports scoped by the subnet
for dnsmasq to use, subnet specific options are not written.
This patch addresses this inconsistency by generating subnet specific
options when the subnet's ipv6_address_mode is not slaac.
Closes-Bug: #1501451
Change-Id: I372c93fa5667e9 55c7b81181daa2e 66f47d85fdf a08f2e3938edca9 7474d4c44c)
(cherry picked from commit 81c5e511f704861