Network ConfiguratorF

Package: inet.tutorials.configurator
File: tutorials/configurator/ConfiguratorF.ned

(no description)

Router WirelessHost WirelessHost WirelessHost StandardHost StandardHost StandardHost Router EtherSwitch IPv4NetworkConfigurator Ieee80211ScalarRadioMedium IntegratedCanvasVisualizer Router AccessPoint WirelessHost WirelessHost WirelessHost

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=1426.212,959.112

Unassigned submodule parameters:

Name Type Default value Description
area1router.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

area1router.pcapRecorder.verbose bool false

whether to log packets on the module output

area1router.pcapRecorder.pcapFile string ""

the PCAP file to be written

area1router.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

area1router.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

area1router.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

area1router.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

area1router.pcapRecorder.alwaysFlush bool false

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

area1router.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

area1router.bgp.routingTableModule string
area1router.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
area1router.bgp.dataTransferMode string
area1host1.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

area1host1.pcapRecorder.verbose bool false

whether to log packets on the module output

area1host1.pcapRecorder.pcapFile string ""

the PCAP file to be written

area1host1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

area1host1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

area1host1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

area1host1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

area1host1.pcapRecorder.alwaysFlush bool false

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

area1host1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

area1host1.lo0.lo.mtu int 4470B
area1host3.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

area1host3.pcapRecorder.verbose bool false

whether to log packets on the module output

area1host3.pcapRecorder.pcapFile string ""

the PCAP file to be written

area1host3.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

area1host3.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

area1host3.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

area1host3.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

area1host3.pcapRecorder.alwaysFlush bool false

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

area1host3.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

area1host3.lo0.lo.mtu int 4470B
area1host2.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

area1host2.pcapRecorder.verbose bool false

whether to log packets on the module output

area1host2.pcapRecorder.pcapFile string ""

the PCAP file to be written

area1host2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

area1host2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

area1host2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

area1host2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

area1host2.pcapRecorder.alwaysFlush bool false

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

area1host2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

area1host2.lo0.lo.mtu int 4470B
area3host3.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

area3host3.pcapRecorder.verbose bool false

whether to log packets on the module output

area3host3.pcapRecorder.pcapFile string ""

the PCAP file to be written

area3host3.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

area3host3.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

area3host3.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

area3host3.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

area3host3.pcapRecorder.alwaysFlush bool false

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

area3host3.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

area3host3.lo0.lo.mtu int 4470B
area3host2.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

area3host2.pcapRecorder.verbose bool false

whether to log packets on the module output

area3host2.pcapRecorder.pcapFile string ""

the PCAP file to be written

area3host2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

area3host2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

area3host2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

area3host2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

area3host2.pcapRecorder.alwaysFlush bool false

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

area3host2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

area3host2.lo0.lo.mtu int 4470B
area3host1.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

area3host1.pcapRecorder.verbose bool false

whether to log packets on the module output

area3host1.pcapRecorder.pcapFile string ""

the PCAP file to be written

area3host1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

area3host1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

area3host1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

area3host1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

area3host1.pcapRecorder.alwaysFlush bool false

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

area3host1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

area3host1.lo0.lo.mtu int 4470B
area3router.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

area3router.pcapRecorder.verbose bool false

whether to log packets on the module output

area3router.pcapRecorder.pcapFile string ""

the PCAP file to be written

area3router.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

area3router.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

area3router.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

area3router.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

area3router.pcapRecorder.alwaysFlush bool false

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

area3router.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

area3router.bgp.routingTableModule string
area3router.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
area3router.bgp.dataTransferMode string
area3Switch.status.initialStatus string "UP"

TODO @signal, @statistic

area3Switch.l2NodeConfigurator.interfaceTableModule string
area3Switch.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

area3Switch.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

area3Switch.macTable.agingTime double
area3Switch.macTable.addressTableFile string
area3Switch.stp.helloTime double
area3Switch.stp.forwardDelay double
area3Switch.stp.maxAge double
area3Switch.stp.bridgePriority int
area3Switch.stp.visualize bool
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)

