openapi: Add PlatformConfig to OpenAPI spec

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2022-02-11 09:43:12 +00:00
parent 20b9f95afd
commit 57184f110a

View File

@ -510,6 +510,8 @@ components:
watchdog:
type: boolean
default: false
platform:
$ref: '#/components/schemas/PlatformConfig'
description: Virtual machine configuration
CpuAffinity:
@ -557,6 +559,18 @@ components:
items:
$ref: '#/components/schemas/CpuAffinity'
PlatformConfig:
type: object
properties:
num_pci_segments:
type: integer
format: int16
iommu_segments:
type: array
items:
type: integer
format: int16
MemoryZoneConfig:
required:
- id