summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.ts
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2018-11-14 19:23:18 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2018-11-14 19:27:36 +0800
commit3f8fdca4a21906d77ab61d75ab162edf6e1448c4 (patch)
tree1a780457fd7472bb45b00876d23a8705d2da4815 /usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.ts
parenta79f49321ee56b66011f8daba0ecaee4d6b63670 (diff)
fix ns instance instantiation bug
Change-Id: I6cecb862aaaad7f6f1f3c7208b682942dd8df8c3 Issue-ID: USECASEUI-160 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.ts')
-rw-r--r--usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.ts8
1 files changed, 1 insertions, 7 deletions
diff --git a/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.ts b/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.ts
index 213df2b8..d45978ae 100644
--- a/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.ts
+++ b/usecaseui-portal/src/app/components/e2e-creation/e2e-creation.component.ts
@@ -188,15 +188,9 @@ export class E2eCreationComponent implements OnInit {
})
this.nsTemplateParameters.vnfs.forEach((vnf)=>{
let vnfparams = {
- vnfProfileId: vnf.vnf_id,
+ vnfProfileId: vnf.properties.id,
locationConstraints: {
vimid: vnf.value.id,
- accessinfo: {
- tenant: ""
- },
- accessInfo: {
- tenant: ""
- }
}
}
this.ns_service2.locationConstraints.push(vnfparams);