-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
properties in Managers service Signed-off-by: ehaligow <[email protected]>
- Loading branch information
Showing
9 changed files
with
220 additions
and
39 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 |
---|---|---|
|
@@ -47,6 +47,7 @@ type Manager struct { | |
SerialNumber string `json:"SerialNumber,omitempty"` | ||
ServiceEntryPointUUID string `json:"ServiceEntryPointUUID,omitempty"` | ||
SerialInterfaces *Link `json:"SerialInterfaces,omitempty"` | ||
SerialConsole SerialConsole `json:"SerialConsole,omitempty"` | ||
TimeZoneName string `json:"TimeZoneName,omitempty"` | ||
UUID string `json:"UUID,omitempty"` | ||
Measurements []*Link `json:"Measurements,omitempty"` | ||
|
@@ -76,15 +77,15 @@ type ManagerLinks struct { | |
ActiveSoftwareImage *Link `json:"ActiveSoftwareImage,omitempty"` | ||
ManagedBy []Link `json:"ManagedBy,omitempty"` | ||
ManagerByCount int `json:"[email protected],omitempty"` | ||
ManagerForChassis []Link `json:"ManagerForChassis,omitempty"` | ||
ManagerForChassis []Link `json:"ManagerForChassis"` | ||
ManagerForChassisCount int `json:"[email protected],omitempty"` | ||
ManagerForManagers []Link `json:"ManagerForManagers,omitempty"` | ||
ManagerForManagersCount int `json:"[email protected],omitempty"` | ||
ManagerForServers []Link `json:"ManagerForServers,omitempty"` | ||
ManagerForServersCount int `json:"[email protected],omitempty"` | ||
ManagerForSwitches []Link `json:"ManagerForSwitches,omitempty"` | ||
ManagerForSwitchesCount int `json:"[email protected],omitempty"` | ||
ManagerInChassis []Link `json:"ManagerInChassis,omitempty"` | ||
ManagerInChassis *Link `json:"ManagerInChassis,omitempty"` | ||
ManagerInChassisCount int `json:"[email protected],omitempty"` | ||
Oem interface{} `json:"Oem,omitempty"` | ||
SoftwareImages *Link `json:"SoftwareImages,omitempty"` | ||
|
@@ -131,3 +132,21 @@ type VMActions struct { | |
type ActionTarget struct { | ||
Target string `json:"target"` | ||
} | ||
|
||
// NetworkProtocol contains the property details of NetworkProtocol | ||
type NetworkProtocol struct{ | ||
ODataID string `json:"@odata.id"` | ||
ODataType string `json:"@odata.type"` | ||
Description string `json:"Description,omitempty"` | ||
ID string `json:"Id"` | ||
Name string `json:"Name"` | ||
Status *Status `json:"Status"` | ||
HTTP *HTTP `json:"HTTP"` | ||
HTTPS *HTTP `json:"HTTPS"` | ||
} | ||
|
||
// HTTP redfish structure | ||
type HTTP struct { | ||
ProtocolEnabled string `json:"ProtocolEnabled"` | ||
Port string `json:"Port"` | ||
} |
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
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.