Add server name to ServerHardware structure in server_hardware.go
mikeshapp opened this issue · comments
mikeshapp commented
Scenario/Intent
Add the server name to the ServerHardware structure in server_hardware.go
Environment Details
- Golang binding for HPE OneView Version: 1.5.0
- OneView SDK Version: 5.0
- OneView Appliance Version: 5.0
- OneView Client API Version: 1200
- Golang Version: go1.14.4 windows/amd64
- Platform: Windows 10
Steps to Add the Change
- Added after the Category entry
type ServerHardware struct {
ServerHardwarev200
AssetTag string `json:"assetTag,omitempty"` // "assetTag": "[Unknown]",
Category string `json:"category,omitempty"` // "category": "server-hardware",
ServerName string `json:"servername,omitempty"` // "category": "server-hardware",
Expected Result
The server name will be available in the server hardware list output