diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2019-04-26 09:42:36 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2019-04-26 09:42:36 +0800 |
commit | 1283252ce02831a698e9de1eca028149ffcaa024 (patch) | |
tree | c5ee7348275f64478d8fc145292bb0f324e2e90d /lcm/lcm/nf/tests/const.py | |
parent | 2a92056428d907cae12eed48d64a98f4a870316a (diff) |
Refactor codes for inst vnf ut
Change-Id: I1d6e421bbffff0819e59bafc4a4961a151eb793c
Issue-ID: VFC-1306
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'lcm/lcm/nf/tests/const.py')
-rw-r--r-- | lcm/lcm/nf/tests/const.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lcm/lcm/nf/tests/const.py b/lcm/lcm/nf/tests/const.py index 38d251e0..3eec3e20 100644 --- a/lcm/lcm/nf/tests/const.py +++ b/lcm/lcm/nf/tests/const.py @@ -13,6 +13,30 @@ # limitations under the License. import json +instantiate_grant_result = { + "vimConnections": [ + { + "vimid": 'vim_1', + "accessInfo": + { + "tenant": 'chinamobile' + } + }, + ], + "vnfId": "413aa1fe-b4d1-11e8-8268-dff5aab95c63", + "vimAssets": + { + "computeResourceFlavours": [ + { + "resourceProviderId": "vgw", + "vimFlavourId": "yui", + "vimConnectionId": "" + }, + ] + } +} + + inst_req_data = { "flavourId": "flavour_1", "instantiationLevelId": "instantiationLevel_1", |