summaryrefslogtreecommitdiffstats
path: root/lifecyclemgr
diff options
context:
space:
mode:
authorLuji7 <lu.ji3@zte.com.cn>2017-04-27 20:48:05 +0800
committerLuji7 <lu.ji3@zte.com.cn>2017-04-27 20:48:15 +0800
commit7dae73cc54f435f4644a255eb3cb70c67109b852 (patch)
treea181926b21f003d23f751d434a15058ccdb6a162 /lifecyclemgr
parente017b3d52f52f0509dfd8d85c140145ba09386e2 (diff)
vlinfo field parse wrong
Issue-id: CLIENT-206 Change-Id: Idcbcab47bb0b7d340227ed45390cd2448ad9cb9d Signed-off-by: Luji7 <lu.ji3@zte.com.cn>
Diffstat (limited to 'lifecyclemgr')
-rw-r--r--lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js b/lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js
index 138c6edf..3913fa02 100644
--- a/lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js
+++ b/lifecyclemgr/src/main/webapp/lifecyclemgr/js/app.js
@@ -831,9 +831,12 @@ var app = angular.module("lcApp", ["ui.router", "ngTable"])/*, 'ui.bootstrap', '
}
function fetchDataForVl(jsonData) {
- var header = ["Network Resource Name","Link Port Resource Name"];
+ var header = ["Virtual Link Instance Name","Related CP List"];
var rowData = jsonData.vlInfo.map(function (vl) {
- return {"values": [vl.networkResource.resourceName, vl.linkPortResource.resourceName]}
+ return {"values": [vl.vlInstanceName, vl.relatedCpInstanceId.map(
+ function (cp) {
+ return cp.cpInstanceName;
+ }).join(', ')]}
});
return {"itemHeader": header,"rowitem": rowData,"striped": false,"border": true,"hover": true,"condensed": false,"filter": false,"action": "","searchField": ""}
}