pub async fn add_redfish_endpoint(
infra: &InfraContext<'_>,
token: &str,
params: UpdateRedfishEndpointParams,
) -> Result<(), Error>Expand description
Register a new Redfish endpoint with HSM.
The caller-supplied UpdateRedfishEndpointParams is converted to a
single-element RedfishEndpointArray before reaching the backend.
ยงErrors
- [
Error::BadRequest] when the caller cannot reachparams.idthrough any of their HSM groups. - [
Error::NetError] / [Error::CsmError] from the backendadd_redfish_endpointcall (including conflicts when an endpoint with thatidis already registered).