-
Notifications
You must be signed in to change notification settings - Fork 0
/
1_netroutingtable
executable file
·349 lines (319 loc) · 16.2 KB
/
1_netroutingtable
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
Printing routing table of router node: 0
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 0: Row 0:Tag 1: id 23 - type 2,
Node 0: Row 1:Tag 3: id 2 - type 2, id 12 - type 2,
Node 0: Row 2:Tag 4: id 45 - type 1,
Node 0: Row 3:Tag 6: id 2 - type 2,
Node 0: Row 4:Tag 7: id 3 - type 2,
Node 0: Row 5:Tag 8: id 3 - type 2,
Node 0: Row 6:Tag 9: id 1 - type 2,
Node 0: Row 7:Tag 10: id 2 - type 2,
Node 0: Row 8:Tag 11: id 3 - type 2, id 12 - type 2,
Node 0: Row 9:Tag 12: id 1 - type 2, id 12 - type 2,
Node 0: Row 10:Tag 15: id 1 - type 2,
Node 0: Row 11:Tag 16: id 3 - type 2,
Node 0: Row 12:Tag 19: id 2 - type 2,
Node 0: Row 13:Tag 20: id 2 - type 2, id 23 - type 2,
Node 0: Row 14:Tag 21: id 1 - type 2,
Node 0: Row 15:Tag 23: id 32 - type 1,
Node 0: Row 16:Tag 25: id 44 - type 1,
Node 0: Row 17:Tag 26: id 1 - type 2,
Node 0: Row 18:Tag 28: id 23 - type 2,
Node 0: Row 19:Tag 29: id 3 - type 2,
Node 0: Row 20:Tag 30: id 23 - type 2,
Node 0: Row 21:Tag 33: id 23 - type 2,
Node 0: Row 22:Tag 34: id 12 - type 2,
Node 0: Row 23:Tag 39: id 12 - type 2,
Printing routing table of router node: 1
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 1: Row 0:Tag 3: id 2 - type 2,
Node 1: Row 1:Tag 6: id 2 - type 2, id 7 - type 2,
Node 1: Row 2:Tag 7: id 3 - type 2,
Node 1: Row 3:Tag 8: id 3 - type 2,
Node 1: Row 4:Tag 10: id 2 - type 2,
Node 1: Row 5:Tag 11: id 3 - type 2, id 7 - type 2,
Node 1: Row 6:Tag 16: id 3 - type 2,
Node 1: Row 7:Tag 19: id 2 - type 2,
Node 1: Row 8:Tag 20: id 2 - type 2, id 7 - type 2,
Node 1: Row 9:Tag 21: id 43 - type 1,
Node 1: Row 10:Tag 29: id 3 - type 2,
Node 1: Row 11:Tag 33: id 7 - type 2,
Node 1: Row 12:Tag 36: id 7 - type 2,
Printing routing table of router node: 2
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 2: Row 0:Tag 1: id 8 - type 2,
Node 2: Row 1:Tag 2: id 4 - type 2,
Node 2: Row 2:Tag 4: id 8 - type 2, id 24 - type 2,
Node 2: Row 3:Tag 5: id 8 - type 2, id 25 - type 2,
Node 2: Row 4:Tag 6: id 9 - type 2,
Node 2: Row 5:Tag 7: id 11 - type 2,
Node 2: Row 6:Tag 8: id 11 - type 2,
Node 2: Row 7:Tag 9: id 4 - type 2, id 9 - type 2, id 17 - type 2,
Node 2: Row 8:Tag 11: id 17 - type 2,
Node 2: Row 9:Tag 12: id 15 - type 2,
Node 2: Row 10:Tag 15: id 4 - type 2,
Node 2: Row 11:Tag 16: id 24 - type 2, id 25 - type 2,
Node 2: Row 12:Tag 17: id 9 - type 2, id 17 - type 2,
Node 2: Row 13:Tag 18: id 11 - type 2,
Node 2: Row 14:Tag 19: id 25 - type 2,
Node 2: Row 15:Tag 22: id 4 - type 2, id 15 - type 2,
Node 2: Row 16:Tag 23: id 24 - type 2,
Node 2: Row 17:Tag 25: id 8 - type 2, id 9 - type 2,
Node 2: Row 18:Tag 27: id 4 - type 2, id 24 - type 2,
Node 2: Row 19:Tag 30: id 11 - type 2,
Node 2: Row 20:Tag 31: id 17 - type 2, id 25 - type 2,
Node 2: Row 21:Tag 32: id 25 - type 2,
Node 2: Row 22:Tag 33: id 9 - type 2,
Node 2: Row 23:Tag 34: id 24 - type 2,
Node 2: Row 24:Tag 36: id 8 - type 2, id 11 - type 2, id 15 - type 2,
Node 2: Row 25:Tag 37: id 15 - type 2, id 17 - type 2,
Printing routing table of router node: 3
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 3: Row 0:Tag 2: id 4 - type 2, id 5 - type 2,
Node 3: Row 1:Tag 3: id 21 - type 2, id 28 - type 2,
Node 3: Row 2:Tag 4: id 6 - type 2, id 28 - type 2,
Node 3: Row 3:Tag 6: id 7 - type 2,
Node 3: Row 4:Tag 7: id 5 - type 2, id 18 - type 2,
Node 3: Row 5:Tag 8: id 28 - type 2,
Node 3: Row 6:Tag 9: id 4 - type 2, id 28 - type 2,
Node 3: Row 7:Tag 11: id 5 - type 2, id 7 - type 2,
Node 3: Row 8:Tag 15: id 4 - type 2,
Node 3: Row 9:Tag 16: id 5 - type 2, id 18 - type 2, id 28 - type 2,
Node 3: Row 10:Tag 17: id 6 - type 2, id 18 - type 2,
Node 3: Row 11:Tag 20: id 7 - type 2, id 21 - type 2,
Node 3: Row 12:Tag 22: id 4 - type 2,
Node 3: Row 13:Tag 23: id 32 - type 1,
Node 3: Row 14:Tag 24: id 6 - type 2,
Node 3: Row 15:Tag 27: id 4 - type 2,
Node 3: Row 16:Tag 29: id 18 - type 2, id 21 - type 2,
Node 3: Row 17:Tag 33: id 5 - type 2, id 7 - type 2,
Node 3: Row 18:Tag 35: id 6 - type 2, id 21 - type 2,
Node 3: Row 19:Tag 36: id 7 - type 2, id 21 - type 2,
Node 3: Row 20:Tag 38: id 6 - type 2,
Printing routing table of router node: 4
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 4: Row 0:Tag 2: id 5 - type 2,
Node 4: Row 1:Tag 4: id 24 - type 2,
Node 4: Row 2:Tag 7: id 5 - type 2, id 10 - type 2,
Node 4: Row 3:Tag 8: id 13 - type 2,
Node 4: Row 4:Tag 10: id 14 - type 2,
Node 4: Row 5:Tag 11: id 5 - type 2,
Node 4: Row 6:Tag 12: id 13 - type 2,
Node 4: Row 7:Tag 14: id 10 - type 2,
Node 4: Row 8:Tag 16: id 5 - type 2, id 24 - type 2,
Node 4: Row 9:Tag 18: id 14 - type 2,
Node 4: Row 10:Tag 19: id 13 - type 2,
Node 4: Row 11:Tag 22: id 10 - type 2,
Node 4: Row 12:Tag 23: id 24 - type 2,
Node 4: Row 13:Tag 25: id 10 - type 2,
Node 4: Row 14:Tag 26: id 13 - type 2,
Node 4: Row 15:Tag 27: id 14 - type 2, id 24 - type 2,
Node 4: Row 16:Tag 30: id 34 - type 1,
Node 4: Row 17:Tag 33: id 5 - type 2,
Node 4: Row 18:Tag 34: id 10 - type 2, id 14 - type 2, id 24 - type 2,
Node 4: Row 19:Tag 35: id 14 - type 2,
Printing routing table of router node: 5
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 5: Row 0:Tag 1: id 16 - type 2,
Node 5: Row 1:Tag 4: id 6 - type 2, id 16 - type 2,
Node 5: Row 2:Tag 6: id 16 - type 2,
Node 5: Row 3:Tag 7: id 10 - type 2,
Node 5: Row 4:Tag 9: id 16 - type 2,
Node 5: Row 5:Tag 14: id 10 - type 2,
Node 5: Row 6:Tag 17: id 6 - type 2,
Node 5: Row 7:Tag 22: id 10 - type 2,
Node 5: Row 8:Tag 24: id 6 - type 2,
Node 5: Row 9:Tag 25: id 10 - type 2, id 16 - type 2,
Node 5: Row 10:Tag 30: id 34 - type 1,
Node 5: Row 11:Tag 34: id 10 - type 2, id 35 - type 1,
Node 5: Row 12:Tag 35: id 6 - type 2,
Node 5: Row 13:Tag 38: id 6 - type 2,
Printing routing table of router node: 6
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 6: Row 0:Tag 1: id 8 - type 2,
Node 6: Row 1:Tag 4: id 8 - type 2, id 31 - type 1,
Node 6: Row 2:Tag 5: id 8 - type 2,
Node 6: Row 3:Tag 6: id 9 - type 2,
Node 6: Row 4:Tag 7: id 11 - type 2,
Node 6: Row 5:Tag 8: id 11 - type 2,
Node 6: Row 6:Tag 9: id 9 - type 2,
Node 6: Row 7:Tag 12: id 15 - type 2,
Node 6: Row 8:Tag 17: id 9 - type 2,
Node 6: Row 9:Tag 18: id 11 - type 2,
Node 6: Row 10:Tag 22: id 15 - type 2,
Node 6: Row 11:Tag 25: id 8 - type 2, id 9 - type 2, id 46 - type 1,
Node 6: Row 12:Tag 30: id 11 - type 2,
Node 6: Row 13:Tag 33: id 9 - type 2,
Node 6: Row 14:Tag 36: id 8 - type 2, id 11 - type 2, id 15 - type 2,
Node 6: Row 15:Tag 37: id 15 - type 2,
Printing routing table of router node: 7
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 7: Row 0:Tag 8: id 13 - type 2,
Node 7: Row 1:Tag 9: id 17 - type 2,
Node 7: Row 2:Tag 10: id 14 - type 2,
Node 7: Row 3:Tag 11: id 17 - type 2,
Node 7: Row 4:Tag 12: id 13 - type 2,
Node 7: Row 5:Tag 17: id 17 - type 2,
Node 7: Row 6:Tag 18: id 14 - type 2,
Node 7: Row 7:Tag 19: id 13 - type 2,
Node 7: Row 8:Tag 26: id 13 - type 2,
Node 7: Row 9:Tag 27: id 14 - type 2,
Node 7: Row 10:Tag 31: id 17 - type 2,
Node 7: Row 11:Tag 34: id 14 - type 2,
Node 7: Row 12:Tag 35: id 14 - type 2,
Node 7: Row 13:Tag 37: id 17 - type 2,
Printing routing table of router node: 8
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 8: Row 0:Tag 1: id 16 - type 2,
Node 8: Row 1:Tag 2: id 47 - type 1,
Node 8: Row 2:Tag 3: id 12 - type 2,
Node 8: Row 3:Tag 4: id 16 - type 2,
Node 8: Row 4:Tag 6: id 16 - type 2,
Node 8: Row 5:Tag 9: id 16 - type 2,
Node 8: Row 6:Tag 11: id 12 - type 2,
Node 8: Row 7:Tag 12: id 12 - type 2, id 20 - type 2,
Node 8: Row 8:Tag 18: id 27 - type 2,
Node 8: Row 9:Tag 19: id 20 - type 2,
Node 8: Row 10:Tag 20: id 41 - type 1,
Node 8: Row 11:Tag 22: id 39 - type 1,
Node 8: Row 12:Tag 23: id 20 - type 2,
Node 8: Row 13:Tag 25: id 16 - type 2,
Node 8: Row 14:Tag 28: id 27 - type 2,
Node 8: Row 15:Tag 29: id 20 - type 2,
Node 8: Row 16:Tag 30: id 20 - type 2,
Node 8: Row 17:Tag 33: id 27 - type 2,
Node 8: Row 18:Tag 34: id 12 - type 2,
Node 8: Row 19:Tag 35: id 27 - type 2,
Node 8: Row 20:Tag 37: id 27 - type 2, id 48 - type 1,
Node 8: Row 21:Tag 39: id 12 - type 2,
Printing routing table of router node: 9
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 9: Row 0:Tag 2: id 36 - type 1,
Node 9: Row 1:Tag 37: id 30 - type 1,
Printing routing table of router node: 10
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 10: Row 0:Tag 3: id 21 - type 2,
Node 10: Row 1:Tag 20: id 21 - type 2,
Node 10: Row 2:Tag 29: id 21 - type 2,
Node 10: Row 3:Tag 35: id 21 - type 2,
Node 10: Row 4:Tag 36: id 21 - type 2,
Printing routing table of router node: 11
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 11: Row 0:Tag 3: id 19 - type 2,
Node 11: Row 1:Tag 5: id 19 - type 2,
Node 11: Row 2:Tag 7: id 18 - type 2,
Node 11: Row 3:Tag 10: id 42 - type 1,
Node 11: Row 4:Tag 12: id 20 - type 2,
Node 11: Row 5:Tag 16: id 18 - type 2,
Node 11: Row 6:Tag 17: id 18 - type 2,
Node 11: Row 7:Tag 19: id 19 - type 2, id 20 - type 2,
Node 11: Row 8:Tag 22: id 39 - type 1,
Node 11: Row 9:Tag 23: id 20 - type 2,
Node 11: Row 10:Tag 24: id 19 - type 2,
Node 11: Row 11:Tag 26: id 19 - type 2,
Node 11: Row 12:Tag 29: id 18 - type 2, id 20 - type 2,
Node 11: Row 13:Tag 30: id 20 - type 2,
Printing routing table of router node: 12
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 12: Row 0:Tag 0: id 49 - type 1,
Node 12: Row 1:Tag 25: id 46 - type 1,
Node 12: Row 2:Tag 37: id 37 - type 1,
Printing routing table of router node: 13
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 13: Row 0:Tag 1: id 26 - type 2,
Node 13: Row 1:Tag 3: id 19 - type 2,
Node 13: Row 2:Tag 5: id 19 - type 2,
Node 13: Row 3:Tag 7: id 26 - type 2,
Node 13: Row 4:Tag 18: id 26 - type 2,
Node 13: Row 5:Tag 19: id 19 - type 2,
Node 13: Row 6:Tag 24: id 19 - type 2,
Node 13: Row 7:Tag 26: id 19 - type 2,
Node 13: Row 8:Tag 34: id 26 - type 2,
Node 13: Row 9:Tag 35: id 26 - type 2,
Printing routing table of router node: 14
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 14: Row 0:Tag 0: id 49 - type 1,
Node 14: Row 1:Tag 1: id 26 - type 2,
Node 14: Row 2:Tag 7: id 26 - type 2,
Node 14: Row 3:Tag 18: id 26 - type 2,
Node 14: Row 4:Tag 34: id 26 - type 2,
Node 14: Row 5:Tag 35: id 26 - type 2,
Node 14: Row 6:Tag 37: id 37 - type 1, id 48 - type 1,
Printing routing table of router node: 15
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 15: Row 0:Tag 0: id 29 - type 2,
Node 15: Row 1:Tag 1: id 22 - type 2,
Node 15: Row 2:Tag 4: id 38 - type 1,
Node 15: Row 3:Tag 6: id 22 - type 2, id 29 - type 2,
Node 15: Row 4:Tag 11: id 22 - type 2,
Node 15: Row 5:Tag 18: id 29 - type 2,
Node 15: Row 6:Tag 19: id 22 - type 2,
Node 15: Row 7:Tag 21: id 43 - type 1,
Node 15: Row 8:Tag 24: id 29 - type 2,
Node 15: Row 9:Tag 35: id 22 - type 2,
Printing routing table of router node: 16
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 16: Row 0:Tag 2: id 36 - type 1, id 47 - type 1,
Node 16: Row 1:Tag 5: id 25 - type 2,
Node 16: Row 2:Tag 16: id 25 - type 2,
Node 16: Row 3:Tag 19: id 25 - type 2,
Node 16: Row 4:Tag 20: id 41 - type 1,
Node 16: Row 5:Tag 31: id 25 - type 2,
Node 16: Row 6:Tag 32: id 25 - type 2,
Printing routing table of router node: 17
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 17: Row 0:Tag 4: id 31 - type 1,
Printing routing table of router node: 18
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 18: Row 0:Tag 0: id 29 - type 2,
Node 18: Row 1:Tag 6: id 29 - type 2,
Node 18: Row 2:Tag 18: id 29 - type 2,
Node 18: Row 3:Tag 23: id 40 - type 1,
Node 18: Row 4:Tag 24: id 29 - type 2,
Node 18: Row 5:Tag 37: id 30 - type 1,
Printing routing table of router node: 19
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 19: Row 0:Tag 3: id 28 - type 2,
Node 19: Row 1:Tag 4: id 28 - type 2,
Node 19: Row 2:Tag 8: id 28 - type 2,
Node 19: Row 3:Tag 9: id 28 - type 2,
Node 19: Row 4:Tag 16: id 28 - type 2,
Printing routing table of router node: 20
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 20: Row 0:Tag 1: id 22 - type 2, id 23 - type 2,
Node 20: Row 1:Tag 6: id 22 - type 2,
Node 20: Row 2:Tag 11: id 22 - type 2,
Node 20: Row 3:Tag 12: id 33 - type 1,
Node 20: Row 4:Tag 19: id 22 - type 2,
Node 20: Row 5:Tag 20: id 23 - type 2,
Node 20: Row 6:Tag 28: id 23 - type 2,
Node 20: Row 7:Tag 30: id 23 - type 2,
Node 20: Row 8:Tag 33: id 23 - type 2,
Node 20: Row 9:Tag 35: id 22 - type 2,
Routing table of router node 21 is empty
Printing routing table of router node: 22
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 22: Row 0:Tag 10: id 42 - type 1,
Routing table of router node 23 is empty
Routing table of router node 24 is empty
Printing routing table of router node: 25
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 25: Row 0:Tag 18: id 27 - type 2,
Node 25: Row 1:Tag 28: id 27 - type 2,
Node 25: Row 2:Tag 33: id 27 - type 2,
Node 25: Row 3:Tag 35: id 27 - type 2,
Node 25: Row 4:Tag 37: id 27 - type 2,
Printing routing table of router node: 26
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 26: Row 0:Tag 4: id 45 - type 1,
Printing routing table of router node: 27
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 27: Row 0:Tag 4: id 38 - type 1,
Printing routing table of router node: 28
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 28: Row 0:Tag 25: id 44 - type 1,
Printing routing table of router node: 29
Node id : Row i :Tag : List of Node id - node_type that are attached...
Node 29: Row 0:Tag 12: id 33 - type 1,
Node 29: Row 1:Tag 23: id 40 - type 1,
Node 29: Row 2:Tag 34: id 35 - type 1,