]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix DHCP agent to work without extra_dhcp_opt extension
authorFrancois Eleouet <f.eleouet@gmail.com>
Mon, 2 Sep 2013 16:21:01 +0000 (18:21 +0200)
committerFrancois Eleouet <f.eleouet@gmail.com>
Mon, 2 Sep 2013 16:58:04 +0000 (18:58 +0200)
commitb63c6f9f839188ade489d77747164b0fec8ab116
treed1e07a7712eabed952c6c960cccc4886069bf50a
parent996bb5e218ec8bb938aad972a19594a75194d528
Fix DHCP agent to work without extra_dhcp_opt extension

With the introduction of extra_dhcp_opt extension, DHCP agent
stopped serving mac adresses when used in conjunction with a
plugin that doesn't support this extension. This fixes the agent
by not assuming that port dict contains extra_dhcp_opt key.

Closes Bug: #1219893

Change-Id: I5bb52f3092f04c5e332b43cb3a04de05edc29cf5
neutron/agent/linux/dhcp.py