Network PIM_SM_Network

Package: inet.examples.pim.sm.basic
File: examples/pim/sm/basic/PIM-SM.ned

(no description)

MulticastRouter MulticastRouter MulticastRouter MulticastRouter MulticastRouter StandardHost StandardHost StandardHost StandardHost IPv4NetworkConfigurator

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=567,467

Unassigned submodule parameters:

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

TODO @signal, @statistic

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

whether to display IP addresses on links

DR_R1.pcapRecorder.verbose bool false

whether to log packets on the module output

DR_R1.pcapRecorder.pcapFile string ""

the PCAP file to be written

DR_R1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

DR_R1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

DR_R1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

DR_R1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

DR_R1.pcapRecorder.alwaysFlush bool false

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

DR_R1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

DR_R1.bgp.routingTableModule string
DR_R1.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
DR_R1.bgp.dataTransferMode string
DR_R2.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

DR_R2.pcapRecorder.verbose bool false

whether to log packets on the module output

DR_R2.pcapRecorder.pcapFile string ""

the PCAP file to be written

DR_R2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

DR_R2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

DR_R2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

DR_R2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

DR_R2.pcapRecorder.alwaysFlush bool false

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

DR_R2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

DR_R2.bgp.routingTableModule string
DR_R2.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
DR_R2.bgp.dataTransferMode string
RP.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

RP.pcapRecorder.verbose bool false

whether to log packets on the module output

RP.pcapRecorder.pcapFile string ""

the PCAP file to be written

RP.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

RP.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

RP.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

RP.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

RP.pcapRecorder.alwaysFlush bool false

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

RP.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

RP.bgp.routingTableModule string
RP.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
RP.bgp.dataTransferMode string
DR_S2.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

DR_S2.pcapRecorder.verbose bool false

whether to log packets on the module output

DR_S2.pcapRecorder.pcapFile string ""

the PCAP file to be written

DR_S2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

DR_S2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

DR_S2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

DR_S2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

DR_S2.pcapRecorder.alwaysFlush bool false

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

DR_S2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

DR_S2.bgp.routingTableModule string
DR_S2.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
DR_S2.bgp.dataTransferMode string
DR_S1.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

DR_S1.pcapRecorder.verbose bool false

whether to log packets on the module output

DR_S1.pcapRecorder.pcapFile string ""

the PCAP file to be written

DR_S1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

DR_S1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

DR_S1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

DR_S1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

DR_S1.pcapRecorder.alwaysFlush bool false

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

DR_S1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

DR_S1.bgp.routingTableModule string
DR_S1.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
DR_S1.bgp.dataTransferMode string
Source2.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

Source2.pcapRecorder.verbose bool false

whether to log packets on the module output

Source2.pcapRecorder.pcapFile string ""

the PCAP file to be written

Source2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

Source2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

Source2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

Source2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

Source2.pcapRecorder.alwaysFlush bool false

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

Source2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

Source2.lo0.lo.mtu int 4470B
Source1.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

Source1.pcapRecorder.verbose bool false

whether to log packets on the module output

Source1.pcapRecorder.pcapFile string ""

the PCAP file to be written

Source1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

Source1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

Source1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

Source1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

Source1.pcapRecorder.alwaysFlush bool false

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

Source1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

Source1.lo0.lo.mtu int 4470B
Receiver1.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

Receiver1.pcapRecorder.verbose bool false

whether to log packets on the module output

Receiver1.pcapRecorder.pcapFile string ""

the PCAP file to be written

Receiver1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

Receiver1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

Receiver1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

Receiver1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

Receiver1.pcapRecorder.alwaysFlush bool false

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

Receiver1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

Receiver1.lo0.lo.mtu int 4470B
Receiver2.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

Receiver2.pcapRecorder.verbose bool false

whether to log packets on the module output

Receiver2.pcapRecorder.pcapFile string ""

the PCAP file to be written

Receiver2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

Receiver2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

Receiver2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

Receiver2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

Receiver2.pcapRecorder.alwaysFlush bool false

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

Receiver2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

Receiver2.lo0.lo.mtu int 4470B
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)

Source code:

network PIM_SM_Network
{
    @display("bgb=567,467");

    submodules:
        DR_R1: MulticastRouter {
            parameters:
                @display("p=70,420");
            gates:
                ethg[3];
        }
        DR_R2: MulticastRouter {
            parameters:
                @display("p=70,302");
            gates:
                ethg[4];
        }
        RP: MulticastRouter {
            parameters:
                @display("p=394,302");
            gates:
                ethg[3];
        }
        DR_S2: MulticastRouter {
            parameters:
                @display("p=230,197");
            gates:
                ethg[4];
        }
        DR_S1: MulticastRouter {
            parameters:
                @display("p=420,143");
            gates:
                ethg[3];
        }
        Source2: StandardHost {
            parameters:
                @display("i=device/server;p=230,36");
            gates:
                ethg[1];
        }
        Source1: StandardHost {
            parameters:
                @display("i=device/server;p=536,29");
            gates:
                ethg[1];
        }
        Receiver1: StandardHost {
            parameters:
                @display("p=394,420");
            gates:
                ethg[1];
        }
        Receiver2: StandardHost {
            parameters:
                @display("p=70,85");
            gates:
                ethg[1];
        }
        configurator: IPv4NetworkConfigurator {
            @display("p=510,420");
        }
    connections allowunconnected:
        DR_R2.ethg[2] <--> Eth100M <--> RP.ethg[1];
        DR_R2.ethg[1] <--> Eth100M <--> DR_S2.ethg[1];
        RP.ethg[0] <--> Eth100M <--> DR_S2.ethg[2];
        DR_S2.ethg[0] <--> Eth100M <--> DR_S1.ethg[1];
        DR_S1.ethg[0] <--> Eth100M <--> Source1.ethg[0];
        DR_R1.ethg[1] <--> Eth100M <--> DR_R2.ethg[0];
        Receiver1.ethg[0] <--> Eth100M <--> DR_R1.ethg[0];
        Receiver2.ethg[0] <--> Eth100M <--> DR_R2.ethg[3];
        DR_S2.ethg[3] <--> Eth100M <--> Source2.ethg[0];
}