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,343 @@
1
+ {
2
+ "name": "Polonia",
3
+ "nodes": [
4
+ {
5
+ "id": 0,
6
+ "name": "Wroclaw (Breslavia)",
7
+ "weight": 0,
8
+ "longitude": 17.0386019,
9
+ "latitude": 51.1092948,
10
+ "pop": 634893,
11
+ "DC": 5,
12
+ "IXP": 1
13
+ },
14
+ {
15
+ "id": 1,
16
+ "name": "Katowice",
17
+ "weight": 0,
18
+ "longitude": 19.0237815,
19
+ "latitude": 50.2648919,
20
+ "pop": 317316,
21
+ "DC": 12,
22
+ "IXP": 3
23
+ },
24
+ {
25
+ "id": 2,
26
+ "name": "Krakow",
27
+ "weight": 0,
28
+ "longitude": 19.9449799,
29
+ "latitude": 50.0646501,
30
+ "pop": 755050,
31
+ "DC": 9,
32
+ "IXP": 1
33
+ },
34
+ {
35
+ "id": 3,
36
+ "name": "Rzeszow",
37
+ "weight": 0,
38
+ "longitude": 21.9991196,
39
+ "latitude": 50.0411867,
40
+ "pop": 158382,
41
+ "DC": 0,
42
+ "IXP": 0
43
+ },
44
+ {
45
+ "id": 4,
46
+ "name": "Lodz",
47
+ "weight": 0,
48
+ "longitude": 19.4558778,
49
+ "latitude": 51.7592924,
50
+ "pop": 768755,
51
+ "DC": 4,
52
+ "IXP": 2
53
+ },
54
+ {
55
+ "id": 5,
56
+ "name": "Warsaw",
57
+ "weight": 0,
58
+ "longitude": 21.0122287,
59
+ "latitude": 52.2296756,
60
+ "pop": 1702139,
61
+ "DC": 36,
62
+ "IXP": 13
63
+ },
64
+ {
65
+ "id": 6,
66
+ "name": "Bialystok",
67
+ "weight": 0,
68
+ "longitude": 23.1688403,
69
+ "latitude": 53.1324886,
70
+ "pop": 291855,
71
+ "DC": 0,
72
+ "IXP": 0
73
+ },
74
+ {
75
+ "id": 7,
76
+ "name": "Bydgoszcz",
77
+ "weight": 0,
78
+ "longitude": 18.0084378,
79
+ "latitude": 53.1234804,
80
+ "pop": 366452,
81
+ "DC": 1,
82
+ "IXP": 0
83
+ },
84
+ {
85
+ "id": 8,
86
+ "name": "Poznan",
87
+ "weight": 0,
88
+ "longitude": 16.9312766,
89
+ "latitude": 52.4056786,
90
+ "pop": 570352,
91
+ "DC": 8,
92
+ "IXP": 4
93
+ },
94
+ {
95
+ "id": 9,
96
+ "name": "Szczecin",
97
+ "weight": 0,
98
+ "longitude": 14.5528116,
99
+ "latitude": 53.4285438,
100
+ "pop": 407811,
101
+ "DC": 2,
102
+ "IXP": 1
103
+ },
104
+ {
105
+ "id": 10,
106
+ "name": "Kolobrzeg",
107
+ "weight": 0,
108
+ "longitude": 15.5832667,
109
+ "latitude": 54.1759173,
110
+ "pop": 44377,
111
+ "DC": 0,
112
+ "IXP": 0
113
+ },
114
+ {
115
+ "id": 11,
116
+ "name": "Gdansk",
117
+ "weight": 0,
118
+ "longitude": 18.6466384,
119
+ "latitude": 54.3520252,
120
+ "pop": 461865,
121
+ "DC": 3,
122
+ "IXP": 1
123
+ }
124
+ ],
125
+ "links": [
126
+ {
127
+ "id": 0,
128
+ "src": 9,
129
+ "dst": 8,
130
+ "length": 255.21
131
+ },
132
+ {
133
+ "id": 1,
134
+ "src": 8,
135
+ "dst": 7,
136
+ "length": 138.01
137
+ },
138
+ {
139
+ "id": 2,
140
+ "src": 9,
141
+ "dst": 10,
142
+ "length": 139.96
143
+ },
144
+ {
145
+ "id": 3,
146
+ "src": 7,
147
+ "dst": 10,
148
+ "length": 257.57
149
+ },
150
+ {
151
+ "id": 4,
152
+ "src": 7,
153
+ "dst": 11,
154
+ "length": 185.9
155
+ },
156
+ {
157
+ "id": 5,
158
+ "src": 11,
159
+ "dst": 10,
160
+ "length": 260.9
161
+ },
162
+ {
163
+ "id": 6,
164
+ "src": 8,
165
+ "dst": 0,
166
+ "length": 188.78
167
+ },
168
+ {
169
+ "id": 7,
170
+ "src": 4,
171
+ "dst": 0,
172
+ "length": 239.23
173
+ },
174
+ {
175
+ "id": 8,
176
+ "src": 1,
177
+ "dst": 0,
178
+ "length": 218.09
179
+ },
180
+ {
181
+ "id": 9,
182
+ "src": 1,
183
+ "dst": 4,
184
+ "length": 221.08
185
+ },
186
+ {
187
+ "id": 10,
188
+ "src": 2,
189
+ "dst": 1,
190
+ "length": 88.79
191
+ },
192
+ {
193
+ "id": 11,
194
+ "src": 2,
195
+ "dst": 5,
196
+ "length": 329.64
197
+ },
198
+ {
199
+ "id": 12,
200
+ "src": 5,
201
+ "dst": 4,
202
+ "length": 151.67
203
+ },
204
+ {
205
+ "id": 13,
206
+ "src": 3,
207
+ "dst": 2,
208
+ "length": 192.61
209
+ },
210
+ {
211
+ "id": 14,
212
+ "src": 6,
213
+ "dst": 3,
214
+ "length": 456.56
215
+ },
216
+ {
217
+ "id": 15,
218
+ "src": 6,
219
+ "dst": 5,
220
+ "length": 226.88
221
+ },
222
+ {
223
+ "id": 16,
224
+ "src": 7,
225
+ "dst": 5,
226
+ "length": 290.1
227
+ },
228
+ {
229
+ "id": 17,
230
+ "src": 11,
231
+ "dst": 6,
232
+ "length": 424.66
233
+ },
234
+ {
235
+ "id": 18,
236
+ "src": 8,
237
+ "dst": 9,
238
+ "length": 255.21
239
+ },
240
+ {
241
+ "id": 19,
242
+ "src": 7,
243
+ "dst": 8,
244
+ "length": 138.01
245
+ },
246
+ {
247
+ "id": 20,
248
+ "src": 10,
249
+ "dst": 9,
250
+ "length": 139.96
251
+ },
252
+ {
253
+ "id": 21,
254
+ "src": 10,
255
+ "dst": 7,
256
+ "length": 257.57
257
+ },
258
+ {
259
+ "id": 22,
260
+ "src": 11,
261
+ "dst": 7,
262
+ "length": 185.9
263
+ },
264
+ {
265
+ "id": 23,
266
+ "src": 10,
267
+ "dst": 11,
268
+ "length": 260.9
269
+ },
270
+ {
271
+ "id": 24,
272
+ "src": 0,
273
+ "dst": 8,
274
+ "length": 188.78
275
+ },
276
+ {
277
+ "id": 25,
278
+ "src": 0,
279
+ "dst": 4,
280
+ "length": 239.23
281
+ },
282
+ {
283
+ "id": 26,
284
+ "src": 0,
285
+ "dst": 1,
286
+ "length": 218.09
287
+ },
288
+ {
289
+ "id": 27,
290
+ "src": 4,
291
+ "dst": 1,
292
+ "length": 221.08
293
+ },
294
+ {
295
+ "id": 28,
296
+ "src": 1,
297
+ "dst": 2,
298
+ "length": 88.79
299
+ },
300
+ {
301
+ "id": 29,
302
+ "src": 5,
303
+ "dst": 2,
304
+ "length": 329.64
305
+ },
306
+ {
307
+ "id": 30,
308
+ "src": 4,
309
+ "dst": 5,
310
+ "length": 151.67
311
+ },
312
+ {
313
+ "id": 31,
314
+ "src": 2,
315
+ "dst": 3,
316
+ "length": 192.61
317
+ },
318
+ {
319
+ "id": 32,
320
+ "src": 3,
321
+ "dst": 6,
322
+ "length": 456.56
323
+ },
324
+ {
325
+ "id": 33,
326
+ "src": 5,
327
+ "dst": 6,
328
+ "length": 226.88
329
+ },
330
+ {
331
+ "id": 34,
332
+ "src": 5,
333
+ "dst": 7,
334
+ "length": 290.1
335
+ },
336
+ {
337
+ "id": 35,
338
+ "src": 6,
339
+ "dst": 11,
340
+ "length": 424.66
341
+ }
342
+ ]
343
+ }
@@ -0,0 +1,161 @@
1
+ {
2
+ "name": "SANReN",
3
+ "nodes": [
4
+ {
5
+ "id": 0,
6
+ "name": "Puerto Elizabeth",
7
+ "weight": 0,
8
+ "longitude": 25.5826876,
9
+ "latitude": -33.913693,
10
+ "pop": 1050078,
11
+ "DC": 0,
12
+ "IXP": 0
13
+ },
14
+ {
15
+ "id": 1,
16
+ "name": "Cape Town",
17
+ "weight": 0,
18
+ "longitude": 18.4231418,
19
+ "latitude": -33.922087,
20
+ "pop": 4772846,
21
+ "DC": 10,
22
+ "IXP": 3
23
+ },
24
+ {
25
+ "id": 2,
26
+ "name": "Bloemfontein",
27
+ "weight": 0,
28
+ "longitude": 26.214937,
29
+ "latitude": -29.1129237,
30
+ "pop": 556637,
31
+ "DC": 0,
32
+ "IXP": 0
33
+ },
34
+ {
35
+ "id": 3,
36
+ "name": "East London",
37
+ "weight": 0,
38
+ "longitude": 27.9054471,
39
+ "latitude": -33.0194318,
40
+ "pop": 478676,
41
+ "DC": 0,
42
+ "IXP": 0
43
+ },
44
+ {
45
+ "id": 4,
46
+ "name": "Durban",
47
+ "weight": 0,
48
+ "longitude": 31.0218404,
49
+ "latitude": -29.8586804,
50
+ "pop": 3338026,
51
+ "DC": 6,
52
+ "IXP": 2
53
+ },
54
+ {
55
+ "id": 5,
56
+ "name": "Johannesburgo",
57
+ "weight": 0,
58
+ "longitude": 28.0337185,
59
+ "latitude": -26.205647,
60
+ "pop": 9418183,
61
+ "DC": 35,
62
+ "IXP": 3
63
+ },
64
+ {
65
+ "id": 6,
66
+ "name": "Pretoria",
67
+ "weight": 0,
68
+ "longitude": 28.1913815,
69
+ "latitude": -25.7565723,
70
+ "pop": 2112693,
71
+ "DC": 4,
72
+ "IXP": 1
73
+ }
74
+ ],
75
+ "links": [
76
+ {
77
+ "id": 0,
78
+ "src": 5,
79
+ "dst": 6,
80
+ "length": 67.73
81
+ },
82
+ {
83
+ "id": 1,
84
+ "src": 6,
85
+ "dst": 4,
86
+ "length": 696.95
87
+ },
88
+ {
89
+ "id": 2,
90
+ "src": 1,
91
+ "dst": 0,
92
+ "length": 864.23
93
+ },
94
+ {
95
+ "id": 3,
96
+ "src": 0,
97
+ "dst": 3,
98
+ "length": 310.52
99
+ },
100
+ {
101
+ "id": 4,
102
+ "src": 3,
103
+ "dst": 4,
104
+ "length": 588.92
105
+ },
106
+ {
107
+ "id": 5,
108
+ "src": 2,
109
+ "dst": 1,
110
+ "length": 1189.7
111
+ },
112
+ {
113
+ "id": 6,
114
+ "src": 2,
115
+ "dst": 5,
116
+ "length": 476.11
117
+ },
118
+ {
119
+ "id": 7,
120
+ "src": 6,
121
+ "dst": 5,
122
+ "length": 67.73
123
+ },
124
+ {
125
+ "id": 8,
126
+ "src": 4,
127
+ "dst": 6,
128
+ "length": 696.95
129
+ },
130
+ {
131
+ "id": 9,
132
+ "src": 0,
133
+ "dst": 1,
134
+ "length": 864.23
135
+ },
136
+ {
137
+ "id": 10,
138
+ "src": 3,
139
+ "dst": 0,
140
+ "length": 310.52
141
+ },
142
+ {
143
+ "id": 11,
144
+ "src": 4,
145
+ "dst": 3,
146
+ "length": 588.92
147
+ },
148
+ {
149
+ "id": 12,
150
+ "src": 1,
151
+ "dst": 2,
152
+ "length": 1189.7
153
+ },
154
+ {
155
+ "id": 13,
156
+ "src": 5,
157
+ "dst": 2,
158
+ "length": 476.11
159
+ }
160
+ ]
161
+ }
@@ -0,0 +1,139 @@
1
+ {
2
+ "name": "SERBIA-MONTENEGRO",
3
+ "nodes": [
4
+ {
5
+ "id": 0,
6
+ "name": "Novi Sad",
7
+ "weight": 0,
8
+ "longitude": 19.8227056,
9
+ "latitude": 45.2396085,
10
+ "pop": 215400,
11
+ "DC": 0,
12
+ "IXP": 0
13
+ },
14
+ {
15
+ "id": 1,
16
+ "name": "Belgrado",
17
+ "weight": 0,
18
+ "longitude": 20.46123,
19
+ "latitude": 44.8125449,
20
+ "pop": 1273651,
21
+ "DC": 10,
22
+ "IXP": 3
23
+ },
24
+ {
25
+ "id": 2,
26
+ "name": "Kragujevac",
27
+ "weight": 0,
28
+ "longitude": 20.9114225,
29
+ "latitude": 44.0127932,
30
+ "pop": 147473,
31
+ "DC": 1,
32
+ "IXP": 0
33
+ },
34
+ {
35
+ "id": 3,
36
+ "name": "Nis",
37
+ "weight": 0,
38
+ "longitude": 21.8954069,
39
+ "latitude": 43.320926,
40
+ "pop": 250000,
41
+ "DC": 1,
42
+ "IXP": 1
43
+ },
44
+ {
45
+ "id": 4,
46
+ "name": "Krusevac",
47
+ "weight": 0,
48
+ "longitude": 21.3356957,
49
+ "latitude": 43.5786526,
50
+ "pop": 75256,
51
+ "DC": 0,
52
+ "IXP": 0
53
+ },
54
+ {
55
+ "id": 5,
56
+ "name": "Podgorica",
57
+ "weight": 0,
58
+ "longitude": 19.2593642,
59
+ "latitude": 42.4304196,
60
+ "pop": 236852,
61
+ "DC": 0,
62
+ "IXP": 1
63
+ }
64
+ ],
65
+ "links": [
66
+ {
67
+ "id": 0,
68
+ "src": 0,
69
+ "dst": 5,
70
+ "length": 410.85
71
+ },
72
+ {
73
+ "id": 1,
74
+ "src": 5,
75
+ "dst": 0,
76
+ "length": 410.85
77
+ },
78
+ {
79
+ "id": 2,
80
+ "src": 5,
81
+ "dst": 4,
82
+ "length": 275.61
83
+ },
84
+ {
85
+ "id": 3,
86
+ "src": 4,
87
+ "dst": 5,
88
+ "length": 275.61
89
+ },
90
+ {
91
+ "id": 4,
92
+ "src": 3,
93
+ "dst": 4,
94
+ "length": 69.39
95
+ },
96
+ {
97
+ "id": 5,
98
+ "src": 4,
99
+ "dst": 3,
100
+ "length": 69.39
101
+ },
102
+ {
103
+ "id": 6,
104
+ "src": 2,
105
+ "dst": 3,
106
+ "length": 144.14
107
+ },
108
+ {
109
+ "id": 7,
110
+ "src": 3,
111
+ "dst": 2,
112
+ "length": 144.14
113
+ },
114
+ {
115
+ "id": 8,
116
+ "src": 1,
117
+ "dst": 2,
118
+ "length": 125.54
119
+ },
120
+ {
121
+ "id": 9,
122
+ "src": 2,
123
+ "dst": 1,
124
+ "length": 125.54
125
+ },
126
+ {
127
+ "id": 10,
128
+ "src": 0,
129
+ "dst": 1,
130
+ "length": 90.87
131
+ },
132
+ {
133
+ "id": 11,
134
+ "src": 1,
135
+ "dst": 0,
136
+ "length": 90.87
137
+ }
138
+ ]
139
+ }