aboutsummaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/networkHttpservice.service.ts
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2018-11-15 16:04:44 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2018-11-15 16:04:48 +0800
commita915659e85864826ae33205d34ba9c1eb4cfe8c9 (patch)
treea3bacd3252ee42b07ddb4403f7e52946d1b6b6f8 /usecaseui-portal/src/app/networkHttpservice.service.ts
parent5efb94a84946a5ea254f0fa91cd6f149373bd046 (diff)
Support OTN Domain Management
Change-Id: I96cbe83fbe055b829a478a3e4bac951969b0b022 Issue-ID: USECASEUI-178 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/networkHttpservice.service.ts')
-rw-r--r--usecaseui-portal/src/app/networkHttpservice.service.ts10
1 files changed, 5 insertions, 5 deletions
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<any>(this.url["createNetwrok"]+paramsObj["network-resource"]["network-id"],paramsObj);
+ return this.http.put<any>(this.url["createNetwrok"]+paramsObj["network-id"],paramsObj);
}
//Create an external cloud pnf interface
createPnf(paramsObj){
- return this.http.put<any>(this.url["createPnf"]+paramsObj["pnf"]["pnf-name"],paramsObj);
+ return this.http.put<any>(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<any>(this.url["createTp"]+str,paramsObj);
}
//Create an external cloud link interface
createCloudLink(paramsObj){
- return this.http.put<any>(this.url["createCloudLink"]+paramsObj["logical-link"]["link-name"],paramsObj);
+ return this.http.put<any>(this.url["createCloudLink"]+paramsObj["link-name"],paramsObj);
}
//Create an external cloud host url interface
createCloudUrl(paramsObj){
- return this.http.put<any>(this.url["createCloudUrl"]+paramsObj["ext-aai-network"]["aai-id"],paramsObj);
+ return this.http.put<any>(this.url["createCloudUrl"]+paramsObj["aai-id"],paramsObj);
}
//Delete connection
deleteLink(paramsObj){