radioMedium.neighborCache.refillPeriod double
area2router.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

area2router.pcapRecorder.verbose bool false

whether to log packets on the module output

area2router.pcapRecorder.pcapFile string ""

the PCAP file to be written

area2router.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

area2router.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

area2router.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

area2router.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

area2router.pcapRecorder.alwaysFlush bool false

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

area2router.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

area2router.bgp.routingTableModule string
area2router.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
area2router.bgp.dataTransferMode string
area2AP.status.initialStatus string "UP"

TODO @signal, @statistic

area2AP.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

area2AP.macTable.agingTime double
area2AP.macTable.addressTableFile string
area2host1.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

area2host1.pcapRecorder.verbose bool false

whether to log packets on the module output

area2host1.pcapRecorder.pcapFile string ""

the PCAP file to be written

area2host1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

area2host1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

area2host1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

area2host1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

area2host1.pcapRecorder.alwaysFlush bool false

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

area2host1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

area2host1.lo0.lo.mtu int 4470B
area2host2.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

area2host2.pcapRecorder.verbose bool false

whether to log packets on the module output

area2host2.pcapRecorder.pcapFile string ""

the PCAP file to be written

area2host2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

area2host2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

area2host2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

area2host2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

area2host2.pcapRecorder.alwaysFlush bool false

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

area2host2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

area2host2.lo0.lo.mtu int 4470B
area2host3.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

area2host3.pcapRecorder.verbose bool false

whether to log packets on the module output

area2host3.pcapRecorder.pcapFile string ""

the PCAP file to be written

area2host3.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

area2host3.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

area2host3.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

area2host3.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

area2host3.pcapRecorder.alwaysFlush bool false

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

area2host3.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

area2host3.lo0.lo.mtu int 4470B

Source code:

network ConfiguratorF
{
    @display("bgb=1426.212,959.112");
    submodules:
        area1router: Router {
            @display("p=519.75,535.8375");
        }
        area1host1: WirelessHost {
            @display("p=208.008,369.792");
        }
        area1host3: WirelessHost {
            @display("p=404.6625,506.1375");
        }
        area1host2: WirelessHost {
            @display("p=379.422,369.792");
        }
        area3host3: StandardHost {
            @display("p=971.568,832.476");
        }
        area3host2: StandardHost {
            @display("p=780.576,832.476");
        }
        area3host1: StandardHost {
            @display("p=599.964,832.476");
        }
        area3router: Router {
            @display("p=780.8625,535.8375");
        }
        area3Switch: EtherSwitch {
            @display("p=805.6125,665.775");
        }
        configurator: IPv4NetworkConfigurator {
            @display("p=100,50");
        }
        radioMedium: Ieee80211ScalarRadioMedium {
            @display("p=100,150");
        }
        visualizer: IntegratedCanvasVisualizer {
            @display("p=100,250");
        }
        area2router: Router {
            @display("p=657.1125,356.4");
        }
        area2AP: AccessPoint {
            @display("p=763.53754,280.9125");
        }
        area2host1: WirelessHost {
            @display("p=855.144,175.26599");
        }
        area2host2: WirelessHost {
            @display("p=934.11,281.19598");
        }
        area2host3: WirelessHost {
            @display("p=855.144,390.978");
        }
    connections:
        area3host1.ethg++ <--> Eth10M <--> area3Switch.ethg++;
        area3host2.ethg++ <--> Eth10M <--> area3Switch.ethg++;
        area3Switch.ethg++ <--> Eth10M <--> area3host3.ethg++;
        area3Switch.ethg++ <--> Eth10M <--> area3router.ethg++;
        area3router.ethg++ <--> Eth10M <--> area1router.ethg++;
        area1router.ethg++ <--> Eth10M <--> area1host3.ethg++;
        area1router.ethg++ <--> Eth10M <--> area2router.ethg++;
        area2router.ethg++ <--> Eth10M <--> area3router.ethg++;
        area2router.ethg++ <--> Eth10M <--> area2AP.ethg++;
}