Simon Hunt

ONOS-4326: TopoRegions: MockServer scenario with skeleton events.

The plan is to augment these events as we figure out what they will look like when populated.

Change-Id: I3aa1cb22a6e339bf9f6f86fc1587783c0f63a9b6
1 +{
2 + "event": "topo2AllInstances",
3 + "payload": {
4 + "members": [{
5 + "id": "127.0.0.1",
6 + "ip": "127.0.0.1",
7 + "online": true,
8 + "ready": true,
9 + "uiAttached": true,
10 + "switches": 12
11 + }]
12 + }
13 +}
...\ No newline at end of file ...\ No newline at end of file
1 +{
2 + "event": "topo2CurrentLayout",
3 + "payload": {
4 + "id": "_default_",
5 + "parent": "",
6 + "region": "",
7 + "regionName": ""
8 + }
9 +}
1 +{
2 + "event": "topo2CurrentRegion",
3 + "payload": {
4 + "note": "no-region"
5 + }
6 +}
1 +{
2 + "event": "topo2PeerRegions",
3 + "payload": {
4 + "peers": []
5 + }
6 +}
1 +{
2 + "event": "topo2Orphans",
3 + "payload": {
4 + "devices": [
5 + []
6 + ],
7 + "hosts": [
8 + []
9 + ],
10 + "links": [],
11 + "layerOrder": ["def"]
12 + }
13 +}
1 +{
2 + "event": "topo2StartDone",
3 + "payload": {}
4 +}
1 +{
2 + "comments": [
3 + "Topo 2 - initial scenario for start up events",
4 + "This sequence would occur after receiving 'topo2start'..."
5 + ],
6 + "title": "Topo 2 A",
7 + "params": {
8 + "lastAuto": 0
9 + },
10 + "description": [
11 + "Press 'a' to load initial events.",
12 + "Press 'n' to fire further events."
13 + ]
14 +}