api: Add response body schemas for migrations API

Change-Id: Iaf55e28b17e202fd1740a01032a3c1455a502910
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2024-11-26 16:59:07 +00:00
parent 407434154e
commit 5cb1396e44
5 changed files with 117 additions and 29 deletions
+4 -2
View File
@@ -4806,7 +4806,8 @@ migrate_dest_host:
type: string
migrate_dest_node:
description: |
The target node for a migration.
The target node for a migration. This will be ``null`` if pre-migration
checks fail due to e.g. insufficient resources.
in: body
required: true
type: string
@@ -4854,7 +4855,8 @@ migrate_source_compute:
type: string
migrate_source_node:
description: |
The source node for a migration.
The source node for a migration. This will be ``null`` if pre-migration
checks fail due to e.g. insufficient resources.
in: body
required: true
type: string