RINASim
October 2016
Documentation of framework for OMNeT++
|
#include <RA.h>
Public Member Functions | |
virtual void | createNM1Flow (Flow *flow) |
virtual void | createNM1FlowWithoutAllocate (Flow *flow) |
virtual void | removeNM1Flow (Flow *flow) |
virtual void | removeNM1FlowBindings (NM1FlowTableItem *ftItem) |
virtual void | createNFlow (Flow *flow) |
virtual bool | bindNFlowToNM1Flow (Flow *flow) |
virtual void | blockNM1PortOutput (NM1FlowTableItem *ftItem) |
virtual void | unblockNM1PortOutput (NM1FlowTableItem *ftItem) |
virtual NM1FlowTable * | getFlowTable () |
virtual bool | hasFlow (std::string addr, std::string qosId) |
virtual bool | sleepFlow (Flow *flow, simtime_t wakeUp) |
virtual void | postNFlowAllocation (Flow *flow) |
virtual void | postNM1FlowAllocation (NM1FlowTableItem *ftItem) |
![]() | |
RABase () | |
virtual | ~RABase () |
const QoSCubeSet & | getQoSCubes () const |
const QoSCube * | getQoSCubeById (std::string qosId) const |
Protected Member Functions | |
virtual void | initialize (int stage) |
int | numInitStages () const |
virtual void | handleMessage (cMessage *msg) |
Private Member Functions | |
void | initQoSCubes () |
QoSReq * | initQoSReqById (const char *id) |
void | initSignalsAndListeners () |
void | initFlowAlloc () |
void | setRMTMode () |
void | bindMediumToRMT () |
RMTPort * | bindNM1FlowToRMT (cModule *ipc, FABase *fab, Flow *flow) |
std::string | normalizePortID (std::string ipcName, int flowPortID) |
void | signalizeCreateFlowPositiveToRIBd (Flow *flow) |
void | signalizeCreateFlowNegativeToRIBd (Flow *flow) |
void | signalizeSlowdownRequestToRIBd (cPacket *pdu) |
void | signalizeSlowdownRequestToEFCP (cObject *obj) |
void | signalizeMgmtAllocToEnrollment (APNIPair *apnip) |
void | signalizeMgmtDeallocToEnrollment (Flow *flow) |
Private Attributes | |
DA * | difAllocator |
cModule * | thisIPC |
cModule * | rmtModule |
RMT * | rmt |
RMTModuleAllocator * | rmtAllocator |
FABase * | fa |
NM1FlowTable * | flowTable |
QueueAllocBase * | qAllocPolicy |
IntPDUFG * | fwdtg |
std::string | processName |
std::map< simtime_t, std::list< Flow * > * > | preAllocs |
std::map< simtime_t, std::list< Flow * > * > | preDeallocs |
std::map< std::string, std::list< Flow * > * > | pendingFlows |
QoSReq | mgmtReqs |
simsignal_t | sigRACreFloPosi |
simsignal_t | sigRACreFloNega |
simsignal_t | sigRASDReqFromRMT |
simsignal_t | sigRASDReqFromRIB |
simsignal_t | sigRAMgmtAllocd |
simsignal_t | sigRAMgmtDeallocd |
LisRACreFlow * | lisRACreFlow |
LisRAAllocResPos * | lisRAAllocResPos |
LisRACreAllocResPos * | lisRACreAllocResPos |
LisRACreResPosi * | lisRACreResPosi |
LisRADelFlow * | lisRADelFlow |
LisEFCPStopSending * | lisEFCPStopSending |
LisEFCPStartSending * | lisEFCPStartSending |
LisRMTSlowdownRequest * | lisRMTSDReq |
LisRIBCongNotif * | lisRIBCongNotif |
Additional Inherited Members | |
![]() | |
QoSCubeSet | QoSCubes |
|
private |
Connects the medium defined in NED to the RMT module. Used only for bottom IPC processes in a computing systems.
Definition at line 389 of file RA.cc.
Referenced by setRMTMode().
|
virtual |
Connects the specified (N-1)-flow to the RMT.
bottomIPC | IPC process containing the (N-1)-flow |
fab | the (N-1)-FA |
flow | the (N-1)-flow |
Definition at line 427 of file RA.cc.
Referenced by createNM1Flow(), and createNM1FlowWithoutAllocate().
|
virtual |
|
virtual |
Invokes allocation of an (N)-flow (used for allocation of management flows).
flow | specified flow object |
Implements RABase.
Definition at line 477 of file RA.cc.
Referenced by handleMessage().
|
virtual |
Invokes allocation of an (N-1)-flow (this is the mechanism behind Allocate() call).
flow | specified flow object |
Implements RABase.
Definition at line 487 of file RA.cc.
Referenced by bindNFlowToNM1Flow(), and handleMessage().
|
virtual |
|
virtual |
|
protectedvirtual |
|
virtual |
|
private |
Definition at line 182 of file RA.cc.
Referenced by initialize().
|
protectedvirtual |
|
private |
Initializes QoS cubes from given XML configuration directive.
Definition at line 303 of file RA.cc.
Referenced by initialize().
|
private |
Initializes QoS requirement identified by given id
id | ID of the QoSReq to be initialized |
Definition at line 361 of file RA.cc.
Referenced by initFlowAlloc().
|
private |
Definition at line 141 of file RA.cc.
Referenced by initialize().
|
private |
Prefixes given port-id (originally returned by an FAI) with IPC process's ID to prevent name collisions in current IPC process.
ipcName | module identifier of an underlying IPC process |
flowPortID | original portId to be expanded |
Definition at line 465 of file RA.cc.
Referenced by bindNM1FlowToRMT().
|
virtual |
|
virtual |
|
virtual |
Removes specified (N-1)-flow and bindings (this is the mechanism behind Deallocate() call).
flow | specified flow object |
Implements RABase.
Definition at line 714 of file RA.cc.
Referenced by handleMessage().
|
virtual |
|
private |
Sets up RMT's mode of operation by "recursion level" of this IPC process
Definition at line 277 of file RA.cc.
Referenced by initialize().
|
private |
Definition at line 813 of file RA.cc.
Referenced by createNM1FlowWithoutAllocate().
|
private |
Definition at line 808 of file RA.cc.
Referenced by createNM1FlowWithoutAllocate().
|
private |
Definition at line 831 of file RA.cc.
Referenced by postNM1FlowAllocation().
|
private |
|
privatevirtual |
|
privatevirtual |
|
virtual |
|
private |
Definition at line 87 of file RA.h.
Referenced by createNM1Flow(), createNM1FlowWithoutAllocate(), and initialize().
|
private |
Definition at line 92 of file RA.h.
Referenced by createNFlow(), and initialize().
|
private |
Definition at line 93 of file RA.h.
Referenced by bindNFlowToNM1Flow(), bindNM1FlowToRMT(), createNM1Flow(), createNM1FlowWithoutAllocate(), getFlowTable(), hasFlow(), initialize(), postNFlowAllocation(), removeNM1Flow(), removeNM1FlowBindings(), and sleepFlow().
|
private |
Definition at line 97 of file RA.h.
Referenced by bindNFlowToNM1Flow(), createNM1Flow(), createNM1FlowWithoutAllocate(), initialize(), and removeNM1FlowBindings().
|
private |
Definition at line 127 of file RA.h.
Referenced by initSignalsAndListeners().
|
private |
Definition at line 126 of file RA.h.
Referenced by initSignalsAndListeners().
|
private |
Definition at line 122 of file RA.h.
Referenced by initSignalsAndListeners().
|
private |
Definition at line 123 of file RA.h.
Referenced by initSignalsAndListeners().
|
private |
Definition at line 121 of file RA.h.
Referenced by initSignalsAndListeners().
|
private |
Definition at line 124 of file RA.h.
Referenced by initSignalsAndListeners().
|
private |
Definition at line 125 of file RA.h.
Referenced by initSignalsAndListeners().
|
private |
Definition at line 130 of file RA.h.
Referenced by initSignalsAndListeners().
|
private |
Definition at line 129 of file RA.h.
Referenced by initSignalsAndListeners().
|
private |
Definition at line 103 of file RA.h.
Referenced by initFlowAlloc(), and initQoSCubes().
|
private |
|
private |
Definition at line 100 of file RA.h.
Referenced by handleMessage(), initFlowAlloc(), and sleepFlow().
|
private |
Definition at line 101 of file RA.h.
Referenced by handleMessage(), initFlowAlloc(), and sleepFlow().
|
private |
Definition at line 99 of file RA.h.
Referenced by bindNFlowToNM1Flow(), initFlowAlloc(), and initialize().
|
private |
Definition at line 94 of file RA.h.
Referenced by bindMediumToRMT(), bindNM1FlowToRMT(), initialize(), and postNFlowAllocation().
|
private |
Definition at line 90 of file RA.h.
Referenced by bindNFlowToNM1Flow(), hasFlow(), initialize(), postNFlowAllocation(), and setRMTMode().
|
private |
Definition at line 91 of file RA.h.
Referenced by bindMediumToRMT(), bindNM1FlowToRMT(), initialize(), postNFlowAllocation(), and removeNM1FlowBindings().
|
private |
Definition at line 89 of file RA.h.
Referenced by bindMediumToRMT(), bindNM1FlowToRMT(), initialize(), and removeNM1FlowBindings().
|
private |
Definition at line 115 of file RA.h.
Referenced by initSignalsAndListeners(), and signalizeCreateFlowNegativeToRIBd().
|
private |
Definition at line 114 of file RA.h.
Referenced by initSignalsAndListeners(), and signalizeCreateFlowPositiveToRIBd().
|
private |
Definition at line 118 of file RA.h.
Referenced by initSignalsAndListeners(), and signalizeMgmtAllocToEnrollment().
|
private |
Definition at line 119 of file RA.h.
Referenced by initSignalsAndListeners(), and signalizeMgmtDeallocToEnrollment().
|
private |
Definition at line 117 of file RA.h.
Referenced by initSignalsAndListeners(), and signalizeSlowdownRequestToEFCP().
|
private |
Definition at line 116 of file RA.h.
Referenced by initSignalsAndListeners(), and signalizeSlowdownRequestToRIBd().
|
private |
Definition at line 88 of file RA.h.
Referenced by bindMediumToRMT(), bindNM1FlowToRMT(), initialize(), initSignalsAndListeners(), removeNM1FlowBindings(), and setRMTMode().