Network ComplexConfiguratorNetwork

Package: inet.examples.inet.configurator
File: examples/inet/configurator/ComplexConfiguratorNetwork.ned

(no description)

IIntegratedVisualizer IPv4NetworkConfigurator Ieee80211ScalarRadioMedium Ieee80211ScalarRadioMedium AdhocHost AdhocHost AdhocHost Router Router AdhocHost AdhocHost AdhocHost AdhocHost Router Router AdhocHost

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
display bgb=1138,534

Unassigned submodule parameters:

Name Type Default value Description
configurator.minLinkWeight double 1E-3
configurator.config xml xml("")

XML configuration parameters for IP address assignment and adding manual routes

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.addStaticRoutes bool true

add static routes to the routing tables of all nodes to route to all destination interfaces (only where applicable; turn off when config file contains manual routes)

configurator.addDefaultRoutes bool true

add default routes if all routes from a source node go through the same gateway (used only if addStaticRoutes is true)

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)

radioMediumA.neighborCache.refillPeriod double
radioMediumB.neighborCache.refillPeriod double
source.status.initialStatus string "UP"

TODO @signal, @statistic

source.routingTable.forwarding bool
source.routingTable.multicastForwarding bool
source.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

source.pcapRecorder.verbose bool false

whether to log packets on the module output

source.pcapRecorder.pcapFile string ""

the PCAP file to be written

source.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

source.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

source.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

source.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

source.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

source.pcapRecorder.alwaysFlush bool false

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

source.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

source.lo0.lo.mtu int 4470B
wirelessA1.status.initialStatus string "UP"

TODO @signal, @statistic

wirelessA1.routingTable.forwarding bool
wirelessA1.routingTable.multicastForwarding bool
wirelessA1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

wirelessA1.pcapRecorder.verbose bool false

whether to log packets on the module output

wirelessA1.pcapRecorder.pcapFile string ""

the PCAP file to be written

wirelessA1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

wirelessA1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

wirelessA1.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

wirelessA1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

wirelessA1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

wirelessA1.pcapRecorder.alwaysFlush bool false

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

wirelessA1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

wirelessA1.lo0.lo.mtu int 4470B
wirelessA2.status.initialStatus string "UP"

TODO @signal, @statistic

wirelessA2.routingTable.forwarding bool
wirelessA2.routingTable.multicastForwarding bool
wirelessA2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

wirelessA2.pcapRecorder.verbose bool false

whether to log packets on the module output

wirelessA2.pcapRecorder.pcapFile string ""

the PCAP file to be written

wirelessA2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

wirelessA2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

wirelessA2.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

wirelessA2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

wirelessA2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

wirelessA2.pcapRecorder.alwaysFlush bool false

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

wirelessA2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

wirelessA2.lo0.lo.mtu int 4470B
wiredA1.status.initialStatus string "UP"

TODO @signal, @statistic

wiredA1.routingTable.forwarding bool
wiredA1.routingTable.multicastForwarding bool
wiredA1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

wiredA1.pcapRecorder.verbose bool false

whether to log packets on the module output

wiredA1.pcapRecorder.pcapFile string ""

the PCAP file to be written

wiredA1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

wiredA1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

wiredA1.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

wiredA1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

wiredA1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

wiredA1.pcapRecorder.alwaysFlush bool false

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

wiredA1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

wiredA1.bgp.routingTableModule string
wiredA1.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
wiredA1.bgp.dataTransferMode string
wiredA2.status.initialStatus string "UP"

TODO @signal, @statistic

wiredA2.routingTable.forwarding bool
wiredA2.routingTable.multicastForwarding bool
wiredA2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

wiredA2.pcapRecorder.verbose bool false

whether to log packets on the module output

wiredA2.pcapRecorder.pcapFile string ""

the PCAP file to be written

wiredA2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

wiredA2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

wiredA2.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

wiredA2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

wiredA2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

wiredA2.pcapRecorder.alwaysFlush bool false

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

wiredA2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

wiredA2.bgp.routingTableModule string
wiredA2.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
wiredA2.bgp.dataTransferMode string
shared1.status.initialStatus string "UP"

TODO @signal, @statistic

shared1.routingTable.forwarding bool
shared1.routingTable.multicastForwarding bool
shared1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

shared1.pcapRecorder.verbose bool false

whether to log packets on the module output

shared1.pcapRecorder.pcapFile string ""

the PCAP file to be written

shared1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

shared1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

shared1.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

shared1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

shared1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

shared1.pcapRecorder.alwaysFlush bool false

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

shared1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

shared1.lo0.lo.mtu int 4470B
shared2.status.initialStatus string "UP"

TODO @signal, @statistic

shared2.routingTable.forwarding bool
shared2.routingTable.multicastForwarding bool
shared2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

shared2.pcapRecorder.verbose bool false

whether to log packets on the module output

shared2.pcapRecorder.pcapFile string ""

the PCAP file to be written

shared2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

shared2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

shared2.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

shared2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

shared2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

shared2.pcapRecorder.alwaysFlush bool false

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

shared2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

shared2.lo0.lo.mtu int 4470B
wirelessB1.status.initialStatus string "UP"

