finish all the routing table generationg for switches