From 3f7d4a5f09cc30a10970a65bd87ecd06c15097ee Mon Sep 17 00:00:00 2001 From: Huang Haibin Date: Tue, 20 Mar 2018 22:47:57 +0800 Subject: Update huge page of HPA to AAI unit test Change-Id: I89663794cf9ad913590441aaed1638801eee49b9 Issue-ID: MULTICLOUD-192 Signed-off-by: Huang Haibin --- ocata/ocata/registration/tests/test_registration.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ocata/ocata/registration/tests/test_registration.py b/ocata/ocata/registration/tests/test_registration.py index fcee2860..4af50c05 100644 --- a/ocata/ocata/registration/tests/test_registration.py +++ b/ocata/ocata/registration/tests/test_registration.py @@ -77,8 +77,13 @@ MOCK_GET_FLAVOR_RESPONSE = { "swap": "8192", "os-flavor-access:is_public": True, "OS-FLV-DISABLED:disabled": True, }, - - + { + "id": "8", "name": "onap.huge_page", "vcpus": 2, "ram": "2MB", + "disk": "2G", "OS-FLV-EXT-DATA:ephemeral": True, + "swap": False, "os-flavor-access:is_public": True, + "OS-FLV-DISABLED:disabled": True, + "properties": "hw:huge_page_size" + }, ] } -- cgit 1.2.3-korg