RoutingTableRecorder

Package: inet.networklayer.ipv4

RoutingTableRecorder

simple module

C++ definition

Records changes in the routing tables (~Ipv4RoutingTable) and interface tables (~InterfaceTable) of all hosts and routers. The filename has to be specified in the routinglog-file configuration option that this module registers.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Used in

Name Type Description
AODVNetwork network (no description)
AODVNetwork network

AODV network with an external Ethernet-connected host that can receive traffic from the wireless AODV network. The router acts as the gateway between the wireless AODV network and the wired Ethernet network.

BGP_Basic_Topology network (no description)
BGP_LOCAL_PREF network (no description)
BGP_Topology_1 network (no description)
BGP_Topology_1a network (no description)
BGP_Topology_2 network (no description)
BGP_Topology_3 network (no description)
BGP_Topology_4 network (no description)
DsdvNetwork network

TODO

DYMONetwork network

TODO

DynamicTest network (no description)
Freshness network (no description)
GPSRNetworkManual network (no description)
GPSRNetworkRandom network

TODO

Hierarchical99 network

This hierarchical network topology contains 3 levels, 72 hosts and 27 routers.

InterfaceNetworkType network (no description)
Multihop_EBGP network (no description)
NeighborCacheTest network (no description)
Network network (no description)
Network2 network (no description)
OSPF_Area_External_Forwarding network (no description)
OSPF_AreaTest network (no description)
OSPF_Default_Route_Distribution network (no description)
OSPF_LoopAvoidance network (no description)
OSPF_Route_Selection network (no description)
OSPF_Suboptimal network (no description)
OSPF_Summary_LSA network (no description)
OspfNetwork network (no description)
RouterLSA network (no description)
ShortestPath network (no description)
SimpleRREQ network (no description)
SimpleRREQ2 network (no description)
SimpleTest network (no description)
TopologyChange network (no description)
VirtualLink network (no description)
VirtualLink_2 network (no description)

Extends

Name Type Description
SimpleModule simple module

Base module for all INET simple modules.

Parameters

Name Type Default value Description
displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

enabled bool true
logfile string "${resultdir}/${configname}-#${runnumber}.rt"

Properties

Name Value Description
class RoutingTableRecorder
display i=block/control

Source code

//
// Records changes in the routing tables (~Ipv4RoutingTable) and interface tables
// (~InterfaceTable) of all hosts and routers. The filename has to be specified
// in the routinglog-file configuration option that this module registers.
//
simple RoutingTableRecorder extends SimpleModule
{
    parameters:
        @class(RoutingTableRecorder);
        bool enabled = default(true);
        string logfile = default("${resultdir}/${configname}-#${runnumber}.rt");
        @display("i=block/control");
}

File: src/inet/networklayer/ipv4/RoutingTableRecorder.ned