GUI - Added more events to 'links' scenario, so we can use it as a basis for testing showPath/showTraffic.

Change-Id: I6fa428931450930ba0e725443e211205b5c6af98
diff --git a/web/gui/src/main/webapp/json/ev/links/ev_18_onos.json b/web/gui/src/main/webapp/json/ev/links/ev_18_onos.json
new file mode 100644
index 0000000..aa40361
--- /dev/null
+++ b/web/gui/src/main/webapp/json/ev/links/ev_18_onos.json
@@ -0,0 +1,16 @@
+{
+  "event": "addLink",
+  "payload": {
+    "id": "of:0000ffffffff0003/10-of:0000ffffffff0007/20",
+    "type": "direct",
+    "online": true,
+    "linkWidth": 2,
+    "src": "of:0000ffffffff0003",
+    "srcPort": "10",
+    "dst": "of:0000ffffffff0007",
+    "dstPort": "20",
+    "props" : {
+      "BW": "90 Gb"
+    }
+  }
+}
diff --git a/web/gui/src/main/webapp/json/ev/links/ev_19_onos.json b/web/gui/src/main/webapp/json/ev/links/ev_19_onos.json
new file mode 100644
index 0000000..58772f7
--- /dev/null
+++ b/web/gui/src/main/webapp/json/ev/links/ev_19_onos.json
@@ -0,0 +1,16 @@
+{
+  "event": "addLink",
+  "payload": {
+    "id": "of:0000ffffffff0007/20-of:0000ffffffff0003/10",
+    "type": "direct",
+    "online": true,
+    "linkWidth": 2,
+    "src": "of:0000ffffffff0007",
+    "srcPort": "20",
+    "dst": "of:0000ffffffff0003",
+    "dstPort": "10",
+    "props" : {
+      "BW": "90 Gb"
+    }
+  }
+}
diff --git a/web/gui/src/main/webapp/json/ev/links/ev_20_onos.json b/web/gui/src/main/webapp/json/ev/links/ev_20_onos.json
new file mode 100644
index 0000000..19b5cd3
--- /dev/null
+++ b/web/gui/src/main/webapp/json/ev/links/ev_20_onos.json
@@ -0,0 +1,16 @@
+{
+  "event": "updateLink",
+  "payload": {
+    "id": "of:0000ffffffff0003/20-of:0000ffffffff0008/10",
+    "type": "direct",
+    "online": true,
+    "linkWidth": 2,
+    "src": "of:0000ffffffff0003",
+    "srcPort": "20",
+    "dst": "of:0000ffffffff0008",
+    "dstPort": "10",
+    "props" : {
+      "BW": "90 Gb"
+    }
+  }
+}
diff --git a/web/gui/src/main/webapp/json/ev/links/ev_21_onos.json b/web/gui/src/main/webapp/json/ev/links/ev_21_onos.json
new file mode 100644
index 0000000..342272c
--- /dev/null
+++ b/web/gui/src/main/webapp/json/ev/links/ev_21_onos.json
@@ -0,0 +1,16 @@
+{
+  "event": "updateLink",
+  "payload": {
+    "id": "of:0000ffffffff0008/10-of:0000ffffffff0003/20",
+    "type": "direct",
+    "online": true,
+    "linkWidth": 2,
+    "src": "of:0000ffffffff0008",
+    "srcPort": "10",
+    "dst": "of:0000ffffffff0003",
+    "dstPort": "20",
+    "props" : {
+      "BW": "90 Gb"
+    }
+  }
+}
diff --git a/web/gui/src/main/webapp/topo2.js b/web/gui/src/main/webapp/topo2.js
index f709aa7..e89d4bc 100644
--- a/web/gui/src/main/webapp/topo2.js
+++ b/web/gui/src/main/webapp/topo2.js
@@ -268,6 +268,7 @@
                 }
             } else {
                 testDebug('loaded: ' + frame.url);
+                wsTrace('test', JSON.stringify(data));
                 frame.cb(data);
             }
         });