vmm: api: Update CpuConfig name to match the internal name

All structures match between the OpenAPI definition and the internal
configuration code, that's why CpuConfig is being renamed into
CpusConfig.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2019-12-10 13:53:32 +01:00
committed by Rob Bradford
parent f7c215d92d
commit 5a72225856

View File

@@ -171,7 +171,7 @@ components:
type: object
properties:
cpus:
$ref: '#/components/schemas/CpuConfig'
$ref: '#/components/schemas/CpusConfig'
memory:
$ref: '#/components/schemas/MemoryConfig'
kernel:
@@ -221,7 +221,7 @@ components:
default: false
description: Virtual machine configuration
CpuConfig:
CpusConfig:
required:
- boot_vcpus
- max_vcpus