From: Barath Kumar R Date: Thu, 17 Dec 2020 14:45:53 +0000 (+0530) Subject: Bug 1381 SDN controller details pop-up doesn't show some attributes X-Git-Tag: v9.1.0~4 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F78%2F10278%2F1;p=osm%2FNG-UI.git Bug 1381 SDN controller details pop-up doesn't show some attributes * Modified the UI to show the IP and port as URL Change-Id: Ia6aa9a86c736f96bd3c42bb25f28d0e77b092083 Signed-off-by: Barath Kumar R --- diff --git a/src/app/sdn-controller/sdn-controller-details/SDNControllerDetailsComponent.ts b/src/app/sdn-controller/sdn-controller-details/SDNControllerDetailsComponent.ts index 125d0f4..589f13e 100644 --- a/src/app/sdn-controller/sdn-controller-details/SDNControllerDetailsComponent.ts +++ b/src/app/sdn-controller/sdn-controller-details/SDNControllerDetailsComponent.ts @@ -172,8 +172,7 @@ export class SDNControllerDetailsComponent implements OnInit, OnDestroy { } } }, - ip: { title: this.translateService.instant('IP'), width: '15%' }, - port: { title: this.translateService.instant('PORT'), width: '15%' }, + url: { title: this.translateService.instant('URL'), width: '30%' }, Actions: { name: 'Action', width: '5%', filter: false, sort: false, type: 'custom', title: this.translateService.instant('ACTIONS'), @@ -201,8 +200,7 @@ export class SDNControllerDetailsComponent implements OnInit, OnDestroy { identifier: sdn._id, type: sdn.type, operationalState: sdn._admin.operationalState, - ip: sdn.ip, - port: sdn.port + url: sdn.url }; } diff --git a/src/app/sdn-controller/sdn-controller-info/SDNControllerInfoComponent.html b/src/app/sdn-controller/sdn-controller-info/SDNControllerInfoComponent.html index 28739cf..d89ad24 100644 --- a/src/app/sdn-controller/sdn-controller-info/SDNControllerInfoComponent.html +++ b/src/app/sdn-controller/sdn-controller-info/SDNControllerInfoComponent.html @@ -16,75 +16,111 @@ limitations under the License. Author: KUMARAN M (kumaran.m@tataelxsi.co.in), RAJESH S (rajesh.s@tataelxsi.co.in), BARATH KUMAR R (barath.r@tataelxsi.co.in) --> \ No newline at end of file diff --git a/src/models/SDNControllerModel.ts b/src/models/SDNControllerModel.ts index 2b5ab87..4aa0aed 100644 --- a/src/models/SDNControllerModel.ts +++ b/src/models/SDNControllerModel.ts @@ -22,16 +22,15 @@ /** Interface for SDNControllerModel */ export interface SDNControllerModel { dpid: string; - ip: string; name: string; password: string; - port: string; schema_version: string; 'type': string; user: string; version: string; _admin: ADMIN; _id: string; + url:string; } /** Interface for _ADMIN */ @@ -70,6 +69,5 @@ export interface SDNControllerList { identifier: string; 'type': string; operationalState: string; - ip: string; - port: string; + url: string; }