diff options
Diffstat (limited to 'usecaseui-portal/src/app/core/services')
-rw-r--r-- | usecaseui-portal/src/app/core/services/networkHttpservice.service.ts | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/usecaseui-portal/src/app/core/services/networkHttpservice.service.ts b/usecaseui-portal/src/app/core/services/networkHttpservice.service.ts index 0e16966a..77dbaffa 100644 --- a/usecaseui-portal/src/app/core/services/networkHttpservice.service.ts +++ b/usecaseui-portal/src/app/core/services/networkHttpservice.service.ts @@ -28,7 +28,7 @@ export class networkHttpservice { url = { "getNetworkD3Data": this.baseUrl+"/uui-sotn/getNetWorkResources", "getLogicalLinksData": this.baseUrl+"/uui-sotn/getLogicalLinks", - "getPnfsData": this.baseUrl+"/uui-sotn/getPnfs", + "getPnfsData": this.baseUrl+"/uui-sotn/getPnfInfo", "deleteCloud": this.baseUrl+"/uui-sotn/deleteExtNetWork", "getPInterfacesData": this.baseUrl+"/uui-sotn/getPinterfaceByPnfName/", "createLink": this.baseUrl+"/uui-sotn/createLink/", @@ -41,10 +41,9 @@ export class networkHttpservice { "createCloudLink": this.baseUrl+"/uui-sotn/createLink/", "createCloudUrl": this.baseUrl+"/uui-sotn/createHostUrl/", "deleteLink": this.baseUrl+"/uui-sotn/deleteLink/", - "getConnectivities": this.baseUrl+"/uui-sotn/getConnectivities", - "getNetworkRoutes": this.baseUrl + "/uui-sotn/getNetworkRoutes", - - + "getConnectivities": this.baseUrl+"/uui-sotn/getConnectivityInfo", + "getNetworkRoutes": this.baseUrl + "/uui-sotn/getNetworkRouteInfo", + "getVpnBindings": this.baseUrl + "/uui-sotn/getVpnBindingInfo" }; //The following APIs function are optimizable------------------------ @@ -93,6 +92,10 @@ export class networkHttpservice { return this.http.get<any>(this.url["getNetworkRoutes"]); } + getVpnBindingsData(){ + return this.http.get<any>(this.url["getVpnBindings"]); + } + //Create an external cloud newwork interface createNetwrok(paramsObj) { return this.http.put<any>(this.url["createNetwrok"] + paramsObj["network-id"], paramsObj); |