From 59f4dd40f81d7389b08630e17a9667c6831dfc4a Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Fri, 6 Sep 2019 17:31:42 -0400 Subject: [PATCH] api-ref: fix server topology "host_numa_node" field param name The actual parameter in the response of the API is "host_node" without "numa" in it so this fixes the docs to match the code and sample. Change-Id: Ie562d47e0fa7414bcdccf407b79e71e1aae8d708 Closes-Bug: #1843098 --- api-ref/source/parameters.yaml | 4 ++-- api-ref/source/server-topology.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index 46dddd243653..2a0858f09ab6 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -6406,11 +6406,11 @@ server_topology_nodes_cpu_siblings: in: body required: false type: list -server_topology_nodes_host_numa_node: +server_topology_nodes_host_node: description: | The host NUMA node the virtual NUMA node is map to. - By default the ``host_numa_node`` field is only visible to users with the + By default the ``host_node`` field is only visible to users with the administrator role. You can change the default behavior via the policy rule:: diff --git a/api-ref/source/server-topology.inc b/api-ref/source/server-topology.inc index 1f2da300d1b8..014f713fa040 100644 --- a/api-ref/source/server-topology.inc +++ b/api-ref/source/server-topology.inc @@ -42,7 +42,7 @@ not allow by policy, the corresponding key value will not exist in response. - nodes.vcpu_set: server_topology_nodes_vcpu_set - nodes.siblings: server_topology_nodes_cpu_siblings - nodes.memory_mb: server_topology_nodes_memory_mb - - nodes.host_numa_node: server_topology_nodes_host_numa_node + - nodes.host_node: server_topology_nodes_host_node - pagesize_kb: server_topology_pagesize_kb **Example Server topology (2.xx)**