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

Improve virtual media ejecting and inserting: #412

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

jacobweinstock
Copy link
Member

What does this PR implement/change/remove?

As there can be multiple virtual media for a single manager, i.e. CD, DVD, USBStick, etc, we need to check for a matching supported type before ejecting or injecting. Also, added checking that the virtual media supports injecting before trying.

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

As there can be multiple virtual media for a single
manager, i.e. CD, DVD, USBStick, etc, we need to check
for a matching supported type before ejecting or injecting.
Also, added checking that the virtual media supports injecting
before trying.

Signed-off-by: Jacob Weinstock <[email protected]>
@jacobweinstock jacobweinstock force-pushed the more-virtual-media-stuff branch from c3247de to b58a061 Compare January 17, 2025 03:14
Copy link
Member

@joelrebel joelrebel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest implementing tests to avoid regressions for the various cases being handled here

@mergify mergify bot merged commit d621fb6 into bmc-toolbox:main Jan 17, 2025
5 checks passed
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