Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed WWPNs field from user create request for hosts. #104

Merged
merged 3 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions v1/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ api_files:

# fixup invokes a script to generate interfaces for all of the
# generated client types to allow consumers to use mocks to test their code that
# interacts with Quake via the client and adds copyrights to all the generated
# files.
# interacts with Quake via the client and adds copyrights to all the generated files.
.PHONY: fixup
fixup: api_files vendor
@bash fixup_generated_files.bash ${OUTPUT_DIR}
Expand Down
8 changes: 0 additions & 8 deletions v1/api/swagger/components/schemas/NewHost.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,3 @@ properties:
example:
serviceType: BMaaS
region: us-west-2
WWPNs:
type: array
description: FC HBA world wide port names
items:
type: string
example:
- 20:31:01:02:ad:f2:a8:e5
- 21:31:01:02:ad:f2:a8:e5
7 changes: 3 additions & 4 deletions v1/html/index.html

Large diffs are not rendered by default.

11 changes: 0 additions & 11 deletions v1/pkg/client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2838,9 +2838,6 @@ components:
Description: Description of new Host
NetworkUntagged: 046b6c7f-0b8a-43b9-b35d-6489e6daee92
UserData: UserData
WWPNs:
- 20:31:01:02:ad:f2:a8:e5
- 21:31:01:02:ad:f2:a8:e5
LocationID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
VolumeIDs:
- 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Expand Down Expand Up @@ -3003,14 +3000,6 @@ components:
serviceType: BMaaS
region: us-west-2
type: object
WWPNs:
description: FC HBA world wide port names
example:
- 20:31:01:02:ad:f2:a8:e5
- 21:31:01:02:ad:f2:a8:e5
items:
type: string
type: array
required:
- LocationID
- MachineSizeID
Expand Down
1 change: 0 additions & 1 deletion v1/pkg/client/docs/NewHost.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Name | Type | Description | Notes
**UserData** | **string** | User-provided data to be attached to the image configuration data. | [optional]
**NodeID** | **string** | User-provided data to represent the identity of the host within an application environment. For example, this could be set to represent the Kubernetes node ID if the host is provisioned as a Kubernetes node. | [optional]
**Labels** | **map[string]string** | The map of service/user specified label name to label value for this host. Setting service labels is restricted by role. | [optional]
**WWPNs** | **[]string** | FC HBA world wide port names | [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
2 changes: 0 additions & 2 deletions v1/pkg/client/model_new_host.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,4 @@ type NewHost struct {
NodeID string `json:"NodeID,omitempty"`
// The map of service/user specified label name to label value for this host. Setting service labels is restricted by role.
Labels map[string]string `json:"Labels,omitempty"`
// FC HBA world wide port names
WWPNs []string `json:"WWPNs,omitempty"`
}
Loading