A simulation of Link State Routing Protocol. You need routers in a separate .txt file in format : 2 B 6.5 5001 F 2.2 5005
2 indicates the number of neighbors of the router. B is a neighboring router with a weight of 6.5 and port no. 5001. Execute code in format LSR.py A 5000 ConfigA.txt