Network VisualizationH

Package: inet.tutorials.visualization
File: tutorials/visualization/VisualizationNetworks.ned

(no description)

IntegratedVisualizer OsgGeographicCoordinateSystem WirelessHost WirelessHost AccessPoint IPv4NetworkConfigurator Ieee80211ScalarRadioMedium WirelessHost Router EtherSwitch StandardHost AccessPoint Router PhysicalEnvironment WirelessHost AccessPoint Router AccessPoint StandardHost EtherSwitch Router

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.

Extends:

Name Type Description
VisualizationG network (no description)

Properties:

Name Value Description
isNetwork
display bgb=0,0

Unassigned submodule parameters:

Name Type Default value Description
coordinateSystem.playgroundLatitude double

latitude coordinate of the playground origin

coordinateSystem.playgroundLongitude double

longitude coordinate of the playground origin

coordinateSystem.playgroundAltitude double 0m

altitude coordinate of the playground origin

coordinateSystem.playgroundHeading double 0deg

heading of the playground

coordinateSystem.playgroundElevation double 0deg

elevation of the playground

coordinateSystem.playgroundBank double 0deg

bank of the playground

pedestrian0.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

pedestrian0.pcapRecorder.verbose bool false

whether to log packets on the module output

pedestrian0.pcapRecorder.pcapFile string ""

the PCAP file to be written

pedestrian0.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

pedestrian0.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

pedestrian0.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

pedestrian0.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

pedestrian0.pcapRecorder.alwaysFlush bool false

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

pedestrian0.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

pedestrian0.lo0.lo.mtu int 4470B
pedestrian1.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

pedestrian1.pcapRecorder.verbose bool false

whether to log packets on the module output

pedestrian1.pcapRecorder.pcapFile string ""

the PCAP file to be written

pedestrian1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

pedestrian1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

pedestrian1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

pedestrian1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

pedestrian1.pcapRecorder.alwaysFlush bool false

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

pedestrian1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

pedestrian1.lo0.lo.mtu int 4470B
accessPoint0.status.initialStatus string "UP"

TODO @signal, @statistic

accessPoint0.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

accessPoint0.macTable.agingTime double
accessPoint0.macTable.addressTableFile string
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
pedestrianVideo.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

pedestrianVideo.pcapRecorder.verbose bool false

whether to log packets on the module output

pedestrianVideo.pcapRecorder.pcapFile string ""

the PCAP file to be written

pedestrianVideo.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

pedestrianVideo.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

pedestrianVideo.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

pedestrianVideo.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

pedestrianVideo.pcapRecorder.alwaysFlush bool false

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

pedestrianVideo.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

pedestrianVideo.lo0.lo.mtu int 4470B
router0.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

router0.pcapRecorder.verbose bool false

whether to log packets on the module output

router0.pcapRecorder.pcapFile string ""

the PCAP file to be written

router0.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

router0.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

router0.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

router0.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

router0.pcapRecorder.alwaysFlush bool false

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

router0.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

router0.bgp.routingTableModule string
router0.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
router0.bgp.dataTransferMode string
switch0.status.initialStatus string "UP"

TODO @signal, @statistic

switch0.l2NodeConfigurator.interfaceTableModule string
switch0.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

switch0.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

switch0.macTable.agingTime double
switch0.macTable.addressTableFile string
switch0.stp.helloTime double
switch0.stp.forwardDelay double
switch0.stp.maxAge double
switch0.stp.bridgePriority int
switch0.stp.visualize bool
videoStreamServer.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

videoStreamServer.pcapRecorder.verbose bool false

whether to log packets on the module output

videoStreamServer.pcapRecorder.pcapFile string ""

the PCAP file to be written

videoStreamServer.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

videoStreamServer.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

videoStreamServer.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

videoStreamServer.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

videoStreamServer.pcapRecorder.alwaysFlush bool false

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

videoStreamServer.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

videoStreamServer.lo0.lo.mtu int 4470B
accessPoint1.status.initialStatus string "UP"

