From a915659e85864826ae33205d34ba9c1eb4cfe8c9 Mon Sep 17 00:00:00 2001 From: guochuyicmri Date: Thu, 15 Nov 2018 16:04:44 +0800 Subject: Support OTN Domain Management Change-Id: I96cbe83fbe055b829a478a3e4bac951969b0b022 Issue-ID: USECASEUI-178 Signed-off-by: guochuyicmri --- usecaseui-portal/src/app/networkHttpservice.service.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'usecaseui-portal/src/app') diff --git a/usecaseui-portal/src/app/networkHttpservice.service.ts b/usecaseui-portal/src/app/networkHttpservice.service.ts index 74e52c5a..652172fa 100644 --- a/usecaseui-portal/src/app/networkHttpservice.service.ts +++ b/usecaseui-portal/src/app/networkHttpservice.service.ts @@ -90,24 +90,24 @@ export class networkHttpservice { } //Create an external cloud newwork interface createNetwrok(paramsObj){ - return this.http.put(this.url["createNetwrok"]+paramsObj["network-resource"]["network-id"],paramsObj); + return this.http.put(this.url["createNetwrok"]+paramsObj["network-id"],paramsObj); } //Create an external cloud pnf interface createPnf(paramsObj){ - return this.http.put(this.url["createPnf"]+paramsObj["pnf"]["pnf-name"],paramsObj); + return this.http.put(this.url["createPnf"]+paramsObj["pnf-name"],paramsObj); } //Create an external cloud Tp interface createTp(paramsObj,cloudNodeName){ - let str=cloudNodeName+"/p-interfaces/p-interface/"+paramsObj["p-interface"]["interface-name"]+"/createTerminationPoint"; + let str=cloudNodeName+"/p-interfaces/p-interface/"+paramsObj["interface-name"]+"/createTerminationPoint"; return this.http.put(this.url["createTp"]+str,paramsObj); } //Create an external cloud link interface createCloudLink(paramsObj){ - return this.http.put(this.url["createCloudLink"]+paramsObj["logical-link"]["link-name"],paramsObj); + return this.http.put(this.url["createCloudLink"]+paramsObj["link-name"],paramsObj); } //Create an external cloud host url interface createCloudUrl(paramsObj){ - return this.http.put(this.url["createCloudUrl"]+paramsObj["ext-aai-network"]["aai-id"],paramsObj); + return this.http.put(this.url["createCloudUrl"]+paramsObj["aai-id"],paramsObj); } //Delete connection deleteLink(paramsObj){ -- cgit 1.2.3-korg