Skip to content

Commit

Permalink
changed ComputerSystem.go
Browse files Browse the repository at this point in the history
  • Loading branch information
agarwal-ruchi1206 committed Sep 1, 2023
1 parent 68b8dbd commit 795eff6
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions lib-dmtf/model/ComputerSystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -1175,15 +1175,6 @@ type Processors struct {
AdditionalFirmwareVersions *AdditionalFirmwareVersions `json:"AdditionalFirmwareVersions,omitempty"`
}

// SystemInterface redfish structure
type MemorySummary struct {
MemoryMirroring string `json:"MemoryMirroring,omitempty"`
Metrics MemoryMetrics `json:"Metrics,omitempty"`
Status Status `json:"Status"`
TotalSystemMemoryGiB int `json:"TotalSystemMemoryGiB,omitempty"`
TotalSystemPersistentMemoryGiB int `json:"TotalSystemPersistentMemoryGiB,omitempty"`
}

// SystemInterface redfish structure
type MemoryMetrics struct {
Oid string `json:"@odata.id"`
Expand All @@ -1206,29 +1197,6 @@ type MemoryMetrics struct {
OperatingSpeedMHz int `json:"OperatingSpeedMHz,omitempty"`
}

// SystemInterface redfish structure
type CurrentPeriod struct {
BlocksRead int `json:"BlocksRead,omitempty"`
BlocksWritten int `json:"BlocksWritten,omitempty"`
CorrectableECCErrorCount int `json:"CorrectableECCErrorCount,omitempty"`
IndeterminateCorrectableErrorCount int `json:"IndeterminateCorrectableErrorCount,omitempty"`
IndeterminateUncorrectableErrorCount int `json:"IndeterminateUncorrectableErrorCount,omitempty"`
UncorrectableECCErrorCount int `json:"UncorrectableECCErrorCount,omitempty"`
}

// SystemInterface redfish structure
type CXL struct {
AlertCapabilities *AlertCapabilities `json:"AlertCapabilities,omitempty"`
}

// SystemInterface redfish structure
type AlertCapabilities struct {
CorrectableECCError bool `json:"CorrectableECCError,omitempty"`
SpareBlock bool `json:"SpareBlock,omitempty"`
Temperature bool `json:"Temperature,omitempty"`
UncorrectableECCError bool `json:"UncorrectableECCError,omitempty"`
}

// SystemInterface redfish structure
type SystemInterface struct {
Ethernet Ethernet `json:"Ethernet,omitempty"`
Expand Down

0 comments on commit 795eff6

Please sign in to comment.