]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix inconsistency in DHCPv6 hosts and options generation
authorAlexey I. Froloff <raorn@raorn.name>
Wed, 30 Sep 2015 18:38:24 +0000 (21:38 +0300)
committerAlexey I. Froloff <raorn@raorn.name>
Tue, 13 Oct 2015 11:48:12 +0000 (14:48 +0300)
commit81c5e511f704861a08f2e3938edca97474d4c44c
treed596aa887141839c99d4bce81def02235b40806c
parent090fe713592c2b6398d999bfa03b80cbb2054609
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
neutron/agent/linux/dhcp.py
neutron/tests/unit/agent/linux/test_dhcp.py