Skip to content

Commit

Permalink
Revert "Update the RAID and BIOS processing in terraform-provider-iro…
Browse files Browse the repository at this point in the history
…nic"

This reverts commit 879a2df.
  • Loading branch information
hs0210 committed Dec 7, 2021
1 parent 59909f0 commit df93832
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions enhancements/baremetal/baremetal-config-raid-and-bios.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,8 @@ For control plane hosts, transform the *raid* and *firmware* fields into string

#### Process the fields in terraform-provider-ironic

Add *raid_config* and *bios_settings* fields to terraform-provider-ironic API, transform them back to struct format.
For RAID processing, implement the same logic on the terraform-provider-ironic side as on the **BMO** side.
For BIOS processing, call the related functions in BMC package from the module [hardwareutils](https://github.com/metal3-io/baremetal-operator/tree/master/pkg/hardwareutils).
And then perform the [manual cleaning](https://docs.openstack.org/ironic/latest/admin/cleaning.html#manual-cleaning).
Add *raid_config* and *bios_settings* fields to terraform-provider-ironic API, transform them back to struct format, and then call the
methods in **BMO** to process the two fields to perform [manual cleaning](https://docs.openstack.org/ironic/latest/admin/cleaning.html#manual-cleaning).

#### Notes

Expand Down

0 comments on commit df93832

Please sign in to comment.