summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2018-03-20 14:32:34 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-20 14:32:34 +0000
commite4e359ac6c27623f83d3f09121f9b47a2391f47b (patch)
tree4884ac00eda2e4c9a5a61736d47abdd568be34ad
parentbbfb70d39ea3a2dad2e89aad64714b7cb6819147 (diff)
parent3f7d4a5f09cc30a10970a65bd87ecd06c15097ee (diff)
Merge "Update huge page of HPA to AAI unit test"
-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"
+ },
]
}