commit | f4a2cc76b406e64ff70f766211f9d98cf69bf5da | [log] [tgz] |
---|---|---|
author | Priyanka B <priyanka.b@huawei.com> | Fri Jun 10 21:07:57 2016 +0530 |
committer | Gerrit Code Review <gerrit@onlab.us> | Sat Jun 11 07:58:59 2016 +0000 |
tree | 2ec49fde5fb45f94601ef6175204632030867280 | |
parent | af919fd06f7d10dc4edeb9d7e9a0591cf7653055 [diff] [blame] |
[ONOS] Cherry picked from master 1.7 till june 10 Change-Id: Ide60fa5f6bd61fdfbc6ae050b78603cd5f1c78d9
diff --git a/apps/pce/pceweb/src/main/resources/app/view/pcewebTopov/pcewebTopovOverlay.js b/apps/pce/pceweb/src/main/resources/app/view/pcewebTopov/pcewebTopovOverlay.js index 4ad40a0..72dd1ef 100644 --- a/apps/pce/pceweb/src/main/resources/app/view/pcewebTopov/pcewebTopovOverlay.js +++ b/apps/pce/pceweb/src/main/resources/app/view/pcewebTopov/pcewebTopovOverlay.js
@@ -168,6 +168,29 @@ }, multi: function (selectOrder) { selectionCallback(selectOrder); + }, + modifylinkdata: function (data, extra) { + $log.debug("Modify link data", data, extra); + + function sep() { + data.propOrder.push('-'); + } + + function add(key) { + var val = extra[key]; + if (val !== undefined) { + data.propOrder.push(key); + data.props[key] = val; + } + } + + sep(); + add('Src port'); + add('Dst port'); + add('Te metric'); + add('Bandwidth'); + + return data; } } };