Network OSPF_BackboneTest

Package: inet.examples.ospfv2.areatests
File: examples/ospfv2/areatests/BackboneTest.ned

(no description)

TestArea IPv4NetworkConfigurator ScenarioManager

Usage diagram:

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

Inheritance diagram:

The following diagram shows inheritance relationships for this type. 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.routingTable.forwarding bool
Backbone.H.routingTable.multicastForwarding bool
Backbone.H.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

Backbone.H.pcapRecorder.verbose bool false

whether to log packets on the module output

Backbone.H.pcapRecorder.pcapFile string ""

the PCAP file to be written

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[*] ext[*]"

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.alwaysFlush bool false

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

Backbone.H.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

Backbone.H.lo0.lo.mtu int 4470B
Backbone.R.status.initialStatus string "UP"

TODO @signal, @statistic

Backbone.R.routingTable.forwarding bool
Backbone.R.routingTable.multicastForwarding bool
Backbone.R.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

Backbone.R.pcapRecorder.verbose bool false

whether to log packets on the module output

Backbone.R.pcapRecorder.pcapFile string ""

the PCAP file to be written

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[*] ext[*]"

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.alwaysFlush bool false

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

Backbone.R.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

Backbone.R.lo0.lo.mtu int 4470B
Backbone.R.bgp.interfaceTableModule string

The path to the InterfaceTable module

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

TODO @signal, @statistic

Backbone.B.routingTable.forwarding bool
Backbone.B.routingTable.multicastForwarding bool
Backbone.B.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

Backbone.B.pcapRecorder.verbose bool false

whether to log packets on the module output

Backbone.B.pcapRecorder.pcapFile string ""

the PCAP file to be written

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[*] ext[*]"

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.alwaysFlush bool false

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

Backbone.B.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

Backbone.B.lo0.lo.mtu int 4470B
Backbone.B.bgp.interfaceTableModule string

The path to the InterfaceTable module

Backbone.B.bgp.routingTableModule string
Backbone.B.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
Backbone.B.bgp.dataTransferMode string
configurator.minLinkWeight double 1E-3
configurator.assignAddresses bool true

assign IP addresses to all interfaces in the network

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.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=138,156;b=136,136");
        }
        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=75,43");
        }
        scenarioManager: ScenarioManager {
            @display("p=187,43");
        }
}