Newer
Older
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
[2024-02-15 11:38:13,311] INFO:__main__:Starting...
[2024-02-15 11:38:13,315] DEBUG:asyncio:Using selector: EpollSelector
[2024-02-15 11:38:13,315] DEBUG:grpc._cython.cygrpc:Using AsyncIOEngine.POLLER as I/O engine
[2024-02-15 11:38:13,316] DEBUG:bgpls_speaker.service.BgplsServiceServicerImpl:Creating Servicer...
[2024-02-15 11:38:13,316] DEBUG:bgpls_speaker.service.BgplsServiceServicerImpl:Servicer Created
[2024-02-15 11:38:13,316] INFO:bgpls_speaker.service.BgplsService:Starting Service (tentative endpoint: 0.0.0.0:20030, max_workers: 200)...
[2024-02-15 11:38:13,324] INFO:bgpls_speaker.service.BgplsService:Listening on 0.0.0.0:20030...
[2024-02-15 11:38:13,324] DEBUG:grpc._cython.cygrpc:__dealloc__ called on running server <grpc._cython.cygrpc.AioServer object at 0x7f61a5c84700> with status 1
[2024-02-15 11:38:13,325] DEBUG:bgpls_speaker.service.BgplsService:Service started
[2024-02-15 11:38:13,326] INFO:bgpls_speaker.service.tools.GrpcServer:Starting server on localhost:2021
[2024-02-15 11:38:26,801] DEBUG:bgpls_speaker.service.BgplsServiceServicerImpl:ListDiscoveredDevices request: {}
[2024-02-15 11:38:26,801] DEBUG:bgpls_speaker.service.BgplsServiceServicerImpl:ListDiscoveredDevices reply: {"discovereddevices": []}
[2024-02-15 11:38:26,803] DEBUG:bgpls_speaker.service.BgplsServiceServicerImpl:ListDiscoveredLinks request: {}
[2024-02-15 11:38:26,804] DEBUG:bgpls_speaker.service.BgplsServiceServicerImpl:ListDiscoveredLinks reply: {"discoveredlinks": []}
[2024-02-15 11:38:26,805] DEBUG:bgpls_speaker.service.BgplsServiceServicerImpl:ListBgplsSpeakers request: {}
[2024-02-15 11:38:26,805] DEBUG:bgpls_speaker.service.BgplsServiceServicerImpl:ListBgplsSpeakers reply: {"speakers": []}
[2024-02-15 11:38:35,950] DEBUG:bgpls_speaker.service.BgplsServiceServicerImpl:AddBgplsSpeaker request: {"address": "10.95.90.43", "asNumber": "100", "port": "179"}
[2024-02-15 11:38:35,950] DEBUG:bgpls_speaker.service.BgplsServiceServicerImpl:(AddBgplsSpeaker) Create speaker instance address: "10.95.90.43"
port: "179"
asNumber: "100"
[2024-02-15 11:38:35,950] DEBUG:bgpls_speaker.service.tools.GrpcServer:Port DONT exists 0
[2024-02-15 11:38:35,951] DEBUG:bgpls_speaker.service.tools.JavaRunner:Before exec
E0215 11:38:35.951534926 46 fork_posix.cc:76] Other threads are currently calling into gRPC, skipping fork() handlers
[2024-02-15 11:38:35,953] DEBUG:bgpls_speaker.service.BgplsServiceServicerImpl:AddBgplsSpeaker reply: {"id": 111}
Parsing Config File::BGP4Parameters_3.xml
[main] INFO BGP4Peer - Inizializing BGP4 Peer
[main] INFO BGP4Peer - Initializing Session Manager to connect as server
[pool-1-thread-1] INFO BGP4Peer - Trying to establish new session with peer /10.95.90.43 on port 179
[Thread-2] INFO BGP4Client - Opening new BGP4 Session with host 10.95.90.43 on port 179
[Thread-2] INFO BGP4Client - BGP4 Session established with peer /10.95.90.43
[Thread-2] WARN BGP4Parser - attribute_typeCode NOT supported by this implementation 5
[Thread-0] INFO BGP4Server - Update Procesor Thread Reading the message:
BGP4Update Msg: > Path Attibutes:
> [BGP_LS_MP_REACH es.tid.bgp.bgp4.update.fields.IPv4PrefixNLRI@6bf14574 es.tid.bgp.bgp4.update.fields.IPv4PrefixNLRI@e73248a0 es.tid.bgp.bgp4.update.fields.IPv4PrefixNLRI@1ca9dc01 es.tid.bgp.bgp4.update.fields.IPv4PrefixNLRI@6bebd100
> Origin [Value=0]
> AS_PATH [Type=2 Length=3 NumberOfAsPathSegments=0]
> LinkStateAttribute [administrativeGroupTLV=null, maximumLinkBandwidthTLV=null, maxReservableBandwidthTLV=null, unreservedBandwidthTLV=null, linkProtectionTLV=null, metricTLV=null, availableLabels=, IPv4RouterIDLocalNodeLATLV=null, IPv4RouterIDRemoteNodeLATLV=null, TEMetricTLV=null, SharedRiskLinkGroupATLV=null, TransceiverClassAndAppATLV=null, nodeFlagBitsTLV=null, nodeNameTLV=null, areaIDTLV=null, sidLabelTLV=null, igpFlagBitsTLV=null, routeTagTLV=null, prefixMetricTLV=Prefix Metric [prefixMetric=2], OSPFForwardingAddrTLV=null]
[Thread-0] INFO BGP4Server -
[Thread-0] INFO BGP4Server - Received from 10.95.90.43
[Thread-0] INFO BGP4Server - NLRI type:
[Thread-0] INFO BGP4Server - Path attributes:
[Thread-0] INFO BGP4Server - Prefix_v4_NLRI
[Thread-2] WARN BGP4Parser - attribute_typeCode NOT supported by this implementation 5
[Thread-2] WARN BGP4Parser - attribute_typeCode NOT supported by this implementation 5
[Thread-2] WARN BGP4Parser - attribute_typeCode NOT supported by this implementation 5
[Thread-2] WARN BGP4Parser - attribute_typeCode NOT supported by this implementation 5
[Thread-2] WARN BGP4Parser - attribute_typeCode NOT supported by this implementation 5
[Thread-0] WARN BGP4Server -
[Thread-0] INFO BGP4Server - --->Sending to grpc manager
[Thread-0] INFO BGP4Server - Update Procesor Thread Reading the message:
BGP4Update Msg: > Path Attibutes:
> [BGP_LS_MP_REACH NodeNLRI [protocolID=3, routingUniverseIdentifier=0, localNodeDescriptors=
> AutonomousSystemSubTLV [AS_ID=/0.0.0.100]
> BGPLS_IDENT [BGPLS_ID=/3.3.3.3]
> AreaID [Area_ID=/0.0.0.2]
> IGP_ROUTER_ID [type=3, ID_OSPF_NON_PSEUDO=/3.3.3.3]
] NodeNLRI [protocolID=3, routingUniverseIdentifier=0, localNodeDescriptors=
> AutonomousSystemSubTLV [AS_ID=/0.0.0.100]
> BGPLS_IDENT [BGPLS_ID=/3.3.3.3]
> AreaID [Area_ID=/0.0.0.0]
> IGP_ROUTER_ID [type=3, ID_OSPF_NON_PSEUDO=/3.3.3.3]
] NodeNLRI [protocolID=3, routingUniverseIdentifier=0, localNodeDescriptors=
> AutonomousSystemSubTLV [AS_ID=/0.0.0.100]
> BGPLS_IDENT [BGPLS_ID=/3.3.3.3]
> AreaID [Area_ID=/0.0.0.0]
> IGP_ROUTER_ID [type=3, ID_OSPF_NON_PSEUDO=/2.2.2.2]
]
> Origin [Value=0]
> AS_PATH [Type=2 Length=3 NumberOfAsPathSegments=0]
> LinkStateAttribute [administrativeGroupTLV=null, maximumLinkBandwidthTLV=null, maxReservableBandwidthTLV=null, unreservedBandwidthTLV=null, linkProtectionTLV=null, metricTLV=null, availableLabels=, IPv4RouterIDLocalNodeLATLV=null, IPv4RouterIDRemoteNodeLATLV=null, TEMetricTLV=null, SharedRiskLinkGroupATLV=null, TransceiverClassAndAppATLV=null, nodeFlagBitsTLV=NODE FLAGS [OB=falseAB=falseEB=falseAB=true], nodeNameTLV=null, areaIDTLV=null, sidLabelTLV=null, igpFlagBitsTLV=null, routeTagTLV=null, prefixMetricTLV=null, OSPFForwardingAddrTLV=null]
[Thread-0] INFO BGP4Server -
[Thread-0] INFO BGP4Server - Received from 10.95.90.43
[Thread-0] INFO BGP4Server - NLRI type:
[Thread-0] INFO BGP4Server - Path attributes:
[Thread-0] INFO BGP4Server - Node_NLRI
[Thread-0] INFO BGP4Server - End node processing
[Thread-0] INFO BGP4Server - Node info: ID: /3.3.3.3 BGP_ID: /3.3.3.3 AS_number: 100 Name node attribute: /3.3.3.3 AS number: /0.0.0.100
[Thread-0] INFO BGP4Server - Node_NLRI
[Thread-0] INFO BGP4Server - End node processing
[Thread-0] INFO BGP4Server - Node info: ID: /3.3.3.3 BGP_ID: /3.3.3.3 AS_number: 100 Name node attribute: /3.3.3.3 AS number: /0.0.0.100
[Thread-0] INFO BGP4Server - Node_NLRI
[Thread-0] INFO BGP4Server - End node processing
[Thread-0] INFO BGP4Server - Node info: ID: /2.2.2.2 BGP_ID: /3.3.3.3 AS_number: 100 Name node attribute: /2.2.2.2 AS number: /0.0.0.100
[Thread-0] WARN BGP4Server -
[Thread-0] INFO BGP4Server - --->Sending to grpc manager
[2024-02-15 11:38:42,712] DEBUG:bgpls_speaker.service.BgplsServiceServicerImpl:ListDiscoveredDevices request: {}
[2024-02-15 11:38:42,712] DEBUG:bgpls_speaker.service.BgplsServiceServicerImpl:ListDiscoveredDevices reply: {"discovereddevices": []}
[2024-02-15 11:38:42,714] DEBUG:bgpls_speaker.service.BgplsServiceServicerImpl:ListDiscoveredLinks request: {}
[2024-02-15 11:38:42,714] DEBUG:bgpls_speaker.service.BgplsServiceServicerImpl:ListDiscoveredLinks reply: {"discoveredlinks": []}
[2024-02-15 11:38:42,715] DEBUG:bgpls_speaker.service.BgplsServiceServicerImpl:ListBgplsSpeakers request: {}
[2024-02-15 11:38:42,716] DEBUG:bgpls_speaker.service.BgplsServiceServicerImpl:ListBgplsSpeakers reply: {"speakers": [{"id": 111}]}
grpcClient request: addressFamilyID: "16388"
nextHop: "/255.255.255.255"
asPathSegment: "0"
node {
nodeName: "/3.3.3.3"
igpID: "/3.3.3.3"
bgplsID: "/3.3.3.3"
asID: 100
learntFrom: "10.95.90.43"
}
node {
nodeName: "/3.3.3.3"
igpID: "/3.3.3.3"
bgplsID: "/3.3.3.3"
asID: 100
learntFrom: "10.95.90.43"
}
node {
nodeName: "/2.2.2.2"
igpID: "/2.2.2.2"
bgplsID: "/3.3.3.3"
asID: 100
learntFrom: "10.95.90.43"
}
[2024-02-15 11:38:43,535] INFO:bgpls_speaker.service.tools.GrpcServer:(server) Update message from bgpls speaker:
addressFamilyID: "16388"
nextHop: "/255.255.255.255"
asPathSegment: "0"
node {
nodeName: "/3.3.3.3"
igpID: "/3.3.3.3"
bgplsID: "/3.3.3.3"
asID: 100
learntFrom: "10.95.90.43"
}
node {
nodeName: "/3.3.3.3"
igpID: "/3.3.3.3"
bgplsID: "/3.3.3.3"
asID: 100
learntFrom: "10.95.90.43"
}
node {
nodeName: "/2.2.2.2"
igpID: "/2.2.2.2"
bgplsID: "/3.3.3.3"
asID: 100
learntFrom: "10.95.90.43"
}
[2024-02-15 11:38:44,058] DEBUG:context.client.ContextClient:Creating channel to 10.152.183.34:1010...
[2024-02-15 11:38:44,060] DEBUG:context.client.ContextClient:Channel created
[2024-02-15 11:38:44,060] INFO:bgpls_speaker.service.tools.DiscoveredDBManager:(AddContextDevices)
[2024-02-15 11:38:44,060] DEBUG:context.client.ContextClient:ListDevices request: {}
[2024-02-15 11:38:44,317] DEBUG:bgpls_speaker.service.tools.DiscoveredDBManager:device_ (AddContextDevices) R155
[2024-02-15 11:38:44,317] DEBUG:bgpls_speaker.service.tools.DiscoveredDBManager:device_ (AddContextDevices) 3.3.3.3
[2024-02-15 11:38:44,318] DEBUG:bgpls_speaker.service.tools.DiscoveredDBManager:device_ (AddContextDevices) R149
[2024-02-15 11:38:44,319] INFO:bgpls_speaker.service.tools.DiscoveredDBManager:(CheckIfNodeInContext) device_names: ['R155', '3.3.3.3', 'R149'] nodena 3.3.3.3
[2024-02-15 11:38:44,319] INFO:bgpls_speaker.service.tools.DiscoveredDBManager:(CheckIfNodeInContext) Node already in context
[2024-02-15 11:38:44,320] DEBUG:bgpls_speaker.service.tools.DiscoveredDBManager:(AddToDB) Node already in DB!!!
[2024-02-15 11:38:44,320] DEBUG:context.client.ContextClient:Creating channel to 10.152.183.34:1010...
[2024-02-15 11:38:44,320] DEBUG:context.client.ContextClient:Channel created
[2024-02-15 11:38:44,320] INFO:bgpls_speaker.service.tools.DiscoveredDBManager:(AddContextDevices)
[2024-02-15 11:38:44,321] DEBUG:context.client.ContextClient:ListDevices request: {}
[2024-02-15 11:38:44,469] DEBUG:bgpls_speaker.service.tools.DiscoveredDBManager:device_ (AddContextDevices) R155
[2024-02-15 11:38:44,470] DEBUG:bgpls_speaker.service.tools.DiscoveredDBManager:device_ (AddContextDevices) 3.3.3.3
[2024-02-15 11:38:44,470] DEBUG:bgpls_speaker.service.tools.DiscoveredDBManager:device_ (AddContextDevices) R149
[2024-02-15 11:38:44,471] INFO:bgpls_speaker.service.tools.DiscoveredDBManager:(CheckIfNodeInContext) device_names: ['R155', '3.3.3.3', 'R149'] nodena 3.3.3.3
[2024-02-15 11:38:44,472] INFO:bgpls_speaker.service.tools.DiscoveredDBManager:(CheckIfNodeInContext) Node already in context
[2024-02-15 11:38:44,472] DEBUG:bgpls_speaker.service.tools.DiscoveredDBManager:(AddToDB) Node already in DB!!!
[2024-02-15 11:38:44,472] DEBUG:context.client.ContextClient:Creating channel to 10.152.183.34:1010...
[2024-02-15 11:38:44,473] DEBUG:context.client.ContextClient:Channel created
[2024-02-15 11:38:44,473] INFO:bgpls_speaker.service.tools.DiscoveredDBManager:(AddContextDevices)
[2024-02-15 11:38:44,473] DEBUG:context.client.ContextClient:ListDevices request: {}
[2024-02-15 11:38:44,673] DEBUG:bgpls_speaker.service.tools.DiscoveredDBManager:device_ (AddContextDevices) R155
[2024-02-15 11:38:44,673] DEBUG:bgpls_speaker.service.tools.DiscoveredDBManager:device_ (AddContextDevices) 3.3.3.3
[2024-02-15 11:38:44,673] DEBUG:bgpls_speaker.service.tools.DiscoveredDBManager:device_ (AddContextDevices) R149
[2024-02-15 11:38:44,674] INFO:bgpls_speaker.service.tools.DiscoveredDBManager:(CheckIfNodeInContext) device_names: ['R155', '3.3.3.3', 'R149'] nodena 2.2.2.2
[2024-02-15 11:38:44,674] INFO:bgpls_speaker.service.tools.DiscoveredDBManager:(CheckIfNodeInContext) Node NOT in context
[2024-02-15 11:38:44,674] DEBUG:bgpls_speaker.service.tools.DiscoveredDBManager:(AddToDB) Node NOT in DB!!!
RESPUESTA RECIBIDA
ack: "OK"
[Thread-0] INFO BGP4Server - Update Procesor Thread Reading the message:
BGP4Update Msg: > Path Attibutes:
> [BGP_LS_MP_REACH Link NLRI:
> Local Node Descriptors:
> AutonomousSystemSubTLV [AS_ID=/0.0.0.100]
Loading
Loading full blame…