summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/core
diff options
context:
space:
mode:
authordecheng zhang <decheng.zhang@huawei.com>2022-05-10 10:55:51 -0400
committerdecheng zhang <decheng.zhang@huawei.com>2022-05-11 21:31:48 -0400
commita780c26ba0b6f831a93f2f05ae1c8479e61a6e26 (patch)
tree499643bb9a68a999357add44bc7e57fabe51b759 /usecaseui-portal/src/app/core
parentc08a485cc52dabbd7d05a086439ff740916246aa (diff)
fix: ccvpn topology display issue
- topology display - tunnel display - uni and inni coloring Issue-ID: REQ-1103 Signed-off-by: decheng zhang <decheng.zhang@huawei.com> Change-Id: Ib76836edf2c7c063ad4b76cde96fe8efb7540fdb Signed-off-by: decheng zhang <decheng.zhang@huawei.com>
Diffstat (limited to 'usecaseui-portal/src/app/core')
-rw-r--r--usecaseui-portal/src/app/core/services/networkHttpservice.service.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/core/services/networkHttpservice.service.ts b/usecaseui-portal/src/app/core/services/networkHttpservice.service.ts
index 77dbaffa..d558d489 100644
--- a/usecaseui-portal/src/app/core/services/networkHttpservice.service.ts
+++ b/usecaseui-portal/src/app/core/services/networkHttpservice.service.ts
@@ -43,7 +43,8 @@ export class networkHttpservice {
"deleteLink": this.baseUrl+"/uui-sotn/deleteLink/",
"getConnectivities": this.baseUrl+"/uui-sotn/getConnectivityInfo",
"getNetworkRoutes": this.baseUrl + "/uui-sotn/getNetworkRouteInfo",
- "getVpnBindings": this.baseUrl + "/uui-sotn/getVpnBindingInfo"
+ "getVpnBindings": this.baseUrl + "/uui-sotn/getVpnBindingInfo",
+ "getUnis": this.baseUrl + "/uui-sotn/getUniInfo"
};
//The following APIs function are optimizable------------------------
@@ -96,6 +97,10 @@ export class networkHttpservice {
return this.http.get<any>(this.url["getVpnBindings"]);
}
+ getUnisData(){
+ return this.http.get<any>(this.url["getUnis"]);
+ }
+
//Create an external cloud newwork interface
createNetwrok(paramsObj) {
return this.http.put<any>(this.url["createNetwrok"] + paramsObj["network-id"], paramsObj);