Merge "GUI -- augmented hash parsing to include flags (after '?'), which are passed into view callbacks as a boolean map.  - moved event test files into sub directories  - prepared topo2.js for scenario choice via hash context and 'local' (and 'debug') flag.  - added 'simple' scenario: 2 switches, 1 link, and 2 hosts.  - augmented topo event dispatch for yet-to-be-implemented event handlers.  - implemented addHost() event handler."
diff --git a/web/gui/src/main/java/org/onlab/onos/gui/TopologyWebSocket.java b/web/gui/src/main/java/org/onlab/onos/gui/TopologyWebSocket.java
index 0dcf378..bcee363 100644
--- a/web/gui/src/main/java/org/onlab/onos/gui/TopologyWebSocket.java
+++ b/web/gui/src/main/java/org/onlab/onos/gui/TopologyWebSocket.java
@@ -352,6 +352,7 @@
     private ObjectNode linkMessage(LinkEvent event) {
         Link link = event.subject();
         ObjectNode payload = mapper.createObjectNode()
+                .put("id", compactLinkString(link))
                 .put("type", link.type().toString().toLowerCase())
                 .put("linkWidth", 2)
                 .put("src", link.src().deviceId().toString())