Merge lp:~andreserl/maas/ignore-client-uids into lp:~maas-committers/maas/trunk

Proposed by Andres Rodriguez
Status: Merged
Approved by: Andres Rodriguez
Approved revision: no longer in the source branch.
Merged at revision: 1476
Proposed branch: lp:~andreserl/maas/ignore-client-uids
Merge into: lp:~maas-committers/maas/trunk
Diff against target: 11 lines (+1/-0)
1 file modified
src/provisioningserver/dhcp/config.py (+1/-0)
To merge this branch: bzr merge lp:~andreserl/maas/ignore-client-uids
Reviewer Review Type Date Requested Status
Julian Edwards (community) Approve
Review via email: mp+163378@code.launchpad.net

Commit message

Prevents DHCP server from leasing two different IP addresses to the same client at different stages.

To post a comment you must log in.
Revision history for this message
Julian Edwards (julian-edwards) :
review: Approve
Revision history for this message
Julian Edwards (julian-edwards) wrote :

You should probably backport this to 1.3 and 1.2 as well?

Revision history for this message
Andres Rodriguez (andreserl) wrote :

Yeah 1.3 is a candidate since the feature is available from raring+ (only in Ubuntu though).

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/provisioningserver/dhcp/config.py'
2--- src/provisioningserver/dhcp/config.py 2012-11-22 03:18:35 +0000
3+++ src/provisioningserver/dhcp/config.py 2013-05-10 22:29:30 +0000
4@@ -29,6 +29,7 @@
5 template_content = dedent("""\
6 subnet {{subnet}} netmask {{subnet_mask}} {
7 filename "{{bootloader}}";
8+ ignore-client-uids true;
9 option subnet-mask {{subnet_mask}};
10 option broadcast-address {{broadcast_ip}};
11 option domain-name-servers {{dns_servers}};