-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add drives
and volumes
to server.status.storages
#163
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @stefanhipfel. Please find my comments below.
bmc/bmc.go
Outdated
Entity | ||
State common.State `json:"state,omitempty"` | ||
// Description provides a description of this resource. | ||
Description string `json:"description,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really wan to have a description
field in the status? Where is this information coming from and what should the controller do with this information? Or is it just for the information of the user?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just in case vendors put some useful information in there ;)
can be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets keep this out for now. We can always add fields. Removing is always a pain.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is anyway not in the server crd api, just our internal bmc storage structure.
drives
and volumes
to server.status.storages
Can you please add some PR comments describing the proposed status change? |
In redfish storage controllers are made up of volumes and drives.
This change reflects this structure and shows all drives and volumes of each storage available on this server