[][src]Module rustasim::network::routing

Self contained module for initial routing utilities

A lot of research is going into dynamic routing, this doesn't take place here, just the standard initial map. This may change in the future, I'm not sure...

Functions

build_clos

Builds a folded CLOS network with u uplinks and d downlinks

build_fc

Builds a fully connected network

connect

Bi-directionally connects src with dst in the net Netowrk

route_all

Very similar to route_id, but returns all minimally-equal paths

route_id

Given network a map of nodes and their neighbours, find the routing table for the given id

Type Definitions

Network

Convenient wrapper for the network description