summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-03-20 21:18:06 +0800
committerHuang Haibin <haibin.huang@intel.com>2018-03-20 21:26:36 +0800
commit894c04333c03436c253ff5705d5957b1ba4c0783 (patch)
tree07ef5909d2725cffcd4ac402971338d729442303
parent34420e833e87398b49c3d309cebfc7b1ff7fc76b (diff)
Update local storage of HPA to AAI unit test
Change-Id: Ia919ffc1244c014109441b1fe938a9ac949dbc7f Issue-ID: MULTICLOUD-191 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
-rw-r--r--ocata/ocata/registration/tests/test_registration.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ocata/ocata/registration/tests/test_registration.py b/ocata/ocata/registration/tests/test_registration.py
index eb6e9f67..fcee2860 100644
--- a/ocata/ocata/registration/tests/test_registration.py
+++ b/ocata/ocata/registration/tests/test_registration.py
@@ -71,6 +71,12 @@ MOCK_GET_FLAVOR_RESPONSE = {
"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"
},
+ {
+ "id": "7", "name": "onap.local_storage", "vcpus": 2, "ram": "2MB",
+ "disk": "4096", "OS-FLV-EXT-DATA:ephemeral": "163840",
+ "swap": "8192", "os-flavor-access:is_public": True,
+ "OS-FLV-DISABLED:disabled": True,
+ },
]