This project is going to simulating a router protocol. According to the spec, this protocol should be similar to OSPF(Open Shortest Path First). This programe should implete four things.
- Broadcast the LSDB(Link State Database) of itself
- Forward the LSDB of others and filter those received before for avoiding boardcast storm.
- Dealing with some nodes disconnect and reconnect.
- Update the LSDB in a fixed period and compute the shortest path to each other nodes as soon as the LSDB is updated.
This repo implements all requirements and get full marks.