mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-17 10:21:52 +02:00
Just a small change to make sure the gRPC port of simple_switch_grpc is actually opened after startup, before ONOS gets the netcfg to try to connect to the switch. Otherwise ONOS will receive a TCP RST from the still closed port and the connection fails, rendering the switch devices unavailable. Also included a timeout for port opening. Change-Id: I1338a4ba24a14be57717f636e684c91c4cb12a7c