forked from ODIM-Project/ODIM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from tasmiyafathima14/sprint-72-odim-7034
Adding lib-dmtf managers model
- Loading branch information
Showing
5 changed files
with
211 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ type Redundancy struct { | |
RedundancySetCount int `json:"[email protected],omitempty"` | ||
} | ||
|
||
// Identifier redfish structure | ||
//Identifier redfish structure | ||
type Identifier struct { | ||
DurableName string `json:"DurableName,omitempty"` | ||
DurableNameFormat string `json:"DurableNameFormat,omitempty"` | ||
|
@@ -124,6 +124,20 @@ type IOStatistics struct { | |
WriteIORequestTime string `json:"WriteIORequestTime,omitempty"` | ||
} | ||
|
||
// Conditions - This type shall contain the description and details of a | ||
// condition that exists within this resource or a related resource that | ||
// requires attention. | ||
type Conditions struct { | ||
LogEntry *Link `json:"LogEntry,omitempty"` | ||
Message string `json:"Message,omitempty"` | ||
MessageArgs []string `json:"MessageArgs,omitempty"` | ||
MessageID string `json:"MessageId"` | ||
OriginOfCondition *Link `json:"OriginOfCondition,omitempty"` | ||
Resolution string `json:"Resolution,omitempty"` | ||
Severity Health `json:"Severity,omitempty"` | ||
Timestamp string `json:"Timestamp,omitempty"` | ||
} | ||
|
||
// Certificates redfish structure | ||
type Certificates struct { | ||
Oid string `json:"@odata.id"` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.