EigrpTestNetwork

Package: inet.examples.eigrp.two_node

EigrpTestNetwork

network

(no description)

Ipv4NetworkConfigurator EigrpRouter EigrpRouter StandardHost StandardHost ScenarioManager

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Properties

Name Value Description
isNetwork
display bgb=540,254

Unassigned submodule parameters

Name Type Default value Description
configurator.minLinkWeight double 1E-3
configurator.configureIsolatedNetworksSeparatly bool false
configurator.assignAddresses bool true

assign IP addresses to all interfaces in the network

configurator.assignUniqueAddresses bool true

avoid using the same address and raise an error if not possible

configurator.assignDisjunctSubnetAddresses bool true

avoid using the same address prefix and netmask on different links when assigning IP addresses to interfaces

configurator.addDirectRoutes bool true

add direct routes (i.e. directly connected interfaces) to the routing table (used only if addStaticRoutes is true)

configurator.dumpTopology bool false

print extracted network topology to the module output

configurator.dumpLinks bool false

print recognized network links to the module output

configurator.dumpAddresses bool false

print assigned IP addresses for all interfaces to the module output

configurator.dumpRoutes bool false

print configured and optimized routing tables for all nodes to the module output

configurator.dumpConfig string ""

write configuration into the given config file that can be fed back to speed up subsequent runs (network configurations)

R1.status.initialStatus string "UP"

TODO @signal, @statistic

R1.pcapRecorder.verbose bool true

whether to log packets on the module output

R1.pcapRecorder.pcapFile string ""

the PCAP file to be written

R1.pcapRecorder.fileFormat string "pcapng"
R1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

R1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

R1.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

R1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

R1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

R1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

R1.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

R1.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

R1.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

R1.pcapRecorder.displayStringTextFormat string "rec: %n pks"
R1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

R1.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

R1.cb.forwardServiceRegistration bool true
R1.cb.forwardProtocolRegistration bool true
R1.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

R1.bl.forwardServiceRegistration bool true
R1.bl.forwardProtocolRegistration bool true
R1.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

R1.li.forwardServiceRegistration bool true
R1.li.forwardProtocolRegistration bool true
R1.eth.bitrate double
R1.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

R1.nl.forwardServiceRegistration bool true
R1.nl.forwardProtocolRegistration bool true
R1.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

R1.tn.forwardServiceRegistration bool true
R1.tn.forwardProtocolRegistration bool true
R1.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

R1.at.forwardServiceRegistration bool true
R1.at.forwardProtocolRegistration bool true
R1.bgp.interfaceTableModule string

The path to the InterfaceTable module

R1.bgp.routingTableModule string
R1.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
R2.status.initialStatus string "UP"

TODO @signal, @statistic

R2.pcapRecorder.verbose bool true

whether to log packets on the module output

R2.pcapRecorder.pcapFile string ""

the PCAP file to be written

R2.pcapRecorder.fileFormat string "pcapng"
R2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

R2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

R2.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

R2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

R2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

R2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

R2.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

R2.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

R2.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

R2.pcapRecorder.displayStringTextFormat string "rec: %n pks"
R2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

R2.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

R2.cb.forwardServiceRegistration bool true
R2.cb.forwardProtocolRegistration bool true
R2.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

R2.bl.forwardServiceRegistration bool true
R2.bl.forwardProtocolRegistration bool true
R2.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

R2.li.forwardServiceRegistration bool true
R2.li.forwardProtocolRegistration bool true
R2.eth.bitrate double
R2.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

R2.nl.forwardServiceRegistration bool true
R2.nl.forwardProtocolRegistration bool true
R2.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

R2.tn.forwardServiceRegistration bool true
R2.tn.forwardProtocolRegistration bool true
R2.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

R2.at.forwardServiceRegistration bool true
R2.at.forwardProtocolRegistration bool true
R2.bgp.interfaceTableModule string

The path to the InterfaceTable module

R2.bgp.routingTableModule string
R2.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
LAN1.status.initialStatus string "UP"

TODO @signal, @statistic

LAN1.pcapRecorder.verbose bool true

whether to log packets on the module output

