Merge lp:~martin-nowack/maas/fix-sticky-ip into lp:~maas-committers/maas/trunk
Proposed by
Martin Nowack
Status: | Rejected |
---|---|
Rejected by: | Mike Pontillo |
Proposed branch: | lp:~martin-nowack/maas/fix-sticky-ip |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
24 lines (+6/-1) 1 file modified
src/maasserver/models/node.py (+6/-1) |
To merge this branch: | bzr merge lp:~martin-nowack/maas/fix-sticky-ip |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mike Pontillo (community) | Needs Fixing | ||
Review via email: mp+251499@code.launchpad.net |
Description of the change
Fixes LP: 1423931
To post a comment you must log in.
Unmerged revisions
- 3583. By Martin Nowack (<email address hidden>)
-
Fix assignment of sticky ip addresses.
Before accepting this patch, I think we would need to verify that there are no side effects involved with updating the DHCP host maps with the STICKY IP address every time. (we may create duplicate leases - though arguably that's better than creating zero leases!)
Second, I'm curious: why did you add the unicode() cast around the MAC addresses in get_static_ ip_mappings( )? Is there a problem updating the host maps without it? (I can see that is consistent with a few other occurrences in this file either way, but I'm not sure why MAC addresses would need to be expressed in unicode.)
Finally, we would not be able to accept this patch without corresponding unit tests.