TODO @signal, @statistic

wirelessB1.routingTable.forwarding bool
wirelessB1.routingTable.multicastForwarding bool
wirelessB1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

wirelessB1.pcapRecorder.verbose bool false

whether to log packets on the module output

wirelessB1.pcapRecorder.pcapFile string ""

the PCAP file to be written

wirelessB1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

wirelessB1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

wirelessB1.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

wirelessB1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

wirelessB1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

wirelessB1.pcapRecorder.alwaysFlush bool false

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

wirelessB1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

wirelessB1.lo0.lo.mtu int 4470B
wirelessB2.status.initialStatus string "UP"

TODO @signal, @statistic

wirelessB2.routingTable.forwarding bool
wirelessB2.routingTable.multicastForwarding bool
wirelessB2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

wirelessB2.pcapRecorder.verbose bool false

whether to log packets on the module output

wirelessB2.pcapRecorder.pcapFile string ""

the PCAP file to be written

wirelessB2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

wirelessB2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

wirelessB2.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

wirelessB2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

wirelessB2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

wirelessB2.pcapRecorder.alwaysFlush bool false

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

wirelessB2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

wirelessB2.lo0.lo.mtu int 4470B
wiredB1.status.initialStatus string "UP"

TODO @signal, @statistic

wiredB1.routingTable.forwarding bool
wiredB1.routingTable.multicastForwarding bool
wiredB1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

wiredB1.pcapRecorder.verbose bool false

whether to log packets on the module output

wiredB1.pcapRecorder.pcapFile string ""

the PCAP file to be written

wiredB1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

wiredB1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

wiredB1.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

wiredB1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

wiredB1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

wiredB1.pcapRecorder.alwaysFlush bool false

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

wiredB1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

wiredB1.bgp.routingTableModule string
wiredB1.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
wiredB1.bgp.dataTransferMode string
wiredB2.status.initialStatus string "UP"

TODO @signal, @statistic

wiredB2.routingTable.forwarding bool
wiredB2.routingTable.multicastForwarding bool
wiredB2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

wiredB2.pcapRecorder.verbose bool false

whether to log packets on the module output

wiredB2.pcapRecorder.pcapFile string ""

the PCAP file to be written

wiredB2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

wiredB2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

wiredB2.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

wiredB2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

wiredB2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

wiredB2.pcapRecorder.alwaysFlush bool false

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

wiredB2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

wiredB2.bgp.routingTableModule string
wiredB2.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
wiredB2.bgp.dataTransferMode string
destination.status.initialStatus string "UP"

TODO @signal, @statistic

destination.routingTable.forwarding bool
destination.routingTable.multicastForwarding bool
destination.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

destination.pcapRecorder.verbose bool false

whether to log packets on the module output

destination.pcapRecorder.pcapFile string ""

the PCAP file to be written

destination.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

destination.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

destination.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

destination.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

destination.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

destination.pcapRecorder.alwaysFlush bool false

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

destination.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

destination.lo0.lo.mtu int 4470B

Source code:

network ComplexConfiguratorNetwork
{
    parameters:
        @display("bgb=1138,534");
    submodules:
        visualizer: <default("IntegratedCanvasVisualizer")> like IIntegratedVisualizer if hasVisualizer() {
            parameters:
                @display("p=200,50");
        }
        configurator: IPv4NetworkConfigurator {
            parameters:
                @display("p=50,50");
        }
        radioMediumA: Ieee80211ScalarRadioMedium {
            parameters:
                @display("p=50,150");
        }
        radioMediumB: Ieee80211ScalarRadioMedium {
            parameters:
                @display("p=50,250");
        }
        source: AdhocHost {
            @display("p=50,271;i=device/laptop");
        }
        wirelessA1: AdhocHost {
            @display("p=201,230");
        }
        wirelessA2: AdhocHost {
            @display("p=334,304");
        }
        wiredA1: Router {
            @display("p=107,458");
        }
        wiredA2: Router {
            @display("p=398,458");
        }
        shared1: AdhocHost {
            @display("p=481,271;i=device/laptop");
        }
        shared2: AdhocHost {
            @display("p=674,271;i=device/laptop");
        }
        wirelessB1: AdhocHost {
            @display("p=822,197");
        }
        wirelessB2: AdhocHost {
            @display("p=925,307");
        }
        wiredB1: Router {
            @display("p=737,82");
        }
        wiredB2: Router {
            @display("p=977,82");
        }
        destination: AdhocHost {
            @display("p=1069,271;i=device/laptop");
        }
    connections:
        source.ethg++ <--> Eth1G <--> wiredA1.ethg++;
        wiredA1.ethg++ <--> Eth1G <--> wiredA2.ethg++;
        wiredA2.ethg++ <--> Eth1G <--> shared1.ethg++;
        shared1.ethg++ <--> Eth1G <--> shared2.ethg++;
        shared2.ethg++ <--> Eth1G <--> wiredB1.ethg++;
        wiredB1.ethg++ <--> Eth1G <--> wiredB2.ethg++;
        wiredB2.ethg++ <--> Eth1G <--> destination.ethg++;
}