Merge lp:~jtv/maas/no-sets-across-rpc into lp:~maas-committers/maas/trunk
Proposed by
Jeroen T. Vermeulen
Status: | Merged |
---|---|
Approved by: | Jeroen T. Vermeulen |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3170 |
Proposed branch: | lp:~jtv/maas/no-sets-across-rpc |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
138 lines (+31/-22) 2 files modified
src/maasserver/networking_preseed.py (+4/-1) src/maasserver/tests/test_networking_preseed.py (+27/-21) |
To merge this branch: | bzr merge lp:~jtv/maas/no-sets-across-rpc |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Raphaël Badin (community) | Approve | ||
Review via email: mp+236812@code.launchpad.net |
Commit message
When generating Curtin network preseeds, map MACs to lists, not sets, of IPs.
These mappings will be sent across RPC, serialised as JSON. Sets won't serialise.
Description of the change
I figured this might come, but I was hoping that it might not. Anyway, the difference isn't so great, and it does simplify my data structures a bit further.
Jeroen
To post a comment you must log in.
Thanks! There was a reason for the two assertions, see below.