terraform-provider-redfish
terraform-provider-redfish copied to clipboard
NEW FEATURE: Add support for expanding the Boot Options for Boot data source
trafficstars
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Add support for expanding the Boot Options for Boot data source. The data source should also provide a list of the boot options and their details, similar to the following:
$ curl -k -s https://192.168.10.10/redfish/v1/Systems/System.Embedded.1/BootOptions/Boot0001 | python -m json.tool
{
"@odata.context": "/redfish/v1/$metadata#BootOption.BootOption",
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/BootOptions/Boot0001",
"@odata.type": "#BootOption.v1_0_3.BootOption",
"BootOptionEnabled": true,
"BootOptionReference": "Boot0001",
"Description": "Current settings of the UEFI Boot option",
"DisplayName": "PXE Device 2: Integrated NIC 1 Port 1 Partition 1",
"Id": "Boot0001",
"Name": "Uefi Boot Option",
"UefiDevicePath": "VenHw(D227C733-F75F-4341-B749-4D1759EC8538)"
}
New or Affected Resource(s)
- data_source_redfish_boot
Potential Terraform Configuration
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file.
References
- #0000
Hi All,
Can you please provide a sample code of Terraform to provision the Bare Metal server?
@govindkg, you can find the example terraform plans [here] that you can refer to provision the bare-metal servers.
The upstream gofish library has had some recent enhancements that may be useful for this issue.
https://github.com/stmcginnis/gofish/pull/184 https://github.com/stmcginnis/gofish/pull/185