GUI -- Added updateDevice event handling.
- Display offline devices as grey.
- Tracing web socket messages (for now, in console; in future, to trace view).
- Captured sample events for use with test scenarios - both from and to the server.
- Added description to scenario file.
Change-Id: I7825b32d63496ebea2ab5789519fb0c6af6c5257
diff --git a/web/gui/src/main/webapp/json/ev/simple/ev_5_onos.json b/web/gui/src/main/webapp/json/ev/simple/ev_5_onos.json
index 17864a6..ac521c4 100644
--- a/web/gui/src/main/webapp/json/ev/simple/ev_5_onos.json
+++ b/web/gui/src/main/webapp/json/ev/simple/ev_5_onos.json
@@ -1,17 +1,15 @@
{
- "event": "addHost",
+ "event": "addLink",
"payload": {
- "id": "A6:96:E5:03:52:5F/-1",
- "ingress": "A6:96:E5:03:52:5F/-1/0-of:0000ffffffff0008/1",
- "egress": "of:0000ffffffff0008/1-A6:96:E5:03:52:5F/-1/0",
- "cp": {
- "device": "of:0000ffffffff0008",
- "port": 1
- },
- "labels": [
- "unknown",
- "A6:96:E5:03:52:5F"
- ],
- "props": {}
+ "id": "of:0000ffffffff0003/21-of:0000ffffffff0008/20",
+ "type": "direct",
+ "linkWidth": 2,
+ "src": "of:0000ffffffff0003",
+ "srcPort": "21",
+ "dst": "of:0000ffffffff0008",
+ "dstPort": "20",
+ "props" : {
+ "BW": "70 G"
+ }
}
}