summaryrefslogtreecommitdiffstats
path: root/ocata
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-03-20 22:47:57 +0800
committerHuang Haibin <haibin.huang@intel.com>2018-03-21 00:42:32 +0800
commit3f7d4a5f09cc30a10970a65bd87ecd06c15097ee (patch)
tree461f43315704375d174c440178752e3e12ffab48 /ocata
parent873eae4ad75d4464765843d5b41b2ef3205c3267 (diff)
Update huge page of HPA to AAI unit test
Change-Id: I89663794cf9ad913590441aaed1638801eee49b9 Issue-ID: MULTICLOUD-192 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
Diffstat (limited to 'ocata')
-rw-r--r--ocata/ocata/registration/tests/test_registration.py9
1 files 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"
+ },
]
}