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
| 1 | -{ | ||
| 2 | - "event": "addDevice", | ||
| 3 | - "payload": { | ||
| 4 | - "id": "of:0000000000000003", | ||
| 5 | - "type": "switch", | ||
| 6 | - "online": true, | ||
| 7 | - "labels": [ | ||
| 8 | - "of:0000000000000003", | ||
| 9 | - "3", | ||
| 10 | - "", | ||
| 11 | - null | ||
| 12 | - ], | ||
| 13 | - "props": { | ||
| 14 | - "latitude": 123.5, | ||
| 15 | - "longitude": 67.8, | ||
| 16 | - "anotherProp": "foobar" | ||
| 17 | - } | ||
| 18 | - } | ||
| 19 | -} |
| 1 | -{ | ||
| 2 | - "event": "addDevice", | ||
| 3 | - "payload": { | ||
| 4 | - "id": "of:0000000000000003", | ||
| 5 | - "type": "switch", | ||
| 6 | - "online": true, | ||
| 7 | - "labels": [ | ||
| 8 | - "of:0000000000000003", | ||
| 9 | - "3", | ||
| 10 | - "", | ||
| 11 | - null | ||
| 12 | - ], | ||
| 13 | - "props": { | ||
| 14 | - "latitude": 123.5, | ||
| 15 | - "longitude": 67.8, | ||
| 16 | - "anotherProp": "foobar" | ||
| 17 | - }, | ||
| 18 | - "metaUi": { | ||
| 19 | - "xpc": 57.3, | ||
| 20 | - "ypc": 24.86, | ||
| 21 | - "and": "other properties the UI wishes to remember..." | ||
| 22 | - } | ||
| 23 | - } | ||
| 24 | -} |
| 1 | -{ | ||
| 2 | - "event": "addDevice", | ||
| 3 | - "payload": { | ||
| 4 | - "id": "of:000000000000000a", | ||
| 5 | - "type": "switch", | ||
| 6 | - "online": true, | ||
| 7 | - "master": "local", | ||
| 8 | - "labels": [ | ||
| 9 | - "", | ||
| 10 | - "NWOR", | ||
| 11 | - "of:000000000000000a" | ||
| 12 | - ], | ||
| 13 | - "props": { | ||
| 14 | - "latitude": "29.951475", | ||
| 15 | - "name": "NWOR", | ||
| 16 | - "longitude": "-90.078434" | ||
| 17 | - }, | ||
| 18 | - "location": { | ||
| 19 | - "type": "latlng", | ||
| 20 | - "lat": 29.951475, | ||
| 21 | - "lng": -90.078434 | ||
| 22 | - } | ||
| 23 | - } | ||
| 24 | -} |
| 1 | -{ | ||
| 2 | - "event": "addHost", | ||
| 3 | - "payload": { | ||
| 4 | - "id": "6A:40:24:F7:9C:2C/-1", | ||
| 5 | - "ingress": "6A:40:24:F7:9C:2C/-1/0-of:0000000000000003/2", | ||
| 6 | - "egress": "of:0000000000000003/2-6A:40:24:F7:9C:2C/-1/0", | ||
| 7 | - "cp": { | ||
| 8 | - "device": "of:0000000000000003", | ||
| 9 | - "port": 2 | ||
| 10 | - }, | ||
| 11 | - "labels": [ | ||
| 12 | - "unknown", | ||
| 13 | - "6A:40:24:F7:9C:2C" | ||
| 14 | - ], | ||
| 15 | - "props": {} | ||
| 16 | - } | ||
| 17 | -} |
| 1 | -{ | ||
| 2 | - "event": "addHost", | ||
| 3 | - "payload": { | ||
| 4 | - "id": "00:00:00:00:00:01/-1", | ||
| 5 | - "type": "endstation", | ||
| 6 | - "ingress": "00:00:00:00:00:01/-1/0-of:0000000000000001/1", | ||
| 7 | - "egress": "of:0000000000000001/1-00:00:00:00:00:01/-1/0", | ||
| 8 | - "cp": { | ||
| 9 | - "device": "of:0000000000000001", | ||
| 10 | - "port": 1 | ||
| 11 | - }, | ||
| 12 | - "labels": [ | ||
| 13 | - "10.0.0.1", | ||
| 14 | - "00:00:00:00:00:01" | ||
| 15 | - ], | ||
| 16 | - "props": { | ||
| 17 | - "name": "CMBR", | ||
| 18 | - "latitude": "44.37373", | ||
| 19 | - "longitude": "-71.109734" | ||
| 20 | - }, | ||
| 21 | - "location": { | ||
| 22 | - "type": "latlng", | ||
| 23 | - "lat": 44.37373, | ||
| 24 | - "lng": -71.109734 | ||
| 25 | - } | ||
| 26 | - } | ||
| 27 | -} |
| 1 | -{ | ||
| 2 | - "__comments__": [ | ||
| 3 | - "fabricated event", | ||
| 4 | - "not sure if this is the actual format", | ||
| 5 | - "but we really only care about 'id' being in the payload" | ||
| 6 | - ], | ||
| 7 | - "event": "removeDevice", | ||
| 8 | - "payload": { | ||
| 9 | - "id": "of:0000000000000002", | ||
| 10 | - "type": "switch", | ||
| 11 | - "online": true, | ||
| 12 | - "labels": [ | ||
| 13 | - "of:0000000000000002", | ||
| 14 | - "2", | ||
| 15 | - "", | ||
| 16 | - null | ||
| 17 | - ], | ||
| 18 | - "props": {} | ||
| 19 | - } | ||
| 20 | -} |
| 1 | -{ | ||
| 2 | - "__comments__": [ | ||
| 3 | - "fabricated event", | ||
| 4 | - "not sure if this is the actual format", | ||
| 5 | - "but we really only care about 'id' being in the payload" | ||
| 6 | - ], | ||
| 7 | - "event": "removeHost", | ||
| 8 | - "payload": { | ||
| 9 | - "id": "6A:40:24:F7:9C:2C/-1", | ||
| 10 | - "ingress": "6A:40:24:F7:9C:2C/-1/0-of:0000000000000003/2", | ||
| 11 | - "egress": "of:0000000000000003/2-6A:40:24:F7:9C:2C/-1/0", | ||
| 12 | - "cp": { | ||
| 13 | - "device": "of:0000000000000003", | ||
| 14 | - "port": 2 | ||
| 15 | - }, | ||
| 16 | - "labels": [ | ||
| 17 | - "unknown", | ||
| 18 | - "6A:40:24:F7:9C:2C" | ||
| 19 | - ], | ||
| 20 | - "props": {} | ||
| 21 | - } | ||
| 22 | -} |
| 1 | -{ | ||
| 2 | - "event": "showDetails", | ||
| 3 | - "sid": 9, | ||
| 4 | - "payload": { | ||
| 5 | - "id": "CA:4B:EE:A4:B0:33/-1", | ||
| 6 | - "type": "host", | ||
| 7 | - "propOrder": [ | ||
| 8 | - "MAC", | ||
| 9 | - "IP", | ||
| 10 | - "-", | ||
| 11 | - "Latitude", | ||
| 12 | - "Longitude" | ||
| 13 | - ], | ||
| 14 | - "props": { | ||
| 15 | - "MAC": "CA:4B:EE:A4:B0:33", | ||
| 16 | - "IP": "[10.0.0.1]", | ||
| 17 | - "-": "", | ||
| 18 | - "Latitude": null, | ||
| 19 | - "Longitude": null | ||
| 20 | - } | ||
| 21 | - } | ||
| 22 | -} |
| 1 | -{ | ||
| 2 | - "event": "showDetails", | ||
| 3 | - "sid": 37, | ||
| 4 | - "payload": { | ||
| 5 | - "id": "of:000000000000000a", | ||
| 6 | - "type": "switch", | ||
| 7 | - "propOrder": [ | ||
| 8 | - "Name", | ||
| 9 | - "Vendor", | ||
| 10 | - "H/W Version", | ||
| 11 | - "S/W Version", | ||
| 12 | - "Serial Number", | ||
| 13 | - "-", | ||
| 14 | - "Latitude", | ||
| 15 | - "Longitude", | ||
| 16 | - "Ports", | ||
| 17 | - "-", | ||
| 18 | - "Master" | ||
| 19 | - ], | ||
| 20 | - "props": { | ||
| 21 | - "Name": null, | ||
| 22 | - "Vendor": "Nicira, Inc.", | ||
| 23 | - "H/W Version": "Open vSwitch", | ||
| 24 | - "S/W Version": "2.0.1", | ||
| 25 | - "Serial Number": "None", | ||
| 26 | - "-": "", | ||
| 27 | - "Latitude": null, | ||
| 28 | - "Longitude": null, | ||
| 29 | - "Ports": "5", | ||
| 30 | - "Master":"local" | ||
| 31 | - } | ||
| 32 | - } | ||
| 33 | -} |
| 1 | -{ | ||
| 2 | - "event": "showSummary", | ||
| 3 | - "sid": 1, | ||
| 4 | - "payload": { | ||
| 5 | - "id": "ONOS Summary", | ||
| 6 | - "type": "node", | ||
| 7 | - "propOrder": [ | ||
| 8 | - "Devices", | ||
| 9 | - "Links", | ||
| 10 | - "Hosts", | ||
| 11 | - "Topology SCCs", | ||
| 12 | - "Paths", | ||
| 13 | - "-", | ||
| 14 | - "Intents", | ||
| 15 | - "Flows", | ||
| 16 | - "Version" | ||
| 17 | - ], | ||
| 18 | - "props": { | ||
| 19 | - "Devices": "25", | ||
| 20 | - "Links": "112", | ||
| 21 | - "Hosts": "25", | ||
| 22 | - "Topology SCCs": "1", | ||
| 23 | - "Paths": "1,272", | ||
| 24 | - "-": "", | ||
| 25 | - "Intents": "0", | ||
| 26 | - "Flows": "0", | ||
| 27 | - "Version": "1.0.0*" | ||
| 28 | - } | ||
| 29 | - } | ||
| 30 | -} |
| 1 | -{ | ||
| 2 | - "event": "showTraffic", | ||
| 3 | - "sid":63, | ||
| 4 | - "payload": { | ||
| 5 | - "paths": [ | ||
| 6 | - { | ||
| 7 | - "class": "primary", | ||
| 8 | - "traffic": false, | ||
| 9 | - "links": [ | ||
| 10 | - "1E:10:D9:A2:84:E2/-1/0-of:0000000000000003/1", | ||
| 11 | - "of:0000000000000003/4-of:0000000000000002/1", | ||
| 12 | - "of:0000000000000002/4-of:0000000000000001/1", | ||
| 13 | - "of:0000000000000001/2-of:0000000000000006/4", | ||
| 14 | - "of:0000000000000006/2-of:0000000000000008/4", | ||
| 15 | - "of:0000000000000008/3-9E:0B:E0:38:98:DE/-1/0" | ||
| 16 | - ], | ||
| 17 | - "labels": [ | ||
| 18 | - "", | ||
| 19 | - "", | ||
| 20 | - "", | ||
| 21 | - "", | ||
| 22 | - "", | ||
| 23 | - "" | ||
| 24 | - ] | ||
| 25 | - }, | ||
| 26 | - { | ||
| 27 | - "class": "primary", | ||
| 28 | - "traffic": false, | ||
| 29 | - "links": [ | ||
| 30 | - "9E:0B:E0:38:98:DE/-1/0-of:0000000000000008/3", | ||
| 31 | - "of:0000000000000008/4-of:0000000000000006/2", | ||
| 32 | - "of:0000000000000006/4-of:0000000000000001/2", | ||
| 33 | - "of:0000000000000001/1-of:0000000000000002/4", | ||
| 34 | - "of:0000000000000002/1-of:0000000000000003/4", | ||
| 35 | - "of:0000000000000003/1-1E:10:D9:A2:84:E2/-1/0" | ||
| 36 | - ], | ||
| 37 | - "labels": [ | ||
| 38 | - "", | ||
| 39 | - "", | ||
| 40 | - "", | ||
| 41 | - "", | ||
| 42 | - "", | ||
| 43 | - "" | ||
| 44 | - ] | ||
| 45 | - } | ||
| 46 | - ] | ||
| 47 | - } | ||
| 48 | -} |
| 1 | -{ | ||
| 2 | - "event": "showTraffic", | ||
| 3 | - "sid": 227, | ||
| 4 | - "payload": { | ||
| 5 | - "paths": [ | ||
| 6 | - { | ||
| 7 | - "class": "primary animated", | ||
| 8 | - "traffic": true, | ||
| 9 | - "links": [ | ||
| 10 | - "02:D7:91:9F:4B:E8/-1/0-of:0000000000000004/1", | ||
| 11 | - "of:0000000000000004/4-of:0000000000000002/2", | ||
| 12 | - "of:0000000000000002/4-of:0000000000000001/1", | ||
| 13 | - "of:0000000000000001/2-of:0000000000000006/4", | ||
| 14 | - "of:0000000000000006/2-of:0000000000000008/4", | ||
| 15 | - "of:0000000000000008/3-9E:0B:E0:38:98:DE/-1/0" | ||
| 16 | - ], | ||
| 17 | - "labels": [ | ||
| 18 | - "", | ||
| 19 | - "Load{rate=98, latest=37898}", | ||
| 20 | - "", | ||
| 21 | - "", | ||
| 22 | - "", | ||
| 23 | - "Load{rate=98, latest=38080}" | ||
| 24 | - ] | ||
| 25 | - }, | ||
| 26 | - { | ||
| 27 | - "class": "primary animated", | ||
| 28 | - "traffic": true, | ||
| 29 | - "links": [ | ||
| 30 | - "9E:0B:E0:38:98:DE/-1/0-of:0000000000000008/3", | ||
| 31 | - "of:0000000000000008/4-of:0000000000000006/2", | ||
| 32 | - "of:0000000000000006/4-of:0000000000000001/2", | ||
| 33 | - "of:0000000000000001/1-of:0000000000000002/4", | ||
| 34 | - "of:0000000000000002/2-of:0000000000000004/4", | ||
| 35 | - "of:0000000000000004/1-02:D7:91:9F:4B:E8/-1/0" | ||
| 36 | - ], | ||
| 37 | - "labels": [ | ||
| 38 | - "", | ||
| 39 | - "", | ||
| 40 | - "Load{rate=98, latest=38178}", | ||
| 41 | - "", | ||
| 42 | - "Load{rate=98, latest=37898}", | ||
| 43 | - "Load{rate=98, latest=37898}" | ||
| 44 | - ] | ||
| 45 | - }, | ||
| 46 | - { | ||
| 47 | - "class": "primary animated", | ||
| 48 | - "traffic": true, | ||
| 49 | - "links": [ | ||
| 50 | - "1E:10:D9:A2:84:E2/-1/0-of:0000000000000003/1", | ||
| 51 | - "of:0000000000000003/4-of:0000000000000002/1", | ||
| 52 | - "of:0000000000000002/4-of:0000000000000001/1", | ||
| 53 | - "of:0000000000000001/2-of:0000000000000006/4", | ||
| 54 | - "of:0000000000000006/2-of:0000000000000008/4", | ||
| 55 | - "of:0000000000000008/3-9E:0B:E0:38:98:DE/-1/0" | ||
| 56 | - ], | ||
| 57 | - "labels": [ | ||
| 58 | - "", | ||
| 59 | - "", | ||
| 60 | - "", | ||
| 61 | - "", | ||
| 62 | - "", | ||
| 63 | - "Load{rate=98, latest=38080}" | ||
| 64 | - ] | ||
| 65 | - }, | ||
| 66 | - { | ||
| 67 | - "class": "primary animated", | ||
| 68 | - "traffic": true, | ||
| 69 | - "links": [ | ||
| 70 | - "9E:0B:E0:38:98:DE/-1/0-of:0000000000000008/3", | ||
| 71 | - "of:0000000000000008/4-of:0000000000000006/2", | ||
| 72 | - "of:0000000000000006/4-of:0000000000000001/2", | ||
| 73 | - "of:0000000000000001/1-of:0000000000000002/4", | ||
| 74 | - "of:0000000000000002/1-of:0000000000000003/4", | ||
| 75 | - "of:0000000000000003/1-1E:10:D9:A2:84:E2/-1/0" | ||
| 76 | - ], | ||
| 77 | - "labels": [ | ||
| 78 | - "", | ||
| 79 | - "", | ||
| 80 | - "Load{rate=98, latest=38178}", | ||
| 81 | - "", | ||
| 82 | - "", | ||
| 83 | - "" | ||
| 84 | - ] | ||
| 85 | - } | ||
| 86 | - ] | ||
| 87 | - } | ||
| 88 | -} |
| 1 | -{ | ||
| 2 | - "event": "updateHost", | ||
| 3 | - "payload": { | ||
| 4 | - "id": "AA:C2:74:3F:B8:06/-1", | ||
| 5 | - "ingress": "AA:C2:74:3F:B8:06/-1/0-of:0000000000000005/3", | ||
| 6 | - "egress": "of:0000000000000005/3-AA:C2:74:3F:B8:06/-1/0", | ||
| 7 | - "cp": { | ||
| 8 | - "device": "of:0000000000000005", | ||
| 9 | - "port": 3 | ||
| 10 | - }, | ||
| 11 | - "labels": [ | ||
| 12 | - "10.0.0.9", | ||
| 13 | - "AA:C2:74:3F:B8:06" | ||
| 14 | - ], | ||
| 15 | - "props":{} | ||
| 16 | - } | ||
| 17 | -} |
-
Please register or login to post a comment