Merge lp:~jtv/maas/bug-1379641-obtain-netmasks into lp:~maas-committers/maas/trunk
Status: | Merged |
---|---|
Approved by: | Jeroen T. Vermeulen |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3236 |
Proposed branch: | lp:~jtv/maas/bug-1379641-obtain-netmasks |
Merge into: | lp:~maas-committers/maas/trunk |
Prerequisite: | lp:~jtv/maas/bug-1379641-pass-netmasks |
Diff against target: |
151 lines (+71/-6) 3 files modified
src/maasserver/models/macaddress.py (+1/-0) src/maasserver/networking_preseed.py (+22/-3) src/maasserver/tests/test_networking_preseed.py (+48/-3) |
To merge this branch: | bzr merge lp:~jtv/maas/bug-1379641-obtain-netmasks |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Raphaël Badin (community) | Approve | ||
Gavin Panella (community) | Approve | ||
Review via email: mp+237927@code.launchpad.net |
Commit message
Pass netmasks along with the parameters for generating /etc/network/
This is one of a group of 4 branches that together implement support for arbitrary netmasks in IPv6. But the netmasks would also be useful in configuring static IPv4 addresses later.
Description of the change
I hope the main implementing function is clear enough. It's tempting to query for a StaticIPAddress
Eventually we do want that connection to go into the schema as an m:n relationship.
Jeroen
Thanks!