|
Post by fclauss on Oct 19, 2022 11:40:07 GMT
Hello people,
I feel like I'm missing something really big here, because this seems like a mundane task, that should not be that big of a deal.
I wan to set the BMC Hostname and domain/ FQDN.
The Endpoint "NetworkProtocol" under "/redfish/v1/Managers/XXXX/" has the keys for FQDN and Hostname. Both of them Change if I set it in the Webinterface. However, according to the specs, these values are read-only.
So long story short: How do I set Hostname/ FQDN through Redfish API?
Cheers and thanks!
Fabian
|
|
|
Post by mraineri on Oct 19, 2022 15:24:47 GMT
The control surface for setting the FQDN and Hostname is done in the EthernetInterface resource. So, you'll need to use "/redfish/v1/Managers/XXX/EthernetInterfaces/YYY" to change these settings.
We've found it useful to surface this information in NetworkProtocol, but we wanted to make this settable in one resource. This is to avoid cases where "Vendor A" wants a client to set it only via NetworkProtocol and "Vendor B" wants a client to set it only via EthernetInterface, which would put a burden on clients to perform vendor detection when applying the setting.
|
|