blob: ae1b9f257d3cecf8561f4c477a365aafbe914049 [file] [log] [blame]
Sean Condonf9ff66a2020-03-23 08:40:55 +00001{
2 "event": "topo2CurrentRegion",
3 "payload": {
4 "id": "(root)",
5 "subregions": [],
6 "links": [
7 {
8 "id": "device:leaf1/1~device:spine1/1",
9 "epA": "device:leaf1/1",
10 "epB": "device:spine1/1",
11 "type": "UiDeviceLink",
12 "portA": "1",
13 "portB": "1",
14 "rollup": [
15 {
16 "id": "device:leaf1/1~device:spine1/1",
17 "epA": "device:leaf1/1",
18 "epB": "device:spine1/1",
19 "type": "UiDeviceLink",
20 "portA": "1",
21 "portB": "1"
22 }
23 ]
24 },
25 {
26 "id": "device:leaf2/2~device:spine2/2",
27 "epA": "device:leaf2/2",
28 "epB": "device:spine2/2",
29 "type": "UiDeviceLink",
30 "portA": "2",
31 "portB": "2",
32 "rollup": [
33 {
34 "id": "device:leaf2/2~device:spine2/2",
35 "epA": "device:leaf2/2",
36 "epB": "device:spine2/2",
37 "type": "UiDeviceLink",
38 "portA": "2",
39 "portB": "2"
40 }
41 ]
42 },
43 {
44 "id": "00:00:00:00:00:1A/None~device:leaf1/3",
45 "epA": "00:00:00:00:00:1A/None",
46 "epB": "device:leaf1",
47 "type": "UiEdgeLink",
48 "portB": "3",
49 "rollup": [
50 {
51 "id": "00:00:00:00:00:1A/None~device:leaf1/3",
52 "epA": "00:00:00:00:00:1A/None",
53 "epB": "device:leaf1",
54 "type": "UiEdgeLink",
55 "portB": "3"
56 }
57 ]
58 },
59 {
60 "id": "00:00:00:00:00:30/None~device:leaf2/3",
61 "epA": "00:00:00:00:00:30/None",
62 "epB": "device:leaf2",
63 "type": "UiEdgeLink",
64 "portB": "3",
65 "rollup": [
66 {
67 "id": "00:00:00:00:00:30/None~device:leaf2/3",
68 "epA": "00:00:00:00:00:30/None",
69 "epB": "device:leaf2",
70 "type": "UiEdgeLink",
71 "portB": "3"
72 }
73 ]
74 },
75 {
76 "id": "device:leaf1/2~device:spine2/1",
77 "epA": "device:leaf1/2",
78 "epB": "device:spine2/1",
79 "type": "UiDeviceLink",
80 "portA": "2",
81 "portB": "1",
82 "rollup": [
83 {
84 "id": "device:leaf1/2~device:spine2/1",
85 "epA": "device:leaf1/2",
86 "epB": "device:spine2/1",
87 "type": "UiDeviceLink",
88 "portA": "2",
89 "portB": "1"
90 }
91 ]
92 },
93 {
94 "id": "device:leaf2/1~device:spine1/2",
95 "epA": "device:leaf2/1",
96 "epB": "device:spine1/2",
97 "type": "UiDeviceLink",
98 "portA": "1",
99 "portB": "2",
100 "rollup": [
101 {
102 "id": "device:leaf2/1~device:spine1/2",
103 "epA": "device:leaf2/1",
104 "epB": "device:spine1/2",
105 "type": "UiDeviceLink",
106 "portA": "1",
107 "portB": "2"
108 }
109 ]
110 },
111 {
112 "id": "00:00:00:00:00:20/None~device:leaf1/6",
113 "epA": "00:00:00:00:00:20/None",
114 "epB": "device:leaf1",
115 "type": "UiEdgeLink",
116 "portB": "6",
117 "rollup": [
118 {
119 "id": "00:00:00:00:00:20/None~device:leaf1/6",
120 "epA": "00:00:00:00:00:20/None",
121 "epB": "device:leaf1",
122 "type": "UiEdgeLink",
123 "portB": "6"
124 }
125 ]
126 },
127 {
128 "id": "00:00:00:00:00:1C/None~device:leaf1/5",
129 "epA": "00:00:00:00:00:1C/None",
130 "epB": "device:leaf1",
131 "type": "UiEdgeLink",
132 "portB": "5",
133 "rollup": [
134 {
135 "id": "00:00:00:00:00:1C/None~device:leaf1/5",
136 "epA": "00:00:00:00:00:1C/None",
137 "epB": "device:leaf1",
138 "type": "UiEdgeLink",
139 "portB": "5"
140 }
141 ]
142 },
143 {
144 "id": "00:00:00:00:00:1B/None~device:leaf1/4",
145 "epA": "00:00:00:00:00:1B/None",
146 "epB": "device:leaf1",
147 "type": "UiEdgeLink",
148 "portB": "4",
149 "rollup": [
150 {
151 "id": "00:00:00:00:00:1B/None~device:leaf1/4",
152 "epA": "00:00:00:00:00:1B/None",
153 "epB": "device:leaf1",
154 "type": "UiEdgeLink",
155 "portB": "4"
156 }
157 ]
158 }
159 ],
160 "devices": [
161 [],
162 [],
163 [
164 {
165 "id": "device:spine1",
166 "nodeType": "device",
167 "type": "switch",
168 "online": true,
169 "master": "172.24.0.3",
170 "layer": "def",
171 "props": {
172 "managementAddress": "grpc://mininet:50003?device_id=1",
173 "protocol": "P4Runtime, gNMI, gNOI",
174 "gridX": "400.0",
175 "gridY": "400.0",
176 "driver": "stratum-bmv2",
177 "name": "device:spine1",
178 "p4DeviceId": "1",
179 "locType": "grid"
180 },
181 "location": {
182 "locType": "grid",
183 "latOrY": 400.0,
184 "longOrX": 400.0
185 }
186 },
187 {
188 "id": "device:spine2",
189 "nodeType": "device",
190 "type": "switch",
191 "online": true,
192 "master": "172.24.0.3",
193 "layer": "def",
194 "props": {
195 "managementAddress": "grpc://mininet:50004?device_id=1",
196 "protocol": "P4Runtime, gNMI, gNOI",
197 "gridX": "600.0",
198 "gridY": "400.0",
199 "driver": "stratum-bmv2",
200 "name": "device:spine2",
201 "p4DeviceId": "1",
202 "locType": "grid"
203 },
204 "location": {
205 "locType": "grid",
206 "latOrY": 400.0,
207 "longOrX": 600.0
208 }
209 },
210 {
211 "id": "device:leaf2",
212 "nodeType": "device",
213 "type": "switch",
214 "online": true,
215 "master": "172.24.0.3",
216 "layer": "def",
217 "props": {
218 "managementAddress": "grpc://mininet:50002?device_id=1",
219 "protocol": "P4Runtime, gNMI, gNOI",
220 "gridX": "800.0",
221 "gridY": "600.0",
222 "driver": "stratum-bmv2",
223 "name": "device:leaf2",
224 "p4DeviceId": "1",
225 "locType": "grid"
226 },
227 "location": {
228 "locType": "grid",
229 "latOrY": 600.0,
230 "longOrX": 800.0
231 }
232 },
233 {
234 "id": "device:leaf1",
235 "nodeType": "device",
236 "type": "switch",
237 "online": true,
238 "master": "172.24.0.3",
239 "layer": "def",
240 "props": {
241 "managementAddress": "grpc://mininet:50001?device_id=1",
242 "protocol": "P4Runtime, gNMI, gNOI",
243 "gridX": "200.0",
244 "gridY": "600.0",
245 "driver": "stratum-bmv2",
246 "name": "device:leaf1",
247 "p4DeviceId": "1",
248 "locType": "grid"
249 },
250 "location": {
251 "locType": "grid",
252 "latOrY": 600.0,
253 "longOrX": 200.0
254 }
255 }
256 ]
257 ],
258 "hosts": [
259 [],
260 [],
261 [
262 {
263 "id": "00:00:00:00:00:30/None",
264 "nodeType": "host",
265 "layer": "def",
266 "ips": [
267 "2001:2:3::1"
268 ],
269 "props": {
270 "gridX": "750.0",
271 "gridY": "700.0",
272 "latitude": null,
273 "name": "h3",
274 "locType": "grid",
275 "longitude": null
276 },
277 "location": {
278 "locType": "grid",
279 "latOrY": 700.0,
280 "longOrX": 750.0
281 },
282 "configured": false
283 },
284 {
285 "id": "00:00:00:00:00:1A/None",
286 "nodeType": "host",
287 "layer": "def",
288 "ips": [
289 "2001:1:1::a"
290 ],
291 "props": {
292 "gridX": "100.0",
293 "gridY": "700.0",
294 "latitude": null,
295 "name": "h1a",
296 "locType": "grid",
297 "longitude": null
298 },
299 "location": {
300 "locType": "grid",
301 "latOrY": 700.0,
302 "longOrX": 100.0
303 },
304 "configured": false
305 },
306 {
307 "id": "00:00:00:00:00:1B/None",
308 "nodeType": "host",
309 "layer": "def",
310 "ips": [
311 "2001:1:1::b"
312 ],
313 "props": {
314 "gridX": "100.0",
315 "gridY": "800.0",
316 "latitude": null,
317 "name": "h1b",
318 "locType": "grid",
319 "longitude": null
320 },
321 "location": {
322 "locType": "grid",
323 "latOrY": 800.0,
324 "longOrX": 100.0
325 },
326 "configured": false
327 },
328 {
329 "id": "00:00:00:00:00:1C/None",
330 "nodeType": "host",
331 "layer": "def",
332 "ips": [
333 "2001:1:1::c"
334 ],
335 "props": {
336 "gridX": "250.0",
337 "gridY": "800.0",
338 "latitude": null,
339 "name": "h1c",
340 "locType": "grid",
341 "longitude": null
342 },
343 "location": {
344 "locType": "grid",
345 "latOrY": 800.0,
346 "longOrX": 250.0
347 },
348 "configured": false
349 },
350 {
351 "id": "00:00:00:00:00:20/None",
352 "nodeType": "host",
353 "layer": "def",
354 "ips": [
355 "2001:1:2::1"
356 ],
357 "props": {
358 "gridX": "400.0",
359 "gridY": "700.0",
360 "latitude": null,
361 "name": "h2",
362 "locType": "grid",
363 "longitude": null
364 },
365 "location": {
366 "locType": "grid",
367 "latOrY": 700.0,
368 "longOrX": 400.0
369 },
370 "configured": false
371 }
372 ]
373 ],
374 "layerOrder": [
375 "opt",
376 "pkt",
377 "def"
378 ]
379 }
380}