]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Create DHCP port for IPv6 subnet
authorXu Han Peng <xuhanp@cn.ibm.com>
Wed, 24 Sep 2014 09:37:23 +0000 (17:37 +0800)
committerIhar Hrachyshka <ihrachys@redhat.com>
Wed, 29 Oct 2014 13:27:28 +0000 (13:27 +0000)
commit8575fe95a6f1b46fb8ad645f26928471d5f53c9e
treef43496a6db3a1e5a90218d718200874587de4b7a
parent04e9605580822aac6b165df64141019c3d2de48b
Create DHCP port for IPv6 subnet

There is a bug in dhcp agent code that when first port is created
in an IPv6 subnet, DHCP port is not automatically created.

This fix resolves this problem by removing the IP version check
in configure_dhcp_for_network method.

Change-Id: If3f405d367a7099d9f33d72d11ffcb7a393abe23
Closes-Bug: #1367500
(cherry picked from commit 1b66e11b5d8c0b3de0610ca02c3e10b6f64ae375)
neutron/agent/dhcp_agent.py
neutron/tests/unit/test_dhcp_agent.py