GUI -- TopoView - capture source and target port numbers on link models.
- "traffic" scenario: made all port numbers unique.

Change-Id: I98f0153e2523d0ad451f92ee1e63e9c12f8428d7
diff --git a/web/gui/src/main/webapp/app/view/topo/topoModel.js b/web/gui/src/main/webapp/app/view/topo/topoModel.js
index f7f53a0..0a75652 100644
--- a/web/gui/src/main/webapp/app/view/topo/topoModel.js
+++ b/web/gui/src/main/webapp/app/view/topo/topoModel.js
@@ -158,6 +158,8 @@
         angular.extend(lnk, {
             key: id,
             class: 'link',
+            // NOTE: srcPort left undefined (host end of the link)
+            tgtPort: host.cp.port,
 
             type: function () { return 'hostLink'; },
             online: function () {
@@ -180,6 +182,8 @@
             key: link.id,
             class: 'link',
             fromSource: link,
+            srcPort: link.srcPort,
+            tgtPort: link.dstPort,
 
             // functions to aggregate dual link state
             type: function () {
@@ -218,7 +222,7 @@
         }
         return {
             source: srcNode,
-            target: dstNode,
+            target: dstNode
         };
     }