Skip to content

Add VendorLenovo, recognise Lenovo in FormatVendorName and FormatProductName - #28

Merged
joelrebel merged 1 commit into
bmc-toolbox:mainfrom
nuxster:feature/add-lenovo-xcc-support
Jun 22, 2026
Merged

Add VendorLenovo, recognise Lenovo in FormatVendorName and FormatProductName#28
joelrebel merged 1 commit into
bmc-toolbox:mainfrom
nuxster:feature/add-lenovo-xcc-support

Conversation

@nuxster

@nuxster nuxster commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

What does this PR implement/change/remove?

Adds a VendorLenovo constant, teaches FormatVendorName to recognise
Lenovo, and adds Lenovo ThinkSystem models to FormatProductName, so
libraries and tooling that import bmc-toolbox/common (bmclib, ironlib, …)
can identify and normalise Lenovo devices with the same typed constants
used for every other vendor.

This was requested while adding a Lenovo XClarity Controller (XCC) provider
to bmclib: the provider currently falls back to a local string literal
because common.VendorLenovo did not exist.

Checklist

  • Tests added
  • Similar commits squashed

The HW vendor this change applies to (if applicable)

Lenovo

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

ThinkSystem SR630 V2 (7Z71), ThinkSystem SR650 (7X06) — Manufacturer
reported by Redfish ComputerSystem is Lenovo.

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

Lenovo XClarity Controller (XCC), Redfish.

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

None.

Description for changelog/release notes

constants: add VendorLenovo and recognise Lenovo in FormatVendorName/FormatProductName

@joelrebel joelrebel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for adding this in and the tests

@joelrebel
joelrebel merged commit 80e8f10 into bmc-toolbox:main Jun 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants