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

Add LocationIndicatorActive as a field in chassis #305

Merged
merged 2 commits into from
Mar 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions redfish/chassis.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ type Chassis struct {
// Location shall contain location information of the
// associated chassis.
Location common.Location
// An indicator allowing an operator to physically locate this resource. (v1.14+)
iamsli marked this conversation as resolved.
Show resolved Hide resolved
LocationIndicatorActive bool
// Manufacturer shall contain the name of the
// organization responsible for producing the chassis. This organization
// might be the entity from whom the chassis is purchased, but this is
Expand Down Expand Up @@ -321,6 +323,7 @@ func (chassis *Chassis) Update() error {
readWriteFields := []string{
"AssetTag",
"IndicatorLED",
"LocationIndicatorActive",
}

originalElement := reflect.ValueOf(original).Elem()
Expand Down