Merge lp:~jtv/maas/bug-1379641-pass-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: | 3234 |
Proposed branch: | lp:~jtv/maas/bug-1379641-pass-netmasks |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
207 lines (+38/-17) 9 files modified
src/maasserver/clusterrpc/osystems.py (+3/-1) src/maasserver/networking_preseed.py (+2/-0) src/maasserver/tests/test_networking_preseed.py (+3/-0) src/provisioningserver/drivers/osystem/__init__.py (+4/-1) src/provisioningserver/drivers/osystem/debian_networking.py (+5/-1) src/provisioningserver/drivers/osystem/ubuntu.py (+3/-2) src/provisioningserver/rpc/clusterservice.py (+2/-1) src/provisioningserver/rpc/osystems.py (+7/-5) src/provisioningserver/rpc/tests/test_osystems.py (+9/-6) |
To merge this branch: | bzr merge lp:~jtv/maas/bug-1379641-pass-netmasks |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Raphaël Badin (community) | Approve | ||
Gavin Panella (community) | Approve | ||
Review via email: mp+237899@code.launchpad.net |
Commit message
Add parameter to generation of Curtin network preseeds: netmasks. This is in support of non-64-bit IPv6 netmasks, but it also takes away an obstacle to static IPv4 configuration.
The new parameter is not yet used, nor is it populated. I'm leaving that for separate branches because just the parameter-passing (esp. across RPC) generates so many boilerplate changes.
Description of the change
Post-release we can restructure the way these parameters are passed, e.g. by grouping address, netmask, and gateway into a single dict. But for now the incremental change is still the path of least resistance, tedious as it looks.
(It may look odd that netmasks are mapped out by IP address, not by MAC address like some other items are. The reason is that a single network interface can have multiple IP addresses.)
Jeroen