-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* US48754:Implement Host Reimage
- Loading branch information
Showing
11 changed files
with
336 additions
and
31 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 |
---|---|---|
|
@@ -11,6 +11,7 @@ enum: | |
- Connecting | ||
- Booting | ||
- Ready | ||
- Reimaging Prep | ||
- Replacing | ||
- Releasing | ||
- Allocating | ||
|
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
summary: Reimage a specific host | ||
post: | ||
tags: | ||
- hosts | ||
summary: Reimage Host by ID | ||
description: >- | ||
Re-deploys a host to the same machine. | ||
Only the Host OS is reinstalled, IP addresses, volumes, etc are not changed. | ||
The host must be powered off. The host must also be in the Ready state. | ||
operationId: reimage | ||
parameters: | ||
- name: hostId | ||
in: path | ||
description: ID of Host to reimage | ||
required: true | ||
schema: | ||
type: string | ||
responses: | ||
'200': | ||
description: success | ||
content: | ||
application/json: | ||
schema: | ||
$ref: ../components/schemas/Host.yaml | ||
'400': | ||
$ref: ../components/responses/InvalidContent.yaml | ||
'401': | ||
$ref: ../components/responses/Unauthorized.yaml | ||
'404': | ||
$ref: ../components/responses/NotFound.yaml | ||
'500': | ||
$ref: ../components/responses/InternalError.yaml |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.