summaryrefslogtreecommitdiffstats
path: root/lcm/lcm/nf/tests/test_instantiate_vnf.py
diff options
context:
space:
mode:
authorFu Jinhua <fu.jinhua@zte.com.cn>2018-09-11 00:25:48 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-11 00:25:48 +0000
commit50ad0c42077b5ce1393396b2a3f376a961872124 (patch)
tree5a619a0d0a8acc5de32b98fa8fcc21d821e3652e /lcm/lcm/nf/tests/test_instantiate_vnf.py
parentb7e6459cede4ad0b9320c240f920aebb5e06c270 (diff)
parent8201d92a453fb182b8fd8c7a35489001a368629d (diff)
Merge "Extrat data from gvnfmdriver to vnflcm"
Diffstat (limited to 'lcm/lcm/nf/tests/test_instantiate_vnf.py')
-rw-r--r--lcm/lcm/nf/tests/test_instantiate_vnf.py22
1 files changed, 20 insertions, 2 deletions
diff --git a/lcm/lcm/nf/tests/test_instantiate_vnf.py b/lcm/lcm/nf/tests/test_instantiate_vnf.py
index 5801cb90..e698c4db 100644
--- a/lcm/lcm/nf/tests/test_instantiate_vnf.py
+++ b/lcm/lcm/nf/tests/test_instantiate_vnf.py
@@ -35,8 +35,26 @@ class TestNFInstantiate(TestCase):
def setUp(self):
self.client = APIClient()
self.grant_result = {
- "vimid": 'vim_1',
- "tenant": 'chinamobile',
+ "vimConnections": [
+ {
+ "vimid": 'vim_1',
+ "accessInfo":
+ {
+ "tenant": 'chinamobile'
+ }
+ },
+ ],
+ "vnfId": "413aa1fe-b4d1-11e8-8268-dff5aab95c63",
+ "vimAssets":
+ {
+ "vimComputeResourceFlavour": [
+ {
+ "resourceProviderId": "vgw",
+ "vimFlavourId": "yui",
+ "directive": ""
+ },
+ ]
+ }
}
def tearDown(self):