-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path11_netroutingtable
executable file
·51 lines (47 loc) · 2.33 KB
/
11_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
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 2: id 2 - type 2,
Node 0: Row 1:Tag 3: id 2 - type 2,
Node 0: Row 2:Tag 6: id 3 - type 2, id 7 - type 1,
Node 0: Row 3:Tag 9: id 1 - type 2,
Node 0: Row 4:Tag 10: id 2 - type 2, id 4 - type 1,
Node 0: Row 5:Tag 11: id 5 - type 1,
Node 0: Row 6:Tag 12: id 1 - type 2, id 3 - type 2,
Node 0: Row 7:Tag 15: id 1 - type 2,
Node 0: Row 8:Tag 16: id 3 - type 2,
Node 0: Row 9:Tag 17: id 6 - type 1,
Node 0: Row 10:Tag 19: id 2 - type 2,
Node 0: Row 11:Tag 20: id 3 - type 2,
Node 0: Row 12:Tag 21: id 1 - type 2,
Node 0: Row 13:Tag 26: id 1 - type 2, id 3 - type 2,
Node 0: Row 14:Tag 27: id 2 - 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 2: id 2 - type 2,
Node 1: Row 1:Tag 3: id 2 - type 2,
Node 1: Row 2:Tag 6: id 3 - type 2, id 7 - type 1,
Node 1: Row 3:Tag 10: id 2 - type 2, id 4 - type 1,
Node 1: Row 4:Tag 11: id 5 - type 1,
Node 1: Row 5:Tag 12: id 3 - type 2,
Node 1: Row 6:Tag 16: id 3 - type 2,
Node 1: Row 7:Tag 17: id 6 - type 1,
Node 1: Row 8:Tag 19: id 2 - type 2,
Node 1: Row 9:Tag 20: id 3 - type 2,
Node 1: Row 10:Tag 26: id 3 - type 2,
Node 1: Row 11:Tag 27: id 2 - 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 6: id 3 - type 2, id 7 - type 1,
Node 2: Row 1:Tag 10: id 4 - type 1,
Node 2: Row 2:Tag 11: id 5 - type 1,
Node 2: Row 3:Tag 12: id 3 - type 2,
Node 2: Row 4:Tag 16: id 3 - type 2,
Node 2: Row 5:Tag 17: id 6 - type 1,
Node 2: Row 6:Tag 20: id 3 - type 2,
Node 2: Row 7:Tag 26: id 3 - 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 6: id 7 - type 1,
Node 3: Row 1:Tag 10: id 4 - type 1,
Node 3: Row 2:Tag 11: id 5 - type 1,
Node 3: Row 3:Tag 17: id 6 - type 1,