~troyanov/maas:ipmi-power-off-mode-settings

Last commit made on 2023-11-16
Get this branch:
git clone -b ipmi-power-off-mode-settings https://git.launchpad.net/~troyanov/maas
Only Anton Troyanov can upload to this branch. If you are Anton Troyanov please log in for upload directions.

Branch merges

Branch information

Name:
ipmi-power-off-mode-settings
Repository:
lp:~troyanov/maas

Recent commits

aba365a... by Anton Troyanov

refactor: make power_off_mode a dropdown/choice

30c7dc5... by Anton Troyanov

test: maas-power CLI ipmi accepts power-off-mode

4f42c9c... by Anton Troyanov

fix: add power-off-mode to ipmi settings

5c18576... by Adam Collard

fix: lp:2042645 add missing return

01eea1b... by Anton Troyanov

fix: webhook power driver crashes

Resolves LP:2042497

9e26832... by Anton Troyanov

fix: skip null power driver values

bbb850f... by Anton Troyanov

refactor: get_effective_power_parameters only required

This change addresses the disclosure of various power parameters to drivers that do not rely on them.

- 'mac_address' used by IPMI only, but it should be BMC address (which MAAS doesn't now), so this parameter can be simply removed
- 'power_address', 'username', 'power_pass' should be set by the driver parameters
- 'power_id' used only by 'virsh
- 'power_driver' default empty value is not used by any driver='power_off_mode' - used by 'ipmi' only
- 'boot_mode' used by 'amt' only

Resolves LP:2042645

4b08f41... by Anton Troyanov

fix: update node status after power management

641843b... by Alberto Donato

add ReleaseForm, use it for release API action

1f726ba... by Anton Troyanov

fix: remove workflow calls from ws handlers

There is an additional work required before we can migrate to Temporal workflows. Switch back to existing logic for now.