Expand description
HSM Redfish-endpoint registry queries and CRUD.
Wraps the /Inventory/RedfishEndpoints HSM family. A registration
describes how HSM should talk to a BMC: hostname/FQDN,
credentials, MAC and IP, discovery flags. Every mutation runs
through validate_user_group_members_access so a caller can
only touch a BMC whose xname they already have group access to.
Listing is the only special case: admin tokens may broadly list
every endpoint, but non-admin callers MUST scope the query by
id, because the full listing would otherwise leak every BMC’s
identity and credentials cluster-wide.
Structs§
- GetRedfish
Endpoints Params - Typed parameters for fetching Redfish endpoints.
- Update
Redfish Endpoint Params - Typed parameters for adding or updating a Redfish endpoint.
Functions§
- add_
redfish_ endpoint - Register a new Redfish endpoint with HSM.
- delete_
redfish_ endpoint - Delete a Redfish endpoint registration by id (BMC xname).
- get_
redfish_ endpoints - List Redfish endpoint registrations, applying any caller-supplied
filters (
id/fqdn/uuid/macaddr/ipaddress). - update_
redfish_ endpoint - Update an existing Redfish endpoint’s properties.