]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add client id option support to dhcp agent
authorMoshe Levi <moshele@mellanox.com>
Wed, 22 Apr 2015 11:17:28 +0000 (14:17 +0300)
committerMoshe Levi <moshele@mellanox.com>
Thu, 14 May 2015 10:04:26 +0000 (13:04 +0300)
commitd4a39439727055fed2cc0661f1ba02c73fd523dc
tree2a6f8b86ea27366dddc39e74c1f6d3421faa3307
parent1958a026b988f634e7152444b5eac9073c019296
Add client id option support to dhcp agent

According to the dnsmasq man client id option should be
written to dhcp-hostsfile and not to the dhcp-optsfile.
Also this patch update the dhcp_release command to take
into account the client id when releasing old leases.

Closes-Bug: #1447105

Change-Id: I6f11b12040ad4e00ae871be45edda3b52b4ee0da
neutron/agent/linux/dhcp.py
neutron/extensions/extra_dhcp_opt.py
neutron/tests/unit/agent/linux/test_dhcp.py