Simon Hunt

GUI -- added topo test scenario skeleton for showHighlights.

Change-Id: Ie2cf901bc37343618563b38b3825b03a4c0db668
{
"event": "addInstance",
"payload": {
"id": "ONOS",
"ip": "192.168.56.101",
"online": true,
"uiAttached": true,
"switches": 2,
"labels": [
"ONOS",
"192.168.56.101"
]
}
}
{
"event": "addDevice",
"payload": {
"id": "of:0000000000000001",
"type": "switch",
"online": true,
"master": "ONOS",
"labels": [
"",
"switch-1",
"of:0000000000000001"
],
"metaUi": {
"x": 200,
"y": 200
}
}
}
{
"event": "addDevice",
"payload": {
"id": "of:0000000000000002",
"type": "switch",
"online": true,
"master": "ONOS",
"labels": [
"",
"switch-2",
"of:0000000000000002"
],
"metaUi": {
"x": 400,
"y": 220
}
}
}
{
"event": "addLink",
"payload": {
"id": "of:0000000000000001/5-of:0000000000000002/7",
"type": "direct",
"online": true,
"linkWidth": 2,
"src": "of:0000000000000001",
"srcPort": "5",
"dst": "of:0000000000000002",
"dstPort": "7",
"props" : {
"BW": "70 Gb"
}
}
}
{
"event": "showHighlights",
"payload": {
"devices": [],
"hosts": [],
"links": []
}
}
{
"event": "showHighlights",
"payload": {
"devices": [],
"hosts": [],
"links": [
{
"css": "primary",
"id": "of:0000000000000001/5-of:0000000000000002/7",
"label": "Antz!"
}
]
}
}
{
"event": "showHighlights",
"payload": {
"devices": [],
"hosts": [],
"links": []
}
}
{
"comments": [
"Demo of adding badges to devices"
],
"title": "Demo adding badges",
"params": {
"lastAuto": 5
},
"description": [
"Demonstrate the device badging feature."
]
}
{
"comments": [
"Stepping through showTraffic"
"Stepping through showTraffic",
"NOTE: showTraffic event is deprecated",
" This needs to be re-worked to use showHighlights"
],
"title": "Show Traffic Scenario",
"params": {
......