Thomas Vachuska

Adding "id" to the link messages to the GUI.

Change-Id: I4ce4b7e4a643307cb05ead6c544a8531d516af4e
......@@ -352,6 +352,7 @@ public class TopologyWebSocket implements WebSocket.OnTextMessage {
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())
......