Simon Hunt
Committed by Gerrit Code Review

Web UI: Delete obsolete sample event files.

Change-Id: Iff4fdca0377cae888d12fcf23f7c4309cb60cf4c
Showing 31 changed files with 0 additions and 580 deletions
{
"event": "addDevice",
"payload": {
"id": "of:0000000000000003",
"type": "switch",
"online": true,
"labels": [
"of:0000000000000003",
"3",
"",
null
],
"props": {
"latitude": 123.5,
"longitude": 67.8,
"anotherProp": "foobar"
}
}
}
{
"event": "addDevice",
"payload": {
"id": "of:0000000000000003",
"type": "switch",
"online": true,
"labels": [
"of:0000000000000003",
"3",
"",
null
],
"props": {
"latitude": 123.5,
"longitude": 67.8,
"anotherProp": "foobar"
},
"metaUi": {
"xpc": 57.3,
"ypc": 24.86,
"and": "other properties the UI wishes to remember..."
}
}
}
{
"event": "addDevice",
"payload": {
"id": "of:000000000000000a",
"type": "switch",
"online": true,
"master": "local",
"labels": [
"",
"NWOR",
"of:000000000000000a"
],
"props": {
"latitude": "29.951475",
"name": "NWOR",
"longitude": "-90.078434"
},
"location": {
"type": "latlng",
"lat": 29.951475,
"lng": -90.078434
}
}
}
{
"event": "addHost",
"payload": {
"id": "6A:40:24:F7:9C:2C/-1",
"ingress": "6A:40:24:F7:9C:2C/-1/0-of:0000000000000003/2",
"egress": "of:0000000000000003/2-6A:40:24:F7:9C:2C/-1/0",
"cp": {
"device": "of:0000000000000003",
"port": 2
},
"labels": [
"unknown",
"6A:40:24:F7:9C:2C"
],
"props": {}
}
}
{
"event": "addHost",
"payload": {
"id": "00:00:00:00:00:01/-1",
"type": "endstation",
"ingress": "00:00:00:00:00:01/-1/0-of:0000000000000001/1",
"egress": "of:0000000000000001/1-00:00:00:00:00:01/-1/0",
"cp": {
"device": "of:0000000000000001",
"port": 1
},
"labels": [
"10.0.0.1",
"00:00:00:00:00:01"
],
"props": {
"name": "CMBR",
"latitude": "44.37373",
"longitude": "-71.109734"
},
"location": {
"type": "latlng",
"lat": 44.37373,
"lng": -71.109734
}
}
}
{
"event": "addInstance",
"payload": {
"id": "local",
"ip": "127.0.0.1",
"online": true,
"uiAttached": true,
"switches": 25,
"labels": [
"local",
"127.0.0.1"
]
}
}
{
"event": "addLink",
"payload": {
"id": "of:0000000000000007/4-of:0000000000000006/1",
"type": "direct",
"online": true,
"linkWidth": 2,
"src": "of:0000000000000007",
"srcPort": "4",
"dst": "of:0000000000000006",
"dstPort": "1"
}
}
{
"__comments__": [
"fabricated event",
"not sure if this is the actual format",
"but we really only care about 'id' being in the payload"
],
"event": "removeDevice",
"payload": {
"id": "of:0000000000000002",
"type": "switch",
"online": true,
"labels": [
"of:0000000000000002",
"2",
"",
null
],
"props": {}
}
}
{
"__comments__": [
"fabricated event",
"not sure if this is the actual format",
"but we really only care about 'id' being in the payload"
],
"event": "removeHost",
"payload": {
"id": "6A:40:24:F7:9C:2C/-1",
"ingress": "6A:40:24:F7:9C:2C/-1/0-of:0000000000000003/2",
"egress": "of:0000000000000003/2-6A:40:24:F7:9C:2C/-1/0",
"cp": {
"device": "of:0000000000000003",
"port": 2
},
"labels": [
"unknown",
"6A:40:24:F7:9C:2C"
],
"props": {}
}
}
{
"event": "removeInstance",
"payload": {
"id": "onos-1",
"online": "false"
}
}
{
"event": "removeLink",
"payload": {
"id": "of:0000000000000001/1-of:0000000000000002/4",
"type": "direct",
"linkWidth": 2,
"src": "of:0000000000000001",
"srcPort": "1",
"dst": "of:0000000000000002",
"dstPort": "4"
}
}
{
"event": "showDetails",
"sid": 9,
"payload": {
"id": "CA:4B:EE:A4:B0:33/-1",
"type": "host",
"propOrder": [
"MAC",
"IP",
"-",
"Latitude",
"Longitude"
],
"props": {
"MAC": "CA:4B:EE:A4:B0:33",
"IP": "[10.0.0.1]",
"-": "",
"Latitude": null,
"Longitude": null
}
}
}
{
"event": "showDetails",
"sid": 37,
"payload": {
"id": "of:000000000000000a",
"type": "switch",
"propOrder": [
"Name",
"Vendor",
"H/W Version",
"S/W Version",
"Serial Number",
"-",
"Latitude",
"Longitude",
"Ports",
"-",
"Master"
],
"props": {
"Name": null,
"Vendor": "Nicira, Inc.",
"H/W Version": "Open vSwitch",
"S/W Version": "2.0.1",
"Serial Number": "None",
"-": "",
"Latitude": null,
"Longitude": null,
"Ports": "5",
"Master":"local"
}
}
}
{
"event": "showSummary",
"sid": 1,
"payload": {
"id": "ONOS Summary",
"type": "node",
"propOrder": [
"Devices",
"Links",
"Hosts",
"Topology SCCs",
"Paths",
"-",
"Intents",
"Flows",
"Version"
],
"props": {
"Devices": "25",
"Links": "112",
"Hosts": "25",
"Topology SCCs": "1",
"Paths": "1,272",
"-": "",
"Intents": "0",
"Flows": "0",
"Version": "1.0.0*"
}
}
}
{
"event": "showTraffic",
"sid":63,
"payload": {
"paths": [
{
"class": "primary",
"traffic": false,
"links": [
"1E:10:D9:A2:84:E2/-1/0-of:0000000000000003/1",
"of:0000000000000003/4-of:0000000000000002/1",
"of:0000000000000002/4-of:0000000000000001/1",
"of:0000000000000001/2-of:0000000000000006/4",
"of:0000000000000006/2-of:0000000000000008/4",
"of:0000000000000008/3-9E:0B:E0:38:98:DE/-1/0"
],
"labels": [
"",
"",
"",
"",
"",
""
]
},
{
"class": "primary",
"traffic": false,
"links": [
"9E:0B:E0:38:98:DE/-1/0-of:0000000000000008/3",
"of:0000000000000008/4-of:0000000000000006/2",
"of:0000000000000006/4-of:0000000000000001/2",
"of:0000000000000001/1-of:0000000000000002/4",
"of:0000000000000002/1-of:0000000000000003/4",
"of:0000000000000003/1-1E:10:D9:A2:84:E2/-1/0"
],
"labels": [
"",
"",
"",
"",
"",
""
]
}
]
}
}
{
"event": "showTraffic",
"sid": 227,
"payload": {
"paths": [
{
"class": "primary animated",
"traffic": true,
"links": [
"02:D7:91:9F:4B:E8/-1/0-of:0000000000000004/1",
"of:0000000000000004/4-of:0000000000000002/2",
"of:0000000000000002/4-of:0000000000000001/1",
"of:0000000000000001/2-of:0000000000000006/4",
"of:0000000000000006/2-of:0000000000000008/4",
"of:0000000000000008/3-9E:0B:E0:38:98:DE/-1/0"
],
"labels": [
"",
"Load{rate=98, latest=37898}",
"",
"",
"",
"Load{rate=98, latest=38080}"
]
},
{
"class": "primary animated",
"traffic": true,
"links": [
"9E:0B:E0:38:98:DE/-1/0-of:0000000000000008/3",
"of:0000000000000008/4-of:0000000000000006/2",
"of:0000000000000006/4-of:0000000000000001/2",
"of:0000000000000001/1-of:0000000000000002/4",
"of:0000000000000002/2-of:0000000000000004/4",
"of:0000000000000004/1-02:D7:91:9F:4B:E8/-1/0"
],
"labels": [
"",
"",
"Load{rate=98, latest=38178}",
"",
"Load{rate=98, latest=37898}",
"Load{rate=98, latest=37898}"
]
},
{
"class": "primary animated",
"traffic": true,
"links": [
"1E:10:D9:A2:84:E2/-1/0-of:0000000000000003/1",
"of:0000000000000003/4-of:0000000000000002/1",
"of:0000000000000002/4-of:0000000000000001/1",
"of:0000000000000001/2-of:0000000000000006/4",
"of:0000000000000006/2-of:0000000000000008/4",
"of:0000000000000008/3-9E:0B:E0:38:98:DE/-1/0"
],
"labels": [
"",
"",
"",
"",
"",
"Load{rate=98, latest=38080}"
]
},
{
"class": "primary animated",
"traffic": true,
"links": [
"9E:0B:E0:38:98:DE/-1/0-of:0000000000000008/3",
"of:0000000000000008/4-of:0000000000000006/2",
"of:0000000000000006/4-of:0000000000000001/2",
"of:0000000000000001/1-of:0000000000000002/4",
"of:0000000000000002/1-of:0000000000000003/4",
"of:0000000000000003/1-1E:10:D9:A2:84:E2/-1/0"
],
"labels": [
"",
"",
"Load{rate=98, latest=38178}",
"",
"",
""
]
}
]
}
}
{
"event": "showTraffic",
"sid": 11,
"payload": {
"paths": []
}
}
{
"event": "updateDevice",
"payload": {
"id": "of:0000000000000002",
"type": "switch",
"online": true,
"labels": [
"of:0000000000000002",
"2",
"",
null
],
"props": {}
}
}
{
"event": "updateDevice",
"payload": {
"id": "of:0000000000000002",
"type": "switch",
"online": false,
"labels": [
"of:0000000000000002",
"2",
"",
null
],
"props": {}
}
}
{
"event": "updateHost",
"payload": {
"id": "AA:C2:74:3F:B8:06/-1",
"ingress": "AA:C2:74:3F:B8:06/-1/0-of:0000000000000005/3",
"egress": "of:0000000000000005/3-AA:C2:74:3F:B8:06/-1/0",
"cp": {
"device": "of:0000000000000005",
"port": 3
},
"labels": [
"10.0.0.9",
"AA:C2:74:3F:B8:06"
],
"props":{}
}
}
{
"event": "updateInstance",
"payload": {
"id": "onos-1",
"online": "false"
}
}
{
"event": "updateLink",
"payload": {
"id": "of:0000000000000002/4-of:0000000000000001/1",
"type": "direct",
"linkWidth": 2,
"src": "of:0000000000000002",
"srcPort": "4",
"dst": "of:0000000000000001",
"dstPort": "1"
}
}
{
"event": "cancelSummary",
"sid": 2,
"payload": {}
}
{
"event": "requestDetails",
"sid": 15,
"payload": {
"id": "of:0000000000000003",
"class": "device"
}
}
{
"event": "requestDetails",
"sid": 9,
"payload": {
"id": "CA:4B:EE:A4:B0:33/-1",
"class": "host"
}
}
{
"event": "requestSummary",
"sid": 1,
"payload": {}
}
{
"event": "requestTraffic",
"sid": 6,
"payload": {
"ids": [
"of:0000000000000007",
"of:000000000000000c",
"of:000000000000000a"
],
"hover": ""
}
}
{
"event": "requestTraffic",
"sid": 12,
"payload": {
"ids": [
"86:C3:7B:90:79:CD/-1",
"22:BA:28:81:FD:45/-1",
"BA:91:F6:8E:B6:B6/-1",
"06:E2:E6:F7:03:12/-1"
],
"hover": ""
}
}
{
"event": "requestTraffic",
"sid": 18,
"payload": {
"ids": [
"of:0000000000000001",
"86:C3:7B:90:79:CD/-1",
"7E:D2:EE:0F:12:4A/-1",
"of:000000000000000c"
],
"hover": ""
}
}
{
"event": "requestTraffic",
"sid": 48,
"payload": {
"ids": [],
"hover": "9E:0B:E0:38:98:DE/-1"
}
}
{
"event": "updateMeta",
"sid": 11,
"payload": {
"id": "62:4F:65:BF:FF:B3/-1",
"class": "host",
"memento": {
"xpc": 57.3,
"ypc": 24.86,
"and": "other properties the UI wishes to remember..."
}
}
}