Merge ~newell-jensen/maas:redfish-commissioning into maas:master
Proposed by
Newell Jensen
Status: | Merged |
---|---|
Approved by: | Andres Rodriguez |
Approved revision: | b6c5321734fffc45f718933e453f051b3b5bfbb3 |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~newell-jensen/maas:redfish-commissioning |
Merge into: | maas:master |
Diff against target: |
74 lines (+33/-4) 2 files modified
src/maasserver/api/nodes.py (+15/-3) src/maasserver/api/tests/test_api.py (+18/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andres Rodriguez (community) | Approve | ||
MAAS Lander | Approve | ||
Review via email: mp+361754@code.launchpad.net |
Commit message
Only update the power parameters in enlistment if the power type is 'ipmi' or 'manual'. This makes it so other power types do not have their parameters overwritten.
Description of the change
* Allows a user to update an enlisted node to a power type other than 'ipmi' or 'manual' and commission that node without the power type parameters being overwritten.
* Tested in the CI with IPMI and Redfish power type machines.
To post a comment you must log in.
UNIT TESTS commissioning lp:~newell-jensen/maas/+git/maas into -b master lp:~maas-committers/maas
-b redfish-
STATUS: SUCCESS 9097d002aea61d0 bd1163c02e
COMMIT: ec8b1d4fa68ab94