Merge ~r00ta/maas:lp-2027621 into maas:master
Proposed by
Jacopo Rota
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jacopo Rota | ||||
Approved revision: | 983c55ba1a9b58c2f7a5cb6b0838eb0db27eddd8 | ||||
Merge reported by: | MAAS Lander | ||||
Merged at revision: | not available | ||||
Proposed branch: | ~r00ta/maas:lp-2027621 | ||||
Merge into: | maas:master | ||||
Diff against target: |
286 lines (+123/-21) 2 files modified
src/maasserver/dhcp.py (+15/-9) src/maasserver/tests/test_dhcp.py (+108/-12) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
MAAS Lander | Approve | ||
Anton Troyanov | Approve | ||
Review via email: mp+446748@code.launchpad.net |
Commit message
fix dhcp make_failover_
Description of the change
This MP aims to fix https:/
The function make_failover_
The fix is
1) pass the `ip_version` to this function
2) select the interfaces of the rack controller that are on the vlan and that match the `ip_version`
3) select the best interface according to a specific logic already implemented
4) get an ip from that interface that is on the vlan and that matches the `ip_version`
A test to verify this scenario has been added.
To post a comment you must log in.
LGTM!