Merge lp:~jtv/maas/dns-disable-ipv4 into lp:~maas-committers/maas/trunk
Status: | Merged |
---|---|
Approved by: | Jeroen T. Vermeulen |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2738 |
Proposed branch: | lp:~jtv/maas/dns-disable-ipv4 |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
216 lines (+121/-16) 4 files modified
src/maasserver/dns/tests/test_config.py (+3/-7) src/maasserver/dns/tests/test_zonegenerator.py (+50/-0) src/maasserver/models/staticipaddress.py (+24/-9) src/maasserver/models/tests/test_staticipaddress.py (+44/-0) |
To merge this branch: | bzr merge lp:~jtv/maas/dns-disable-ipv4 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Edwards (community) | Approve | ||
Review via email: mp+231148@code.launchpad.net |
Commit message
Allow a node to have IPv4 and IPv6 addresses in DNS at the same time; suppress the IPv4 address if node has disable_ipv4 set.
Description of the change
Most of the work for this went into preparatory branches, so the branch you see here is simple. It allows a node to have one static IPv4 address and one static IPv6 address (even on different MACs, although I doubt that matters) and map them both in DNS.
The diff in src/maasserver/
Jeroen
Looks good, but you need more tests for the SQL changes, particularly all the scenarios around mixing v4/v6 and same/different MACs. I trust you will get those right since you're probably the best test writer on the team, which pains me to write this review :)