From 2d4fae600d677e4956bde588cdc2ef67145a197e Mon Sep 17 00:00:00 2001 From: Ron Saito Date: Tue, 28 May 2024 08:40:08 -0600 Subject: [PATCH 1/7] US64662:Implement host changes so volume attach is after imaging (#114) * add and remove substates per quake changes in US64662 --- v1/api/swagger/components/schemas/HostState.yaml | 3 +++ v1/api/swagger/components/schemas/HostSubstate.yaml | 6 +++--- v1/html/index.html | 2 +- v1/pkg/client/api/openapi.yaml | 9 ++++++--- v1/pkg/client/model_host_state.go | 3 +++ v1/pkg/client/model_host_substate.go | 6 +++--- 6 files changed, 19 insertions(+), 10 deletions(-) diff --git a/v1/api/swagger/components/schemas/HostState.yaml b/v1/api/swagger/components/schemas/HostState.yaml index e544a4c5..5fabe109 100644 --- a/v1/api/swagger/components/schemas/HostState.yaml +++ b/v1/api/swagger/components/schemas/HostState.yaml @@ -1,5 +1,6 @@ type: string enum: + - '' - New - Deleting - Deleted @@ -16,5 +17,7 @@ enum: - Releasing - Allocating - Maintenance + - Attaching + - Detaching description: Overall host state example: Ready diff --git a/v1/api/swagger/components/schemas/HostSubstate.yaml b/v1/api/swagger/components/schemas/HostSubstate.yaml index 6acd6649..27f46a67 100644 --- a/v1/api/swagger/components/schemas/HostSubstate.yaml +++ b/v1/api/swagger/components/schemas/HostSubstate.yaml @@ -4,7 +4,7 @@ enum: - '' - Abort Deploy - Allocate - - Attaching Volumes + - Attach Volumes - Boot Service-OS - Clear Log - Complete @@ -13,16 +13,16 @@ enum: - Connect Provisioning - DNS Add - DNS Add Init + - DNS Delete Init - DNS Delete - Deploy - Detach Volumes - - Error Recovery - - Fail Cleanup - Failed - In Maintenance - In OS Prep - Init - Init Attach Volumes + - Init Detach Volumes - Init Maintenance - Init OS Prep - Init Off diff --git a/v1/html/index.html b/v1/html/index.html index 53e759e0..59f646d1 100644 --- a/v1/html/index.html +++ b/v1/html/index.html @@ -2924,7 +2924,7 @@

Option 2: Getting the token directly from UI

Response samples

Content type
application/json
{
  • "message": "string",
  • "details": "string"
}