]> 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)
committerXu Han Peng <xuhanp@cn.ibm.com>
Wed, 24 Sep 2014 09:37:23 +0000 (17:37 +0800)
commit1b66e11b5d8c0b3de0610ca02c3e10b6f64ae375
treed8a29f51cc4609047efb5baa0f72ff81a2d32ce7
parent813098e2c6c856a1074e9c4d189d8a22032e7b32
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
neutron/agent/dhcp_agent.py
neutron/tests/unit/test_dhcp_agent.py