diff options
author | Stephen Finucane <sfinucan@redhat.com> | 2019-08-08 10:40:14 +0100 |
---|---|---|
committer | Stephen Finucane <sfinucan@redhat.com> | 2019-08-27 17:00:46 +0100 |
commit | b01676c41859a40568d81f846e25ff88818cc27d (patch) | |
tree | fab9d2138f8b36ac61b6f19a5641b77c78779c74 /api-guide | |
parent | 7abe83f6460b053985c45d5b7af2b0ed5b17b66a (diff) | |
download | nova-b01676c41859a40568d81f846e25ff88818cc27d.tar.gz |
Remove 'hw:cpu_policy', 'hw:mem_page_size' extra specs from API samples
In a future change, the use of 'hw:cpu_policy' will require a host to
report PCPU inventory. Rather than modify the fake driver used in these
tests to report such inventory, just use a different extra spec,
'hw:numa_nodes'. This has the added bonus of being supported by both the
libvirt and Hyper-V virt drivers, unlike 'hw:cpu_policy' and
'hw:mem_page_size', which are only supported by the libvirt virt driver.
Change-Id: Id203dc07f08557b1b094ec72e1df3493ec9524b1
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'api-guide')
-rw-r--r-- | api-guide/source/down_cells.rst | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/api-guide/source/down_cells.rst b/api-guide/source/down_cells.rst index c7bdb83f5d..d77ad27312 100644 --- a/api-guide/source/down_cells.rst +++ b/api-guide/source/down_cells.rst @@ -130,8 +130,7 @@ behavior are described below: "disk": 1, "ephemeral": 0, "extra_specs": { - "hw:cpu_policy": "dedicated", - "hw:mem_page_size": "2048" + "hw:numa_nodes": "1" }, "original_name": "m1.tiny.specs", "ram": 512, @@ -266,8 +265,7 @@ behavior are described below: "disk": 1, "ephemeral": 0, "extra_specs": { - "hw:cpu_policy": "dedicated", - "hw:mem_page_size": "2048" + "hw:numa_nodes": "1" }, "original_name": "m1.tiny.specs", "ram": 512, |