Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update redfish system name matching #401

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

jacobweinstock
Copy link
Member

@jacobweinstock jacobweinstock commented Oct 25, 2024

What does this PR implement/change/remove?

Add system name matching to Managers and make sure redfish methods use the Systems helper method.

Checklist

  • Tests added
  • Similar commits squashed

The HW vendor this change applies to (if applicable)

The HW model number, product name this change applies to (if applicable)

The BMC firmware and/or BIOS versions that this change applies to (if applicable)

What version of tooling - vendor specific or opensource does this change depend on (if applicable)

Description for changelog/release notes

This allows the systemName struct field to filter
the managers. Needed for things like inserting and
ejecting virtual media.

Signed-off-by: Jacob Weinstock <[email protected]>
Many of the existing redfish feature methods
weren't using the System helper that filtered
for system name.

Also, for virtual media ejecting, handle BMC's
that don't support the "inserted" property.

Signed-off-by: Jacob Weinstock <[email protected]>
@mergify mergify bot merged commit 490323d into bmc-toolbox:main Oct 28, 2024
5 checks passed
@jacobweinstock jacobweinstock deleted the update-redfish branch October 28, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants