RINASim
October 2016
Documentation of framework for OMNeT++
|
#include <IntDCRouting.h>
Public Member Functions | |
bool | processUpdate (IntRoutingUpdate *update) |
void | insertNeighbour (const Address &addr, const DCAddr &dst) |
void | removeNeighbour (const Address &addr, const DCAddr &dst) |
vector< rtEntry > | getChanges () |
vector< rtEntry > | getAll () |
Public Member Functions inherited from IntRouting | |
void | receiveUpdate (IntRoutingUpdate *update) |
Protected Member Functions | |
void | onPolicyInit () |
virtual void | handleMessage (cMessage *msg) |
virtual void | activeNeigh (const DCAddr &dst)=0 |
virtual void | inactiveNeigh (const DCAddr &dst)=0 |
virtual void | printAtEnd ()=0 |
virtual void | startMyLinks ()=0 |
void | scheduleUpdate () |
void | scheduleClean () |
map< DCAddr, tableNode > * | computeTable () |
vector< DCAddr > | getNeis (DCAddr) |
virtual set< DCAddr > | getNotOptimalDst (map< DCAddr, tableNode > *table)=0 |
void | finish () |
Protected Member Functions inherited from IntRouting | |
void | initialize () |
void | sendUpdate (IntRoutingUpdate *update) |
Protected Attributes | |
DCAddr | Im |
cMessage * | clean |
cMessage * | start |
cMessage * | sched |
int | pods |
int | torXpod |
int | fabricXpod |
int | spineXfabric |
int | edgeSets |
simtime_t | updateWait |
simtime_t | expiration |
map< linkId, linkInfo > | myLinks |
map< linkId, linkInfo > | linksOk |
map< linkId, linkInfo > | linksKo |
set< Address > | activeNeighbours |
map< DCAddr, set< const linkId * > > | cache |
Protected Attributes inherited from IntRouting | |
Address | myAddress |
Definition at line 92 of file IntDCRouting.h.
|
protectedpure virtual |
Implemented in NSPSimpleDC::Edge_Routing, NSPSimpleDC::Fabric_Routing, NSPSimpleDC::Spine_Routing, and NSPSimpleDC::TOR_Routing.
Referenced by insertNeighbour().
Definition at line 261 of file IntDCRouting.cc.
Referenced by finish(), getAll(), and getChanges().
|
protectedvirtual |
Reimplemented from IntRouting.
Definition at line 421 of file IntDCRouting.cc.
vector< rtEntry > NSPSimpleDC::IntDCRouting::getAll | ( | ) |
Definition at line 400 of file IntDCRouting.cc.
vector< rtEntry > NSPSimpleDC::IntDCRouting::getChanges | ( | ) |
Definition at line 351 of file IntDCRouting.cc.
Definition at line 320 of file IntDCRouting.cc.
Referenced by computeTable().
|
protectedpure virtual |
Implemented in NSPSimpleDC::Edge_Routing, NSPSimpleDC::Fabric_Routing, NSPSimpleDC::Spine_Routing, and NSPSimpleDC::TOR_Routing.
Referenced by finish(), getAll(), and getChanges().
|
protectedvirtual |
Definition at line 80 of file IntDCRouting.cc.
|
protectedpure virtual |
Implemented in NSPSimpleDC::Edge_Routing, NSPSimpleDC::Fabric_Routing, NSPSimpleDC::Spine_Routing, and NSPSimpleDC::TOR_Routing.
Referenced by removeNeighbour().
Definition at line 233 of file IntDCRouting.cc.
|
protectedvirtual |
Implements IntRouting.
Definition at line 137 of file IntDCRouting.cc.
|
protectedpure virtual |
Implemented in NSPSimpleDC::Edge_Routing, NSPSimpleDC::Fabric_Routing, NSPSimpleDC::Spine_Routing, and NSPSimpleDC::TOR_Routing.
Referenced by finish().
|
virtual |
Implements IntRouting.
Definition at line 160 of file IntDCRouting.cc.
Definition at line 239 of file IntDCRouting.cc.
|
protected |
Definition at line 252 of file IntDCRouting.cc.
Referenced by processUpdate().
|
protected |
Definition at line 245 of file IntDCRouting.cc.
Referenced by NSPSimpleDC::Edge_Routing::activeNeigh(), NSPSimpleDC::TOR_Routing::activeNeigh(), NSPSimpleDC::Fabric_Routing::activeNeigh(), NSPSimpleDC::Spine_Routing::activeNeigh(), NSPSimpleDC::Fabric_Routing::inactiveNeigh(), NSPSimpleDC::TOR_Routing::inactiveNeigh(), NSPSimpleDC::Edge_Routing::inactiveNeigh(), NSPSimpleDC::Spine_Routing::inactiveNeigh(), and processUpdate().
|
protectedpure virtual |
Implemented in NSPSimpleDC::Edge_Routing, NSPSimpleDC::Fabric_Routing, NSPSimpleDC::Spine_Routing, and NSPSimpleDC::TOR_Routing.
Referenced by onPolicyInit().
|
protected |
Definition at line 113 of file IntDCRouting.h.
Referenced by handleMessage(), insertNeighbour(), and removeNeighbour().
Definition at line 115 of file IntDCRouting.h.
Referenced by getAll(), and getChanges().
|
protected |
Definition at line 108 of file IntDCRouting.h.
Referenced by handleMessage(), onPolicyInit(), and scheduleClean().
|
protected |
Definition at line 109 of file IntDCRouting.h.
Referenced by computeTable(), getNeis(), NSPSimpleDC::Edge_Routing::getNotOptimalDst(), onPolicyInit(), and NSPSimpleDC::Spine_Routing::startMyLinks().
|
protected |
Definition at line 110 of file IntDCRouting.h.
Referenced by handleMessage(), onPolicyInit(), processUpdate(), and scheduleClean().
|
protected |
Definition at line 109 of file IntDCRouting.h.
Referenced by computeTable(), getNeis(), NSPSimpleDC::TOR_Routing::getNotOptimalDst(), onPolicyInit(), and NSPSimpleDC::TOR_Routing::startMyLinks().
|
protected |
Definition at line 106 of file IntDCRouting.h.
Referenced by NSPSimpleDC::Edge_Routing::activeNeigh(), NSPSimpleDC::Fabric_Routing::activeNeigh(), NSPSimpleDC::TOR_Routing::activeNeigh(), NSPSimpleDC::Spine_Routing::activeNeigh(), computeTable(), finish(), getAll(), getChanges(), NSPSimpleDC::Spine_Routing::getNotOptimalDst(), NSPSimpleDC::TOR_Routing::getNotOptimalDst(), NSPSimpleDC::Fabric_Routing::getNotOptimalDst(), NSPSimpleDC::Edge_Routing::getNotOptimalDst(), NSPSimpleDC::Edge_Routing::inactiveNeigh(), NSPSimpleDC::TOR_Routing::inactiveNeigh(), NSPSimpleDC::Spine_Routing::inactiveNeigh(), NSPSimpleDC::Fabric_Routing::inactiveNeigh(), onPolicyInit(), processUpdate(), NSPSimpleDC::TOR_Routing::startMyLinks(), NSPSimpleDC::Spine_Routing::startMyLinks(), NSPSimpleDC::Fabric_Routing::startMyLinks(), and NSPSimpleDC::Edge_Routing::startMyLinks().
Definition at line 112 of file IntDCRouting.h.
Referenced by NSPSimpleDC::Edge_Routing::activeNeigh(), NSPSimpleDC::Fabric_Routing::activeNeigh(), NSPSimpleDC::Spine_Routing::activeNeigh(), NSPSimpleDC::TOR_Routing::activeNeigh(), computeTable(), finish(), handleMessage(), NSPSimpleDC::TOR_Routing::inactiveNeigh(), NSPSimpleDC::Edge_Routing::inactiveNeigh(), NSPSimpleDC::Fabric_Routing::inactiveNeigh(), NSPSimpleDC::Spine_Routing::inactiveNeigh(), processUpdate(), NSPSimpleDC::Fabric_Routing::startMyLinks(), NSPSimpleDC::Spine_Routing::startMyLinks(), NSPSimpleDC::Edge_Routing::startMyLinks(), and NSPSimpleDC::TOR_Routing::startMyLinks().
Definition at line 112 of file IntDCRouting.h.
Referenced by handleMessage(), and processUpdate().
Definition at line 112 of file IntDCRouting.h.
Referenced by NSPSimpleDC::Edge_Routing::activeNeigh(), NSPSimpleDC::Fabric_Routing::activeNeigh(), NSPSimpleDC::Spine_Routing::activeNeigh(), NSPSimpleDC::TOR_Routing::activeNeigh(), computeTable(), finish(), NSPSimpleDC::Spine_Routing::inactiveNeigh(), NSPSimpleDC::Edge_Routing::inactiveNeigh(), NSPSimpleDC::Fabric_Routing::inactiveNeigh(), NSPSimpleDC::TOR_Routing::inactiveNeigh(), processUpdate(), NSPSimpleDC::Edge_Routing::startMyLinks(), NSPSimpleDC::TOR_Routing::startMyLinks(), NSPSimpleDC::Fabric_Routing::startMyLinks(), and NSPSimpleDC::Spine_Routing::startMyLinks().
|
protected |
Definition at line 109 of file IntDCRouting.h.
Referenced by computeTable(), getNeis(), NSPSimpleDC::Spine_Routing::getNotOptimalDst(), onPolicyInit(), and NSPSimpleDC::Spine_Routing::startMyLinks().
|
protected |
Definition at line 108 of file IntDCRouting.h.
Referenced by handleMessage(), onPolicyInit(), and scheduleUpdate().
|
protected |
Definition at line 109 of file IntDCRouting.h.
Referenced by computeTable(), getNeis(), NSPSimpleDC::Fabric_Routing::getNotOptimalDst(), NSPSimpleDC::Edge_Routing::getNotOptimalDst(), onPolicyInit(), NSPSimpleDC::Fabric_Routing::startMyLinks(), and NSPSimpleDC::Edge_Routing::startMyLinks().
|
protected |
Definition at line 108 of file IntDCRouting.h.
Referenced by NSPSimpleDC::Edge_Routing::activeNeigh(), NSPSimpleDC::TOR_Routing::activeNeigh(), NSPSimpleDC::Fabric_Routing::activeNeigh(), NSPSimpleDC::Spine_Routing::activeNeigh(), handleMessage(), onPolicyInit(), and scheduleUpdate().
|
protected |
Definition at line 109 of file IntDCRouting.h.
Referenced by computeTable(), getNeis(), NSPSimpleDC::Fabric_Routing::getNotOptimalDst(), onPolicyInit(), and NSPSimpleDC::Fabric_Routing::startMyLinks().
|
protected |
Definition at line 110 of file IntDCRouting.h.
Referenced by onPolicyInit(), and scheduleUpdate().