Added mechanism for apps to easily add their own custom link/node/host highlighting wihout having to create a new UI extensions
Change-Id: Iefa21d76190c60db79a4b07a8b22e301d29fe58e
diff --git a/web/gui/src/main/webapp/app/view/topo/topoTrafficNew.js b/web/gui/src/main/webapp/app/view/topo/topoTrafficNew.js
index 143aa30..2057f7b 100644
--- a/web/gui/src/main/webapp/app/view/topo/topoTrafficNew.js
+++ b/web/gui/src/main/webapp/app/view/topo/topoTrafficNew.js
@@ -109,9 +109,14 @@
tt: function () { return topoLion('tr_btn_monitor_sel_intent'); },
gid: 'm_intentTraffic',
},
+ C: {
+ cb: function () { tts.showCustomTraffic(); },
+ tt: function () { return topoLion('tr_btn_monitor_custom_all'); },
+ gid: 'm_allTraffic',
+ },
_keyOrder: [
- '0', 'A', 'F', 'V', 'leftArrow', 'rightArrow', 'W',
+ '0', 'A', 'F', 'V', 'leftArrow', 'rightArrow', 'W', 'C'
],
},