Skip to content

Commit

Permalink
PCCM-100605: PCE-Mediahuis- Server Serial number to be available in c…
Browse files Browse the repository at this point in the history
…ustomers GreenLake BMaaS portal (#143)
  • Loading branch information
ron-saito authored Jan 16, 2025
1 parent fa33f79 commit ea75ca1
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 13 deletions.
5 changes: 5 additions & 0 deletions v1/api/swagger/components/schemas/Host.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ allOf:
- FWBaselineVersion
- AvailableFWBaselineID
- AvailableFWBaselineVersion
- SerialNumber
properties:
Description:
type: string
Expand Down Expand Up @@ -224,3 +225,7 @@ allOf:
description: >-
The version of the firmware baseline that is available for the host. This
field is only populated when there is a new firmware baseline available.
SerialNumber:
type: string
description: >-
The serial number of the host.
26 changes: 13 additions & 13 deletions v1/html/index.html

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions v1/pkg/client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7145,6 +7145,9 @@ components:
the host. This field is only populated when there is a new firmware baseline
available.
type: string
SerialNumber:
description: The serial number of the host.
type: string
required:
- Alert
- AlertInfo
Expand All @@ -7171,6 +7174,7 @@ components:
- Progress
- SSHAuthorizedKeys
- SSHKeyIDs
- SerialNumber
- ServiceFlavor
- ServiceID
- ServiceNetsProviderMAC
Expand Down
1 change: 1 addition & 0 deletions v1/pkg/client/docs/Host.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Name | Type | Description | Notes
**FWBaselineVersion** | **string** | The version of the firmware baseline that is installed on the host. |
**AvailableFWBaselineID** | **string** | The ID of the firmware baseline that is available for the host. This field is only populated when there is a new firmware baseline available. |
**AvailableFWBaselineVersion** | **string** | The version of the firmware baseline that is available for the host. This field is only populated when there is a new firmware baseline available. |
**SerialNumber** | **string** | The serial number of the host. |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 1 addition & 0 deletions v1/pkg/client/docs/HostAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Name | Type | Description | Notes
**FWBaselineVersion** | **string** | The version of the firmware baseline that is installed on the host. |
**AvailableFWBaselineID** | **string** | The ID of the firmware baseline that is available for the host. This field is only populated when there is a new firmware baseline available. |
**AvailableFWBaselineVersion** | **string** | The version of the firmware baseline that is available for the host. This field is only populated when there is a new firmware baseline available. |
**SerialNumber** | **string** | The serial number of the host. |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 2 additions & 0 deletions v1/pkg/client/model_host.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,6 @@ type Host struct {
AvailableFWBaselineID string `json:"AvailableFWBaselineID"`
// The version of the firmware baseline that is available for the host. This field is only populated when there is a new firmware baseline available.
AvailableFWBaselineVersion string `json:"AvailableFWBaselineVersion"`
// The serial number of the host.
SerialNumber string `json:"SerialNumber"`
}
2 changes: 2 additions & 0 deletions v1/pkg/client/model_host_all_of.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,6 @@ type HostAllOf struct {
AvailableFWBaselineID string `json:"AvailableFWBaselineID"`
// The version of the firmware baseline that is available for the host. This field is only populated when there is a new firmware baseline available.
AvailableFWBaselineVersion string `json:"AvailableFWBaselineVersion"`
// The serial number of the host.
SerialNumber string `json:"SerialNumber"`
}

0 comments on commit ea75ca1

Please sign in to comment.