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

Allow separating the WWN vendor extension #363

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

zaneb
Copy link
Contributor

@zaneb zaneb commented Mar 13, 2024

Provide a way to get the disk WWN without the vendor extension.

Ironic root device hints support matching separately on the WWN, vendor extension, and WWN+extension. This makes it useful to be able to separate the vendor extension from the base WWN.

Provide a way to get the disk WWN without the vendor extension.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
@jaypipes
Copy link
Owner

Well hello there, @zaneb! :)

Copy link
Owner

@jaypipes jaypipes left a comment

Choose a reason for hiding this comment

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

@zaneb looks great, thanks for the contribution!

@@ -233,9 +233,13 @@ type Disk struct {
Model string `json:"model"`
// SerialNumber is the serial number of the disk.
SerialNumber string `json:"serial_number"`
// WWN is the World-wide Number of the disk.
Copy link
Owner

Choose a reason for hiding this comment

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

LOL, thanks for the correction!

@jaypipes jaypipes merged commit 2650af7 into jaypipes:main Mar 13, 2024
10 checks passed
@zaneb
Copy link
Contributor Author

zaneb commented Mar 14, 2024

Thanks @jaypipes! Hope you're also doing well 🙂

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