Network NetworkNodeVisualizerShowcase

Package: inet.showcases.visualizer.networknode
File: showcases/visualizer/networknode/NetworkNodeVisualizerShowcase.ned

TODO documentation

IntegratedVisualizer AdhocHost 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=300,300

Unassigned submodule parameters:

Name Type Default value Description
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
pedestrian.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

pedestrian.pcapRecorder.verbose bool false

whether to log packets on the module output

pedestrian.pcapRecorder.pcapFile string ""

the PCAP file to be written

pedestrian.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

pedestrian.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

pedestrian.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

pedestrian.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

pedestrian.pcapRecorder.alwaysFlush bool false

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

pedestrian.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

pedestrian.lo0.lo.mtu int 4470B

Source code:

//
// TODO documentation
//
network NetworkNodeVisualizerShowcase
{
    @display("bgb=300,300");
    submodules:
        visualizer: IntegratedVisualizer {
            @display("p=50,50");
        }
        car: AdhocHost {
            @display("p=168,117");
        }
        pedestrian: AdhocHost {
            @display("p=113,156;i=device/cellphone2");
        }
}