Package: inet.examples.ospfv3.v3_2_routers
v3_2_routers
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 |
|---|---|---|---|
| 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" : "" | |
| 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.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) |
| scenarioManager.script | xml | xml("") |
Source code
network v3_2_routers { types: channel Channel extends ThruputMeteringChannel { delay = 0.1us; datarate = 100Mbps; thruputDisplayFormat = "#N"; } submodules: Router1: Ospfv3Router { parameters: @display("p=90,154"); gates: ethg[1]; } Router2: Ospfv3Router { parameters: @display("p=244,97"); gates: ethg[1]; } configurator: Ipv4NetworkConfigurator { @display("p=50,20;is=s"); config = xmldoc("IPv4Config.xml"); addStaticRoutes = false; addDefaultRoutes = false; addSubnetRoutes = false; } scenarioManager: ScenarioManager { @display("p=22.6325,96.7025"); } connections: Router1.ethg[0] <--> Channel <--> Router2.ethg[0]; }File: examples/ospfv3/v3_2_routers/small.ned