From da277c583a2b9a311c4ba66c5856e501944e11d8 Mon Sep 17 00:00:00 2001 From: Ning Yao Date: Wed, 4 Sep 2019 11:56:35 +0800 Subject: [PATCH] fix properties' missing underline for VirtCPUTopology According to the docs: https://opendev.org/openstack/nova-specs/src/branch/master/specs/juno/implemented/virt-driver-vcpu-topology.rst, cpu_maxsockets, cpu_maxcores, cpu_maxthreads should be cpu_max_sockets, cpu_max_cores, cpu_max_threads. Change-Id: Ieecfb11928f74a504b35172a2c96d3a8cba057c0 Signed-off-by: Ning Yao --- etc/metadefs/compute-vcputopology.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/metadefs/compute-vcputopology.json b/etc/metadefs/compute-vcputopology.json index 88773f4b18..ff0537c463 100644 --- a/etc/metadefs/compute-vcputopology.json +++ b/etc/metadefs/compute-vcputopology.json @@ -35,17 +35,17 @@ "description": "Preferred number of threads to expose to the guest.", "type": "integer" }, - "cpu_maxsockets": { + "cpu_max_sockets": { "title": "Max vCPU Sockets", "description": "Maximum number of sockets to expose to the guest.", "type": "integer" }, - "cpu_maxcores": { + "cpu_max_cores": { "title": "Max vCPU Cores", "description": "Maximum number of cores to expose to the guest.", "type": "integer" }, - "cpu_maxthreads": { + "cpu_max_threads": { "title": "Max vCPU Threads", "description": "Maximum number of threads to expose to the guest.", "type": "integer"