Skip to content

Commit

Permalink
US73543: Enhance Host so user knows when a Firmware update is available
Browse files Browse the repository at this point in the history
  • Loading branch information
ron-saito committed Dec 6, 2024
1 parent 104263b commit 80b0c05
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 1 deletion.
22 changes: 21 additions & 1 deletion v1/api/swagger/components/schemas/Host.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,24 @@ allOf:
type: string
example:
- 20:31:01:02:ad:f2:a8:e5
- 21:31:01:02:ad:f2:a8:e5
- 21:31:01:02:ad:f2:a8:e5
InstalledFWBaselineID:
type: string
format: uuid
description: >-
The ID of the firmware baseline that is installed on the host.
InstalledFWBaselineVersion:
type: string
description: >-
The version of the firmware baseline that is installed on the host.
AvailableFWBaselineID:
type: string
format: uuid
description: >-
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:
type: string
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.
18 changes: 18 additions & 0 deletions v1/pkg/client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7113,6 +7113,24 @@ components:
items:
type: string
type: array
InstalledFWBaselineID:
description: The ID of the firmware baseline that is installed on the host.
format: uuid
type: string
InstalledFWBaselineVersion:
description: The version of the firmware baseline that is installed on the
host.
type: string
AvailableFWBaselineID:
description: 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.
format: uuid
type: string
AvailableFWBaselineVersion:
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.
type: string
required:
- Alert
- AlertInfo
Expand Down
4 changes: 4 additions & 0 deletions v1/pkg/client/docs/Host.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ Name | Type | Description | Notes
**SummaryStatus** | [**HealthStatus**](HealthStatus.md) | |
**Labels** | **map[string]string** | The map of label name to label value for the resource. |
**WWPNs** | **[]string** | FC HBA world wide port names |
**InstalledFWBaselineID** | **string** | The ID of the firmware baseline that is installed on the host. | [optional]
**InstalledFWBaselineVersion** | **string** | The version of the firmware baseline that is installed on the host. | [optional]
**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. | [optional]
**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. | [optional]

[[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
4 changes: 4 additions & 0 deletions v1/pkg/client/docs/HostAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ Name | Type | Description | Notes
**SummaryStatus** | [**HealthStatus**](HealthStatus.md) | |
**Labels** | **map[string]string** | The map of label name to label value for the resource. |
**WWPNs** | **[]string** | FC HBA world wide port names |
**InstalledFWBaselineID** | **string** | The ID of the firmware baseline that is installed on the host. | [optional]
**InstalledFWBaselineVersion** | **string** | The version of the firmware baseline that is installed on the host. | [optional]
**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. | [optional]
**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. | [optional]

[[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
8 changes: 8 additions & 0 deletions v1/pkg/client/model_host.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,12 @@ type Host struct {
Labels map[string]string `json:"Labels"`
// FC HBA world wide port names
WWPNs []string `json:"WWPNs"`
// The ID of the firmware baseline that is installed on the host.
InstalledFWBaselineID string `json:"InstalledFWBaselineID,omitempty"`
// The version of the firmware baseline that is installed on the host.
InstalledFWBaselineVersion string `json:"InstalledFWBaselineVersion,omitempty"`
// 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.
AvailableFWBaselineID string `json:"AvailableFWBaselineID,omitempty"`
// 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,omitempty"`
}
8 changes: 8 additions & 0 deletions v1/pkg/client/model_host_all_of.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,12 @@ type HostAllOf struct {
Labels map[string]string `json:"Labels"`
// FC HBA world wide port names
WWPNs []string `json:"WWPNs"`
// The ID of the firmware baseline that is installed on the host.
InstalledFWBaselineID string `json:"InstalledFWBaselineID,omitempty"`
// The version of the firmware baseline that is installed on the host.
InstalledFWBaselineVersion string `json:"InstalledFWBaselineVersion,omitempty"`
// 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.
AvailableFWBaselineID string `json:"AvailableFWBaselineID,omitempty"`
// 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,omitempty"`
}

0 comments on commit 80b0c05

Please sign in to comment.