topolib 0.4.2__py3-none-any.whl → 0.5.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of topolib might be problematic. Click here for more details.

Files changed (38) hide show
  1. topolib/assets/AMRES.json +1265 -0
  2. topolib/assets/Bell_canada.json +925 -0
  3. topolib/assets/Brazil.json +699 -0
  4. topolib/assets/CESNET.json +657 -0
  5. topolib/assets/CORONET.json +1957 -0
  6. topolib/assets/{China_pop.json → China.json} +109 -37
  7. topolib/assets/DT-14.json +470 -0
  8. topolib/assets/DT-17.json +525 -0
  9. topolib/assets/{DT-50_pop.json → DT-50.json} +165 -65
  10. topolib/assets/ES-30.json +967 -0
  11. topolib/assets/EURO-16.json +455 -0
  12. topolib/assets/FR-43.json +1277 -0
  13. topolib/assets/FUNET.json +317 -0
  14. topolib/assets/GCN-BG.json +855 -0
  15. topolib/assets/GRNET.json +1717 -0
  16. topolib/assets/HyperOne.json +255 -0
  17. topolib/assets/IT-21.json +649 -0
  18. topolib/assets/India.json +517 -0
  19. topolib/assets/JPN-12.json +331 -0
  20. topolib/assets/KOREN.json +287 -0
  21. topolib/assets/NORDUNet.json +783 -0
  22. topolib/assets/NSFNet.json +399 -0
  23. topolib/assets/PANEURO.json +757 -0
  24. topolib/assets/PAVLOV.json +465 -0
  25. topolib/assets/PLN-12.json +343 -0
  26. topolib/assets/SANReN.json +161 -0
  27. topolib/assets/SERBIA-MONTENEGRO.json +139 -0
  28. topolib/assets/Telefonica-21.json +637 -0
  29. topolib/assets/Turk_Telekom.json +551 -0
  30. topolib/assets/UKNet.json +685 -0
  31. topolib/assets/Vega_Telecom.json +819 -0
  32. topolib/topology/topology.py +252 -7
  33. {topolib-0.4.2.dist-info → topolib-0.5.0.dist-info}/METADATA +4 -2
  34. topolib-0.5.0.dist-info/RECORD +47 -0
  35. topolib-0.4.2.dist-info/RECORD +0 -18
  36. /topolib/assets/{Abilene_IXP.json → Abilene.json} +0 -0
  37. {topolib-0.4.2.dist-info → topolib-0.5.0.dist-info}/WHEEL +0 -0
  38. {topolib-0.4.2.dist-info → topolib-0.5.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,649 @@
1
+ {
2
+ "name": "Italia",
3
+ "nodes": [
4
+ {
5
+ "id": 0,
6
+ "name": "Torino",
7
+ "weight": 0,
8
+ "longitude": 7.6868565,
9
+ "latitude": 45.070312,
10
+ "pop": 847287,
11
+ "DC": 11,
12
+ "IXP": 1
13
+ },
14
+ {
15
+ "id": 1,
16
+ "name": "Milan",
17
+ "weight": 0,
18
+ "longitude": 9.1824027,
19
+ "latitude": 45.468503,
20
+ "pop": 1371498,
21
+ "DC": 73,
22
+ "IXP": 5
23
+ },
24
+ {
25
+ "id": 2,
26
+ "name": "Bolzano",
27
+ "weight": 0,
28
+ "longitude": 11.3402543,
29
+ "latitude": 46.4949259,
30
+ "pop": 107436,
31
+ "DC": 2,
32
+ "IXP": 1
33
+ },
34
+ {
35
+ "id": 3,
36
+ "name": "Verona",
37
+ "weight": 0,
38
+ "longitude": 10.9917136,
39
+ "latitude": 45.4383659,
40
+ "pop": 258031,
41
+ "DC": 1,
42
+ "IXP": 0
43
+ },
44
+ {
45
+ "id": 4,
46
+ "name": "Venice",
47
+ "weight": 0,
48
+ "longitude": 12.3159547,
49
+ "latitude": 45.440379,
50
+ "pop": 147662,
51
+ "DC": 3,
52
+ "IXP": 0
53
+ },
54
+ {
55
+ "id": 5,
56
+ "name": "Trieste",
57
+ "weight": 0,
58
+ "longitude": 13.7674486,
59
+ "latitude": 45.6508342,
60
+ "pop": 204338,
61
+ "DC": 2,
62
+ "IXP": 1
63
+ },
64
+ {
65
+ "id": 6,
66
+ "name": "Bologna",
67
+ "weight": 0,
68
+ "longitude": 11.3426163,
69
+ "latitude": 44.494887,
70
+ "pop": 394843,
71
+ "DC": 5,
72
+ "IXP": 1
73
+ },
74
+ {
75
+ "id": 7,
76
+ "name": "Genova",
77
+ "weight": 0,
78
+ "longitude": 8.9347381,
79
+ "latitude": 44.4071448,
80
+ "pop": 580097,
81
+ "DC": 5,
82
+ "IXP": 1
83
+ },
84
+ {
85
+ "id": 8,
86
+ "name": "Pisa",
87
+ "weight": 0,
88
+ "longitude": 10.4017581,
89
+ "latitude": 43.7228385,
90
+ "pop": 109960,
91
+ "DC": 3,
92
+ "IXP": 0
93
+ },
94
+ {
95
+ "id": 9,
96
+ "name": "Florence",
97
+ "weight": 0,
98
+ "longitude": 11.2576706,
99
+ "latitude": 43.7699685,
100
+ "pop": 367150,
101
+ "DC": 3,
102
+ "IXP": 1
103
+ },
104
+ {
105
+ "id": 10,
106
+ "name": "Ancona",
107
+ "weight": 0,
108
+ "longitude": 13.5101741,
109
+ "latitude": 43.6071395,
110
+ "pop": 89994,
111
+ "DC": 1,
112
+ "IXP": 0
113
+ },
114
+ {
115
+ "id": 11,
116
+ "name": "Perugia",
117
+ "weight": 0,
118
+ "longitude": 12.3908279,
119
+ "latitude": 43.1107168,
120
+ "pop": 120137,
121
+ "DC": 1,
122
+ "IXP": 0
123
+ },
124
+ {
125
+ "id": 12,
126
+ "name": "Rome",
127
+ "weight": 0,
128
+ "longitude": 12.4822025,
129
+ "latitude": 41.8967068,
130
+ "pop": 2318895,
131
+ "DC": 21,
132
+ "IXP": 5
133
+ },
134
+ {
135
+ "id": 13,
136
+ "name": "Pescara",
137
+ "weight": 0,
138
+ "longitude": 14.2160321,
139
+ "latitude": 42.4617624,
140
+ "pop": 119554,
141
+ "DC": 1,
142
+ "IXP": 0
143
+ },
144
+ {
145
+ "id": 14,
146
+ "name": "Bari",
147
+ "weight": 0,
148
+ "longitude": 16.8718715,
149
+ "latitude": 41.1171432,
150
+ "pop": 316491,
151
+ "DC": 6,
152
+ "IXP": 1
153
+ },
154
+ {
155
+ "id": 15,
156
+ "name": "Naples",
157
+ "weight": 0,
158
+ "longitude": 14.2681244,
159
+ "latitude": 40.8517746,
160
+ "pop": 909048,
161
+ "DC": 2,
162
+ "IXP": 1
163
+ },
164
+ {
165
+ "id": 16,
166
+ "name": "Potenza",
167
+ "weight": 0,
168
+ "longitude": 15.805502,
169
+ "latitude": 40.6377715,
170
+ "pop": 56433,
171
+ "DC": 0,
172
+ "IXP": 0
173
+ },
174
+ {
175
+ "id": 17,
176
+ "name": "Catanzaro",
177
+ "weight": 0,
178
+ "longitude": 16.5877804,
179
+ "latitude": 38.9097707,
180
+ "pop": 78970,
181
+ "DC": 0,
182
+ "IXP": 0
183
+ },
184
+ {
185
+ "id": 18,
186
+ "name": "Catania",
187
+ "weight": 0,
188
+ "longitude": 15.0830032,
189
+ "latitude": 37.5078836,
190
+ "pop": 311584,
191
+ "DC": 3,
192
+ "IXP": 0
193
+ },
194
+ {
195
+ "id": 19,
196
+ "name": "Palermo",
197
+ "weight": 0,
198
+ "longitude": 13.3614635,
199
+ "latitude": 38.1156864,
200
+ "pop": 648260,
201
+ "DC": 2,
202
+ "IXP": 2
203
+ },
204
+ {
205
+ "id": 20,
206
+ "name": "Cagliari",
207
+ "weight": 0,
208
+ "longitude": 9.1217194,
209
+ "latitude": 39.2237323,
210
+ "pop": 149257,
211
+ "DC": 0,
212
+ "IXP": 0
213
+ }
214
+ ],
215
+ "links": [
216
+ {
217
+ "id": 0,
218
+ "src": 19,
219
+ "dst": 20,
220
+ "length": 503.01
221
+ },
222
+ {
223
+ "id": 1,
224
+ "src": 19,
225
+ "dst": 18,
226
+ "length": 218.54
227
+ },
228
+ {
229
+ "id": 2,
230
+ "src": 15,
231
+ "dst": 19,
232
+ "length": 409.06
233
+ },
234
+ {
235
+ "id": 3,
236
+ "src": 18,
237
+ "dst": 17,
238
+ "length": 265.61
239
+ },
240
+ {
241
+ "id": 4,
242
+ "src": 17,
243
+ "dst": 16,
244
+ "length": 266.62
245
+ },
246
+ {
247
+ "id": 5,
248
+ "src": 15,
249
+ "dst": 18,
250
+ "length": 489.19
251
+ },
252
+ {
253
+ "id": 6,
254
+ "src": 14,
255
+ "dst": 15,
256
+ "length": 287.62
257
+ },
258
+ {
259
+ "id": 7,
260
+ "src": 16,
261
+ "dst": 15,
262
+ "length": 170.27
263
+ },
264
+ {
265
+ "id": 8,
266
+ "src": 16,
267
+ "dst": 14,
268
+ "length": 133.37
269
+ },
270
+ {
271
+ "id": 9,
272
+ "src": 12,
273
+ "dst": 15,
274
+ "length": 244.49
275
+ },
276
+ {
277
+ "id": 10,
278
+ "src": 12,
279
+ "dst": 20,
280
+ "length": 533.02
281
+ },
282
+ {
283
+ "id": 11,
284
+ "src": 13,
285
+ "dst": 15,
286
+ "length": 236.0
287
+ },
288
+ {
289
+ "id": 12,
290
+ "src": 14,
291
+ "dst": 13,
292
+ "length": 345.9
293
+ },
294
+ {
295
+ "id": 13,
296
+ "src": 13,
297
+ "dst": 11,
298
+ "length": 214.88
299
+ },
300
+ {
301
+ "id": 14,
302
+ "src": 12,
303
+ "dst": 11,
304
+ "length": 177.07
305
+ },
306
+ {
307
+ "id": 15,
308
+ "src": 9,
309
+ "dst": 12,
310
+ "length": 300.99
311
+ },
312
+ {
313
+ "id": 16,
314
+ "src": 8,
315
+ "dst": 12,
316
+ "length": 348.67
317
+ },
318
+ {
319
+ "id": 17,
320
+ "src": 11,
321
+ "dst": 9,
322
+ "length": 151.4
323
+ },
324
+ {
325
+ "id": 18,
326
+ "src": 9,
327
+ "dst": 8,
328
+ "length": 89.71
329
+ },
330
+ {
331
+ "id": 19,
332
+ "src": 7,
333
+ "dst": 9,
334
+ "length": 256.17
335
+ },
336
+ {
337
+ "id": 20,
338
+ "src": 8,
339
+ "dst": 7,
340
+ "length": 182.86
341
+ },
342
+ {
343
+ "id": 21,
344
+ "src": 13,
345
+ "dst": 10,
346
+ "length": 174.44
347
+ },
348
+ {
349
+ "id": 22,
350
+ "src": 10,
351
+ "dst": 6,
352
+ "length": 261.18
353
+ },
354
+ {
355
+ "id": 23,
356
+ "src": 9,
357
+ "dst": 6,
358
+ "length": 109.75
359
+ },
360
+ {
361
+ "id": 24,
362
+ "src": 6,
363
+ "dst": 4,
364
+ "length": 167.34
365
+ },
366
+ {
367
+ "id": 25,
368
+ "src": 3,
369
+ "dst": 6,
370
+ "length": 139.78
371
+ },
372
+ {
373
+ "id": 26,
374
+ "src": 3,
375
+ "dst": 4,
376
+ "length": 138.12
377
+ },
378
+ {
379
+ "id": 27,
380
+ "src": 4,
381
+ "dst": 5,
382
+ "length": 150.02
383
+ },
384
+ {
385
+ "id": 28,
386
+ "src": 2,
387
+ "dst": 5,
388
+ "length": 271.76
389
+ },
390
+ {
391
+ "id": 29,
392
+ "src": 3,
393
+ "dst": 2,
394
+ "length": 158.99
395
+ },
396
+ {
397
+ "id": 30,
398
+ "src": 1,
399
+ "dst": 2,
400
+ "length": 259.16
401
+ },
402
+ {
403
+ "id": 31,
404
+ "src": 1,
405
+ "dst": 3,
406
+ "length": 184.93
407
+ },
408
+ {
409
+ "id": 32,
410
+ "src": 1,
411
+ "dst": 0,
412
+ "length": 164.28
413
+ },
414
+ {
415
+ "id": 33,
416
+ "src": 7,
417
+ "dst": 1,
418
+ "length": 157.02
419
+ },
420
+ {
421
+ "id": 34,
422
+ "src": 0,
423
+ "dst": 7,
424
+ "length": 160.82
425
+ },
426
+ {
427
+ "id": 35,
428
+ "src": 7,
429
+ "dst": 6,
430
+ "length": 244.25
431
+ },
432
+ {
433
+ "id": 36,
434
+ "src": 20,
435
+ "dst": 19,
436
+ "length": 503.01
437
+ },
438
+ {
439
+ "id": 37,
440
+ "src": 18,
441
+ "dst": 19,
442
+ "length": 218.54
443
+ },
444
+ {
445
+ "id": 38,
446
+ "src": 19,
447
+ "dst": 15,
448
+ "length": 409.06
449
+ },
450
+ {
451
+ "id": 39,
452
+ "src": 17,
453
+ "dst": 18,
454
+ "length": 265.61
455
+ },
456
+ {
457
+ "id": 40,
458
+ "src": 16,
459
+ "dst": 17,
460
+ "length": 266.62
461
+ },
462
+ {
463
+ "id": 41,
464
+ "src": 18,
465
+ "dst": 15,
466
+ "length": 489.19
467
+ },
468
+ {
469
+ "id": 42,
470
+ "src": 15,
471
+ "dst": 14,
472
+ "length": 287.62
473
+ },
474
+ {
475
+ "id": 43,
476
+ "src": 15,
477
+ "dst": 16,
478
+ "length": 170.27
479
+ },
480
+ {
481
+ "id": 44,
482
+ "src": 14,
483
+ "dst": 16,
484
+ "length": 133.37
485
+ },
486
+ {
487
+ "id": 45,
488
+ "src": 15,
489
+ "dst": 12,
490
+ "length": 244.49
491
+ },
492
+ {
493
+ "id": 46,
494
+ "src": 20,
495
+ "dst": 12,
496
+ "length": 533.02
497
+ },
498
+ {
499
+ "id": 47,
500
+ "src": 15,
501
+ "dst": 13,
502
+ "length": 236.0
503
+ },
504
+ {
505
+ "id": 48,
506
+ "src": 13,
507
+ "dst": 14,
508
+ "length": 345.9
509
+ },
510
+ {
511
+ "id": 49,
512
+ "src": 11,
513
+ "dst": 13,
514
+ "length": 214.88
515
+ },
516
+ {
517
+ "id": 50,
518
+ "src": 11,
519
+ "dst": 12,
520
+ "length": 177.07
521
+ },
522
+ {
523
+ "id": 51,
524
+ "src": 12,
525
+ "dst": 9,
526
+ "length": 300.99
527
+ },
528
+ {
529
+ "id": 52,
530
+ "src": 12,
531
+ "dst": 8,
532
+ "length": 348.67
533
+ },
534
+ {
535
+ "id": 53,
536
+ "src": 9,
537
+ "dst": 11,
538
+ "length": 151.4
539
+ },
540
+ {
541
+ "id": 54,
542
+ "src": 8,
543
+ "dst": 9,
544
+ "length": 89.71
545
+ },
546
+ {
547
+ "id": 55,
548
+ "src": 9,
549
+ "dst": 7,
550
+ "length": 256.17
551
+ },
552
+ {
553
+ "id": 56,
554
+ "src": 7,
555
+ "dst": 8,
556
+ "length": 182.86
557
+ },
558
+ {
559
+ "id": 57,
560
+ "src": 10,
561
+ "dst": 13,
562
+ "length": 174.44
563
+ },
564
+ {
565
+ "id": 58,
566
+ "src": 6,
567
+ "dst": 10,
568
+ "length": 261.18
569
+ },
570
+ {
571
+ "id": 59,
572
+ "src": 6,
573
+ "dst": 9,
574
+ "length": 109.75
575
+ },
576
+ {
577
+ "id": 60,
578
+ "src": 4,
579
+ "dst": 6,
580
+ "length": 167.34
581
+ },
582
+ {
583
+ "id": 61,
584
+ "src": 6,
585
+ "dst": 3,
586
+ "length": 139.78
587
+ },
588
+ {
589
+ "id": 62,
590
+ "src": 4,
591
+ "dst": 3,
592
+ "length": 138.12
593
+ },
594
+ {
595
+ "id": 63,
596
+ "src": 5,
597
+ "dst": 4,
598
+ "length": 150.02
599
+ },
600
+ {
601
+ "id": 64,
602
+ "src": 5,
603
+ "dst": 2,
604
+ "length": 271.76
605
+ },
606
+ {
607
+ "id": 65,
608
+ "src": 2,
609
+ "dst": 3,
610
+ "length": 158.99
611
+ },
612
+ {
613
+ "id": 66,
614
+ "src": 2,
615
+ "dst": 1,
616
+ "length": 259.16
617
+ },
618
+ {
619
+ "id": 67,
620
+ "src": 3,
621
+ "dst": 1,
622
+ "length": 184.93
623
+ },
624
+ {
625
+ "id": 68,
626
+ "src": 0,
627
+ "dst": 1,
628
+ "length": 164.28
629
+ },
630
+ {
631
+ "id": 69,
632
+ "src": 1,
633
+ "dst": 7,
634
+ "length": 157.02
635
+ },
636
+ {
637
+ "id": 70,
638
+ "src": 7,
639
+ "dst": 0,
640
+ "length": 160.82
641
+ },
642
+ {
643
+ "id": 71,
644
+ "src": 6,
645
+ "dst": 7,
646
+ "length": 244.25
647
+ }
648
+ ]
649
+ }