Yuri Melnikov
Yuri Melnikov
The IP addressing is simple: both helping and restarting speakers are assigned an IP address in 172.0.0.0/8. My helping speaker (reflector) has the static configuration: ``` [global.config] as = 65000...
**Initial startup of the restarting speaker**: ``` # Start speaker api = gobgp_pb2_grpc.GobgpApiStub(grpc.insecure_channel(f'{host_ip}:{port}')) global_params = {'as': 65000, 'router_id': 192.168.200.1, 'listen_port': -1} global_config = gobgp_pb2.Global(**global_params) request_params = {'global': global_config} api.StartBgp(gobgp_pb2.StartBgpRequest(**request_params)) #...
**Quiet termination of the restarting speaker**: ``` kill -2 $(ps | grep gobgpd | awk '{split($1,a," ");print a[1]}') ```
**Restarting on a different IP address**: ``` # Start speaker api = gobgp_pb2_grpc.GobgpApiStub(grpc.insecure_channel(f'{host_ip}:{port}')) global_params = {'as': 65000, 'router_id': 192.168.200.1, 'listen_port': -1} global_config = gobgp_pb2.Global(**global_params) request_params = {'global': global_config} api.StartBgp(gobgp_pb2.StartBgpRequest(**request_params)) #...
@ton31337 Please find a simplistic test code reproducing the issue: https://github.com/vernor1/bgp-graceful-restart All steps are described in README, the only requirement to run the code is Docker Desktop.