OSPF_BackboneTest

Package: inet.examples.ospfv2.areatests

OSPF_BackboneTest

network

(no description)

TestArea Ipv4NetworkConfigurator ScenarioManager

Usage diagram

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

Properties

Name Value Description
isNetwork

Unassigned submodule parameters

Name Type Default value Description
Backbone.H.status.initialStatus string "UP"

TODO @signal, @statistic

Backbone.H.pcapRecorder.verbose bool true

whether to log packets on the module output

Backbone.H.pcapRecorder.pcapFile string ""

the PCAP file to be written

Backbone.H.pcapRecorder.fileFormat string "pcapng"
Backbone.H.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

Backbone.H.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

Backbone.H.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

Backbone.H.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

Backbone.H.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

Backbone.H.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

Backbone.H.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

Backbone.H.pcapRecorder.helpers string ""

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

Backbone.H.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

Backbone.H.at.forwardServiceRegistration bool true
Backbone.H.at.forwardProtocolRegistration bool true
Backbone.N.macTable.agingTime double
Backbone.N.macTable.forwardingTableFile string
Backbone.N.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

Backbone.N.l2NodeConfigurator.interfaceTableModule string
Backbone.N.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

the absolute path to the ~L2NetworkConfigurator; use "" if there is no configurator

Backbone.N.status.initialStatus string "UP"

TODO @signal, @statistic

Backbone.N.pcapRecorder.verbose bool true

whether to log packets on the module output

Backbone.N.pcapRecorder.pcapFile string ""

the PCAP file to be written

Backbone.N.pcapRecorder.fileFormat string "pcapng"
Backbone.N.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

Backbone.N.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

Backbone.N.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

Backbone.N.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

Backbone.N.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

Backbone.N.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

Backbone.N.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

Backbone.N.pcapRecorder.helpers string ""

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

Backbone.N.pcapRecorder.alwaysFlush bool false

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

Backbone.N.pcapRecorder.displayStringTextFormat string "rec: %n pks"
Backbone.N.stp.helloTime double
Backbone.N.stp.forwardDelay double
Backbone.N.stp.maxAge double
Backbone.N.stp.bridgePriority int
Backbone.N.stp.visualize bool
Backbone.N.sc.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

Backbone.N.sc.forwardServiceRegistration bool true
Backbone.N.sc.forwardProtocolRegistration bool true
Backbone.N.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

Backbone.N.li.forwardServiceRegistration bool true
Backbone.N.li.forwardProtocolRegistration bool true
Backbone.N.cutthrough.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

Backbone.N.cutthrough.forwardServiceRegistration bool true
Backbone.N.cutthrough.forwardProtocolRegistration bool true
Backbone.N.eth.bitrate double
Backbone.R.status.initialStatus string "UP"

TODO @signal, @statistic

Backbone.R.pcapRecorder.verbose bool true

whether to log packets on the module output

Backbone.R.pcapRecorder.pcapFile string ""

the PCAP file to be written

Backbone.R.pcapRecorder.fileFormat string "pcapng"
Backbone.R.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

Backbone.R.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

Backbone.R.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

Backbone.R.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

Backbone.R.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

Backbone.R.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

Backbone.R.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

Backbone.R.pcapRecorder.helpers string ""

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

Backbone.R.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

Backbone.R.at.forwardServiceRegistration bool true
Backbone.R.at.forwardProtocolRegistration bool true
Backbone.R.bgp.interfaceTableModule string

The path to the InterfaceTable module

Backbone.R.bgp.routingTableModule string
Backbone.R.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
Backbone.B.status.initialStatus string "UP"

TODO @signal, @statistic

Backbone.B.pcapRecorder.verbose bool true

whether to log packets on the module output

Backbone.B.pcapRecorder.pcapFile string ""

the PCAP file to be written

Backbone.B.pcapRecorder.fileFormat string "pcapng"
Backbone.B.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

Backbone.B.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

Backbone.B.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

Backbone.B.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

Backbone.B.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

Backbone.B.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

Backbone.B.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

Backbone.B.pcapRecorder.helpers string ""

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

Backbone.B.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

Backbone.B.at.forwardServiceRegistration bool true
Backbone.B.at.forwardProtocolRegistration bool true
Backbone.B.bgp.interfaceTableModule string

The path to the InterfaceTable module

Backbone.B.bgp.routingTableModule string
Backbone.B.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
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.addSubnetRoutes bool true

add subnet routes instead of destination interface routes (only where applicable; used only if addStaticRoutes is true)

configurator.addDirectRoutes bool true

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

configurator.optimizeRoutes bool true

optimize routing tables by merging routes, the resulting routing table might route more packets than the original (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)

scenarioManager.script xml xml("")

Source code

network OSPF_BackboneTest
{
    submodules:
        Backbone: TestArea {
            parameters:
                numHosts = 10;
                @display("p=300,150;b=100,100");
        }
        configurator: Ipv4NetworkConfigurator {
            parameters:
                //                            "<route hosts='Backbone.R[*]' destination='224.0.0.0' netmask='240.0.0.0' interface='eth0' />"+
                //                            "<route hosts='Backbone.R[*]' destination='224.0.0.0' netmask='240.0.0.0' interface='eth0' />"+
                config = xml("<config>"+
                            "<interface hosts='Backbone.*' address='192.168.1.x' netmask='255.255.255.x' />"+
                            "<multicast-group hosts='Backbone.R[*]' address='224.0.0.5 224.0.0.6' />"+
                            "<route hosts='Backbone.H[*]' destination='*' netmask='0.0.0.0' interface='eth0' />"+
//                            "<route hosts='Backbone.R[*]' destination='224.0.0.0' netmask='240.0.0.0' interface='eth0' />"+
                            "<route hosts='Backbone.R[*]' destination='224.0.0.0' netmask='240.0.0.0' interface='eth1' />"+
                            "<route hosts='Backbone.R[*]' destination='224.0.0.0' netmask='240.0.0.0' interface='eth2' />"+
                            "</config>");
                addStaticRoutes = false;
                addDefaultRoutes = false;
                @display("p=100,100;is=s");
        }
        scenarioManager: ScenarioManager {
            @display("p=100,200;is=s");
        }
}

File: examples/ospfv2/areatests/BackboneTest.ned