TODO @signal, @statistic

accessPoint1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

accessPoint1.macTable.agingTime double
accessPoint1.macTable.addressTableFile string
router1.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

router1.pcapRecorder.verbose bool false

whether to log packets on the module output

router1.pcapRecorder.pcapFile string ""

the PCAP file to be written

router1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

router1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

router1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

router1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

router1.pcapRecorder.alwaysFlush bool false

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

router1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

router1.bgp.routingTableModule string
router1.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
router1.bgp.dataTransferMode string
car.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

car.pcapRecorder.verbose bool false

whether to log packets on the module output

car.pcapRecorder.pcapFile string ""

the PCAP file to be written

car.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

car.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

car.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

car.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

car.pcapRecorder.alwaysFlush bool false

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

car.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

car.lo0.lo.mtu int 4470B
accessPoint2.status.initialStatus string "UP"

TODO @signal, @statistic

accessPoint2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

accessPoint2.macTable.agingTime double
accessPoint2.macTable.addressTableFile string
router2.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

router2.pcapRecorder.verbose bool false

whether to log packets on the module output

router2.pcapRecorder.pcapFile string ""

the PCAP file to be written

router2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

router2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

router2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

router2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

router2.pcapRecorder.alwaysFlush bool false

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

router2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

router2.bgp.routingTableModule string
router2.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
router2.bgp.dataTransferMode string
accessPoint3.status.initialStatus string "UP"

TODO @signal, @statistic

accessPoint3.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

accessPoint3.macTable.agingTime double
accessPoint3.macTable.addressTableFile string
tcpHost.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

tcpHost.pcapRecorder.verbose bool false

whether to log packets on the module output

tcpHost.pcapRecorder.pcapFile string ""

the PCAP file to be written

tcpHost.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

tcpHost.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

tcpHost.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

tcpHost.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

tcpHost.pcapRecorder.alwaysFlush bool false

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

tcpHost.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

tcpHost.lo0.lo.mtu int 4470B
switch1.status.initialStatus string "UP"

TODO @signal, @statistic

switch1.l2NodeConfigurator.interfaceTableModule string
switch1.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

switch1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

switch1.macTable.agingTime double
switch1.macTable.addressTableFile string
switch1.stp.helloTime double
switch1.stp.forwardDelay double
switch1.stp.maxAge double
switch1.stp.bridgePriority int
switch1.stp.visualize bool
router3.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

router3.pcapRecorder.verbose bool false

whether to log packets on the module output

router3.pcapRecorder.pcapFile string ""

the PCAP file to be written

router3.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

router3.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

router3.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

router3.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

router3.pcapRecorder.alwaysFlush bool false

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

router3.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

router3.bgp.routingTableModule string
router3.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
router3.bgp.dataTransferMode string

Source code:

network VisualizationH extends VisualizationG
{
    parameters:
        @display("bgb=0,0");
    submodules:
        car: WirelessHost {
            @display("p=215,122");
        }
        accessPoint2: AccessPoint {
            @display("p=215,233");
        }
        router2: Router {
            @display("p=316,234");
        }
        accessPoint3: AccessPoint {
            @display("p=215,298");
        }
        tcpHost[2]: StandardHost {
            @display("p=650,431");
        }
        switch1: EtherSwitch {
            @display("p=660,250");
        }
        router3: Router {
            @display("p=316,299");
        }
    connections:
        router0.pppg++ <--> Eth100M <--> router2.pppg++;
        router2.ethg++ <--> Eth100M <--> accessPoint2.ethg++;
        switch0.ethg++ <--> Eth100M <--> tcpHost[0].ethg++;
        switch1.ethg++ <--> Eth100M <--> tcpHost[1].ethg++;
        router1.ethg++ <--> Eth100M <--> switch1.ethg++;
        router0.pppg++ <--> Eth100M <--> router3.pppg++;
        accessPoint3.ethg++ <--> Eth100M <--> router3.ethg++;
}