12 #ifndef SSTMAC_HARDWARE_NETWORK_SWTICHES_ROUTING_FATTREESDNROUTER_H_INCLUDED 13 #define SSTMAC_HARDWARE_NETWORK_SWTICHES_ROUTING_FATTREESDNROUTER_H_INCLUDED 50 return ((flow_id == mf.
flow_id) &&
57 typedef std::pair <Match_Fields, std::vector <Action> >
Entry;
64 const std::vector <Action> & actions);
The sdn_router class Router encapsulating the special routing computations that must occur on a fat t...
virtual std::string to_string() const
void add_entry(const int table_id, const Match_Fields &match, const std::vector< Action > &actions)
virtual void route(packet *pkt)
The structured_router class Implements a router that computes path on-the-fly using the geometry of t...
sdn_router(routing::algorithm_t algo)
std::pair< Match_Fields, std::vector< Action > > Entry
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
std::vector< SDN_Table > tables
bool operator==(const Match_Fields &mf) const
std::vector< Entry > SDN_Table
Match_Fields * get_packet_metadata(packet *pkt) const