From 46cb3d57da8228dbce28351367935d551531bde5 Mon Sep 17 00:00:00 2001 From: Huang Haibin Date: Tue, 20 Mar 2018 15:40:13 +0800 Subject: update numa of HPA to support AAI schema unit test Change-Id: Ia6e39aa9be34f223c03af7c830c74a6ce3a06ca4 Issue-ID: MULTICLOUD-190 Signed-off-by: Huang Haibin --- ocata/ocata/registration/tests/test_registration.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ocata/ocata/registration/tests/test_registration.py b/ocata/ocata/registration/tests/test_registration.py index a766df5d..eb6e9f67 100644 --- a/ocata/ocata/registration/tests/test_registration.py +++ b/ocata/ocata/registration/tests/test_registration.py @@ -64,6 +64,14 @@ MOCK_GET_FLAVOR_RESPONSE = { "swap": False, "os-flavor-access:is_public": True, "OS-FLV-DISABLED:disabled": True, }, + { + "id": "6", "name": "onap.numa", "vcpus": 6, "ram": "6144MB", + "disk": "2G", "OS-FLV-EXT-DATA:ephemeral": True, + "swap": False, "os-flavor-access:is_public": True, + "OS-FLV-DISABLED:disabled": True, + "properties": "hw:numa_nodes=2, hw:numa_cpus.0=0,1, hw:numa_mem.0=2048, hw:numa_cpus.1=2,3,4,5 hw:numa_mem.1=4096" + }, + ] } -- cgit 1.2.3-korg