Package: inet.examples.ospfv3.v3_4_routers_2_areas
v3_4_routers_2_areas
network(no description)
Usage diagram
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
Properties
| Name | Value | Description |
|---|---|---|
| isNetwork |
Unassigned submodule parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| configurator.minLinkWeight | double | 1E-3 | |
| configurator.configureIsolatedNetworksSeparatly | bool | false | |
| configurator.assignAddresses | bool | true |
assign IP addresses to all interfaces in the network |
| configurator.assignUniqueAddresses | bool | true |
avoid using the same address and raise an error if not possible |
| 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.addDirectRoutes | bool | true |
add direct routes (i.e. directly connected interfaces) to the routing table (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) |
| Router1.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| Router1.pcapRecorder.verbose | bool | true |
whether to log packets on the module output |
| Router1.pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
| Router1.pcapRecorder.fileFormat | string | "pcapng" | |
| 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[*]" |
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.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
space-separated list of protocol names as defined in the Protocol class |
| Router1.pcapRecorder.packetFilter | object | "*" |
which packets are considered, matches all packets by default |
| Router1.pcapRecorder.helpers | string | "" |
usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| Router1.pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| Router1.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| Router1.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| Router1.cb.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router1.cb.forwardServiceRegistration | bool | true | |
| Router1.cb.forwardProtocolRegistration | bool | true | |
| Router1.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router1.bl.forwardServiceRegistration | bool | true | |
| Router1.bl.forwardProtocolRegistration | bool | true | |
| Router1.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router1.li.forwardServiceRegistration | bool | true | |
| Router1.li.forwardProtocolRegistration | bool | true | |
| Router1.eth.bitrate | double | ||
| Router1.nl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router1.nl.forwardServiceRegistration | bool | true | |
| Router1.nl.forwardProtocolRegistration | bool | true | |
| Router1.tn.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router1.tn.forwardServiceRegistration | bool | true | |
| Router1.tn.forwardProtocolRegistration | bool | true | |
| Router1.at.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router1.at.forwardServiceRegistration | bool | true | |
| Router1.at.forwardProtocolRegistration | bool | true | |
| Router1.bgp.interfaceTableModule | string |
The path to the InterfaceTable module |
|
| Router1.bgp.routingTableModule | string | ||
| Router1.bgp.ospfRoutingModule | string | parent.hasOspf ? "^.ospf" : "" | |
| Router2.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| Router2.pcapRecorder.verbose | bool | true |
whether to log packets on the module output |
| Router2.pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
| Router2.pcapRecorder.fileFormat | string | "pcapng" | |
| 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[*]" |
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.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
space-separated list of protocol names as defined in the Protocol class |
| Router2.pcapRecorder.packetFilter | object | "*" |
which packets are considered, matches all packets by default |
| Router2.pcapRecorder.helpers | string | "" |
usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| Router2.pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| Router2.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| Router2.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| Router2.cb.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router2.cb.forwardServiceRegistration | bool | true | |
| Router2.cb.forwardProtocolRegistration | bool | true | |
| Router2.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router2.bl.forwardServiceRegistration | bool | true | |
| Router2.bl.forwardProtocolRegistration | bool | true | |
| Router2.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router2.li.forwardServiceRegistration | bool | true | |
| Router2.li.forwardProtocolRegistration | bool | true | |
| Router2.eth.bitrate | double | ||
| Router2.nl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router2.nl.forwardServiceRegistration | bool | true | |
| Router2.nl.forwardProtocolRegistration | bool | true | |
| Router2.tn.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router2.tn.forwardServiceRegistration | bool | true | |
| Router2.tn.forwardProtocolRegistration | bool | true | |
| Router2.at.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router2.at.forwardServiceRegistration | bool | true | |
| Router2.at.forwardProtocolRegistration | bool | true | |
| Router2.bgp.interfaceTableModule | string |
The path to the InterfaceTable module |
|
| Router2.bgp.routingTableModule | string | ||
| Router2.bgp.ospfRoutingModule | string | parent.hasOspf ? "^.ospf" : "" | |
| Router3.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| Router3.pcapRecorder.verbose | bool | true |
whether to log packets on the module output |
| Router3.pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
| Router3.pcapRecorder.fileFormat | string | "pcapng" | |
| 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[*]" |
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.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
space-separated list of protocol names as defined in the Protocol class |
| Router3.pcapRecorder.packetFilter | object | "*" |
which packets are considered, matches all packets by default |
| Router3.pcapRecorder.helpers | string | "" |
usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| Router3.pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| Router3.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| Router3.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| Router3.cb.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router3.cb.forwardServiceRegistration | bool | true | |
| Router3.cb.forwardProtocolRegistration | bool | true | |
| Router3.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router3.bl.forwardServiceRegistration | bool | true | |
| Router3.bl.forwardProtocolRegistration | bool | true | |
| Router3.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router3.li.forwardServiceRegistration | bool | true | |
| Router3.li.forwardProtocolRegistration | bool | true | |
| Router3.eth.bitrate | double | ||
| Router3.nl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router3.nl.forwardServiceRegistration | bool | true | |
| Router3.nl.forwardProtocolRegistration | bool | true | |
| Router3.tn.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router3.tn.forwardServiceRegistration | bool | true | |
| Router3.tn.forwardProtocolRegistration | bool | true | |
| Router3.at.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router3.at.forwardServiceRegistration | bool | true | |
| Router3.at.forwardProtocolRegistration | bool | true | |
| Router3.bgp.interfaceTableModule | string |
The path to the InterfaceTable module |
|
| Router3.bgp.routingTableModule | string | ||
| Router3.bgp.ospfRoutingModule | string | parent.hasOspf ? "^.ospf" : "" | |
| Router4.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| Router4.pcapRecorder.verbose | bool | true |
whether to log packets on the module output |
| Router4.pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
| Router4.pcapRecorder.fileFormat | string | "pcapng" | |
| Router4.pcapRecorder.snaplen | int | 65535 |
maximum number of bytes to record per packet |
| Router4.pcapRecorder.dumpBadFrames | bool | true |
enable dump of frames with hasBitError |
| Router4.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
space-separated list of sibling module names to listen on |
| Router4.pcapRecorder.sendingSignalNames | string | "packetSentToLower" |
space-separated list of outbound packet signals to subscribe to |
| Router4.pcapRecorder.receivingSignalNames | string | "packetReceivedFromLower" |
space-separated list of inbound packet signals to subscribe to |
| Router4.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
space-separated list of protocol names as defined in the Protocol class |
| Router4.pcapRecorder.packetFilter | object | "*" |
which packets are considered, matches all packets by default |
| Router4.pcapRecorder.helpers | string | "" |
usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| Router4.pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| Router4.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| Router4.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| Router4.cb.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router4.cb.forwardServiceRegistration | bool | true | |
| Router4.cb.forwardProtocolRegistration | bool | true | |
| Router4.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router4.bl.forwardServiceRegistration | bool | true | |
| Router4.bl.forwardProtocolRegistration | bool | true | |
| Router4.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router4.li.forwardServiceRegistration | bool | true | |
| Router4.li.forwardProtocolRegistration | bool | true | |
| Router4.eth.bitrate | double | ||
| Router4.nl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router4.nl.forwardServiceRegistration | bool | true | |
| Router4.nl.forwardProtocolRegistration | bool | true | |
| Router4.tn.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router4.tn.forwardServiceRegistration | bool | true | |
| Router4.tn.forwardProtocolRegistration | bool | true | |
| Router4.at.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router4.at.forwardServiceRegistration | bool | true | |
| Router4.at.forwardProtocolRegistration | bool | true | |
| Router4.bgp.interfaceTableModule | string |
The path to the InterfaceTable module |
|
| Router4.bgp.routingTableModule | string | ||
| Router4.bgp.ospfRoutingModule | string | parent.hasOspf ? "^.ospf" : "" | |
| Router5.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| Router5.pcapRecorder.verbose | bool | true |
whether to log packets on the module output |
| Router5.pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
| Router5.pcapRecorder.fileFormat | string | "pcapng" | |
| Router5.pcapRecorder.snaplen | int | 65535 |
maximum number of bytes to record per packet |
| Router5.pcapRecorder.dumpBadFrames | bool | true |
enable dump of frames with hasBitError |
| Router5.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
space-separated list of sibling module names to listen on |
| Router5.pcapRecorder.sendingSignalNames | string | "packetSentToLower" |
space-separated list of outbound packet signals to subscribe to |
| Router5.pcapRecorder.receivingSignalNames | string | "packetReceivedFromLower" |
space-separated list of inbound packet signals to subscribe to |
| Router5.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
space-separated list of protocol names as defined in the Protocol class |
| Router5.pcapRecorder.packetFilter | object | "*" |
which packets are considered, matches all packets by default |
| Router5.pcapRecorder.helpers | string | "" |
usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| Router5.pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| Router5.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| Router5.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| Router5.cb.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router5.cb.forwardServiceRegistration | bool | true | |
| Router5.cb.forwardProtocolRegistration | bool | true | |
| Router5.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router5.bl.forwardServiceRegistration | bool | true | |
| Router5.bl.forwardProtocolRegistration | bool | true | |
| Router5.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router5.li.forwardServiceRegistration | bool | true | |
| Router5.li.forwardProtocolRegistration | bool | true | |
| Router5.eth.bitrate | double | ||
| Router5.nl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router5.nl.forwardServiceRegistration | bool | true | |
| Router5.nl.forwardProtocolRegistration | bool | true | |
| Router5.tn.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router5.tn.forwardServiceRegistration | bool | true | |
| Router5.tn.forwardProtocolRegistration | bool | true | |
| Router5.at.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Router5.at.forwardServiceRegistration | bool | true | |
| Router5.at.forwardProtocolRegistration | bool | true | |
| Router5.bgp.interfaceTableModule | string |
The path to the InterfaceTable module |
|
| Router5.bgp.routingTableModule | string | ||
| Router5.bgp.ospfRoutingModule | string | parent.hasOspf ? "^.ospf" : "" |
Source code
network v3_4_routers_2_areas { types: channel Channel extends ThruputMeteringChannel { delay = 0.1us; datarate = 100Mbps; thruputDisplayFormat = "#N"; } submodules: configurator: Ipv4NetworkConfigurator { parameters: config = xml("<config>"+ "<interface among='Router1 Router2' address='10.10.10.x' netmask='255.255.255.0' />"+ "<interface among='Router2 Router3' address='10.10.20.x' netmask='255.255.255.0' />"+ "<interface among='Router3 Router4' address='10.10.30.x' netmask='255.255.255.0' />"+ "<interface among='Router3 Router5' address='10.10.40.x' netmask='255.255.255.0' />"+ "</config>"); @display("p=147,54"); } Router1: Ospfv3Router { parameters: @display("p=56,230"); gates: ethg[1]; } Router2: Ospfv3Router { parameters: @display("p=213,153"); gates: ethg[2]; } Router3: Ospfv3Router { parameters: @display("p=376,153"); gates: ethg[3]; } Router4: Ospfv3Router { parameters: @display("p=519,50"); gates: ethg[1]; } Router5: Ospfv3Router { parameters: @display("p=508,212"); gates: ethg[1]; } connections: Router1.ethg[0] <--> Channel <--> Router2.ethg[0]; Router2.ethg[1] <--> Channel <--> Router3.ethg[0]; Router3.ethg[1] <--> Channel <--> Router4.ethg[0]; Router3.ethg[2] <--> Channel <--> Router5.ethg[0]; }File: examples/ospfv3/v3_4_routers_2_areas/v3_4_routers.ned