Simon Hunt

GUI - Added more events to 'links' scenario, so we can use it as a basis for tes…

…ting showPath/showTraffic.

Change-Id: I6fa428931450930ba0e725443e211205b5c6af98
{
"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"
}
}
}
{
"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"
}
}
}
{
"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"
}
}
}
{
"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"
}
}
}
......@@ -268,6 +268,7 @@
}
} else {
testDebug('loaded: ' + frame.url);
wsTrace('test', JSON.stringify(data));
frame.cb(data);
}
});
......