]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Neutron does not follow the RFC 3442 spec for DHCP
authorChristoph Arnold <arnold@b1-systems.de>
Thu, 29 May 2014 14:17:30 +0000 (16:17 +0200)
committerChristoph Arnold <arnold@b1-systems.de>
Sun, 1 Jun 2014 21:01:00 +0000 (23:01 +0200)
commitce59e63249dfcd86e782d056407e38e845cbe19c
treea053bc5b4708150287c5f34a0c4125514a7d5d40
parent762947f5b198989481e1aee52df9be3d1cc7de63
Neutron does not follow the RFC 3442 spec for DHCP

When setting a gateway and additional host routes in neutron subnet, the
gateway is only sent to clients via the router dhcp option, dhcp clients
conforming to rfc3442 will ignore router option if
classless-static-routes are available. This patch ensures setting both
the router option and the classless-static-routes including the gateway

Change-Id: Ia00b9385025020f848872309ae42ddac08528f53
Closes-Bug: #1317935
neutron/agent/linux/dhcp.py
neutron/tests/unit/test_linux_dhcp.py