LAN1.pcapRecorder.pcapFile string ""

the PCAP file to be written

LAN1.pcapRecorder.fileFormat string "pcapng"
LAN1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

LAN1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

LAN1.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

LAN1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

LAN1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

LAN1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

LAN1.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

LAN1.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

LAN1.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

LAN1.pcapRecorder.displayStringTextFormat string "rec: %n pks"
LAN1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

LAN1.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

LAN1.cb.forwardServiceRegistration bool true
LAN1.cb.forwardProtocolRegistration bool true
LAN1.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

LAN1.bl.forwardServiceRegistration bool true
LAN1.bl.forwardProtocolRegistration bool true
LAN1.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

LAN1.li.forwardServiceRegistration bool true
LAN1.li.forwardProtocolRegistration bool true
LAN1.eth.bitrate double
LAN1.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

LAN1.nl.forwardServiceRegistration bool true
LAN1.nl.forwardProtocolRegistration bool true
LAN1.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

LAN1.tn.forwardServiceRegistration bool true
LAN1.tn.forwardProtocolRegistration bool true
LAN1.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

LAN1.at.forwardServiceRegistration bool true
LAN1.at.forwardProtocolRegistration bool true
LAN2.status.initialStatus string "UP"

TODO @signal, @statistic

LAN2.pcapRecorder.verbose bool true

whether to log packets on the module output

LAN2.pcapRecorder.pcapFile string ""

the PCAP file to be written

LAN2.pcapRecorder.fileFormat string "pcapng"
LAN2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

LAN2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

LAN2.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

LAN2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

LAN2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

LAN2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

LAN2.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

LAN2.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

LAN2.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

LAN2.pcapRecorder.displayStringTextFormat string "rec: %n pks"
LAN2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

LAN2.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

LAN2.cb.forwardServiceRegistration bool true
LAN2.cb.forwardProtocolRegistration bool true
LAN2.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

LAN2.bl.forwardServiceRegistration bool true
LAN2.bl.forwardProtocolRegistration bool true
LAN2.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

LAN2.li.forwardServiceRegistration bool true
LAN2.li.forwardProtocolRegistration bool true
LAN2.eth.bitrate double
LAN2.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

LAN2.nl.forwardServiceRegistration bool true
LAN2.nl.forwardProtocolRegistration bool true
LAN2.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

LAN2.tn.forwardServiceRegistration bool true
LAN2.tn.forwardProtocolRegistration bool true
LAN2.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

LAN2.at.forwardServiceRegistration bool true
LAN2.at.forwardProtocolRegistration bool true
scenarioManager.script xml xml("")

Source code

network EigrpTestNetwork
{
    @display("bgb=540,254");
    submodules:
        configurator: Ipv4NetworkConfigurator {
            parameters:
                config = xml("<config>"+
                            "<interface among='R1 R2' address='10.0.12.x' netmask='255.255.255.252' />"+
                            "<interface among='R1 LAN1' address='10.0.1.x' netmask='255.255.255.0' />"+
                            "<interface among='R2 LAN2' address='10.0.2.x' netmask='255.255.255.0' />"+
                            "</config>");
                addStaticRoutes = false;
                addDefaultRoutes = false;
                addSubnetRoutes = false;
                optimizeRoutes = false;
                @display("p=29,213");
        }

        R1: EigrpRouter {
            parameters:
                @display("p=67,38");
            gates:
                ethg[2];
        }
        R2: EigrpRouter {
            parameters:
                @display("p=296,38");
            gates:
                ethg[2];
        }
        LAN1: StandardHost {
            @display("p=67,151;i=misc/cloud");
        }
        LAN2: StandardHost {
            @display("p=296,151;i=misc/cloud");
        }
        scenarioManager: ScenarioManager {
            @display("p=117,213");
        }
    connections:
        R1.ethg[0] <--> Eth100M <--> R2.ethg[0];
        R1.ethg[1] <--> Eth100M <--> LAN1.ethg++;
        R2.ethg[1] <--> Eth100M <--> LAN2.ethg++;
}

File: examples/eigrp/two_node/EigrpTestNetwork.ned