Allow user to pass in a factory which produces different RoutingTableToHardware objects when switches connect.