diff options
author | Huang Haibin <haibin.huang@intel.com> | 2018-03-20 15:40:13 +0800 |
---|---|---|
committer | Huang Haibin <haibin.huang@intel.com> | 2018-03-20 15:40:13 +0800 |
commit | 46cb3d57da8228dbce28351367935d551531bde5 (patch) | |
tree | 16673ca9f626876f38707f62de10464ff6c46ce2 /ocata | |
parent | aacc27236fa4c76ef4a31d513e8bec34ecdb9e3e (diff) |
update numa of HPA to support AAI schema unit test
Change-Id: Ia6e39aa9be34f223c03af7c830c74a6ce3a06ca4
Issue-ID: MULTICLOUD-190
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
Diffstat (limited to 'ocata')
-rw-r--r-- | ocata/ocata/registration/tests/test_registration.py | 8 |
1 files changed, 8 insertions, 0 deletions
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" + }, + ] } |