v3_mesh

Package: inet.examples.ospfv3.v3_mesh

v3_mesh

network

(no description)

Ipv4NetworkConfigurator Ospfv3Router Ospfv3Router EthernetSwitch Ospfv3Router Ospfv3Router Ospfv3Router Ospfv3Router

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.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" : ""
etherSwitch.macTable.agingTime double
etherSwitch.macTable.forwardingTableFile string
etherSwitch.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

etherSwitch.l2NodeConfigurator.interfaceTableModule string
etherSwitch.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

etherSwitch.status.initialStatus string "UP"

TODO @signal, @statistic

etherSwitch.pcapRecorder.verbose bool true

whether to log packets on the module output

etherSwitch.pcapRecorder.pcapFile string ""

the PCAP file to be written

etherSwitch.pcapRecorder.fileFormat string "pcapng"
etherSwitch.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

etherSwitch.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

etherSwitch.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

etherSwitch.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

etherSwitch.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

etherSwitch.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

etherSwitch.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

etherSwitch.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

etherSwitch.pcapRecorder.alwaysFlush bool false

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

etherSwitch.pcapRecorder.displayStringTextFormat string "rec: %n pks"
etherSwitch.stp.helloTime double
etherSwitch.stp.forwardDelay double
etherSwitch.stp.maxAge double
etherSwitch.stp.bridgePriority int
etherSwitch.stp.visualize bool
etherSwitch.sc.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

etherSwitch.sc.forwardServiceRegistration bool true
etherSwitch.sc.forwardProtocolRegistration bool true
etherSwitch.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

etherSwitch.cb.forwardServiceRegistration bool true
etherSwitch.cb.forwardProtocolRegistration bool true
etherSwitch.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

etherSwitch.bl.forwardServiceRegistration bool true
etherSwitch.bl.forwardProtocolRegistration bool true
etherSwitch.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

etherSwitch.li.forwardServiceRegistration bool true
etherSwitch.li.forwardProtocolRegistration bool true
etherSwitch.cutthrough.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

etherSwitch.cutthrough.forwardServiceRegistration bool true
etherSwitch.cutthrough.forwardProtocolRegistration bool true
etherSwitch.eth.bitrate double
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" : ""
Router6.status.initialStatus string "UP"

TODO @signal, @statistic

Router6.pcapRecorder.verbose bool true

whether to log packets on the module output

Router6.pcapRecorder.pcapFile string ""

the PCAP file to be written

Router6.pcapRecorder.fileFormat string "pcapng"
Router6.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

Router6.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

Router6.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

Router6.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

Router6.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

Router6.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

Router6.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

Router6.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

Router6.pcapRecorder.alwaysFlush bool false

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

Router6.pcapRecorder.displayStringTextFormat string "rec: %n pks"
Router6.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

Router6.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

Router6.cb.forwardServiceRegistration bool true
Router6.cb.forwardProtocolRegistration bool true
Router6.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

Router6.bl.forwardServiceRegistration bool true
Router6.bl.forwardProtocolRegistration bool true
Router6.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

Router6.li.forwardServiceRegistration bool true
Router6.li.forwardProtocolRegistration bool true
Router6.eth.bitrate double
Router6.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

Router6.nl.forwardServiceRegistration bool true
Router6.nl.forwardProtocolRegistration bool true
Router6.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

Router6.tn.forwardServiceRegistration bool true
Router6.tn.forwardProtocolRegistration bool true
Router6.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

Router6.at.forwardServiceRegistration bool true
Router6.at.forwardProtocolRegistration bool true
Router6.bgp.interfaceTableModule string

The path to the InterfaceTable module

Router6.bgp.routingTableModule string
Router6.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""

Source code

network v3_mesh
{
    types:
        channel Channel extends ThruputMeteringChannel
        {
            delay = 0.1us;
            datarate = 100Mbps;
            thruputDisplayFormat = "#N";
        }
    submodules:
        configurator: Ipv4NetworkConfigurator {
            parameters:
                //                            "<interface among='Router1 Router2 Router3 Router4' address='192.168.1.x' netmask='255.255.255.0' />"+
                config = xml("<config>"+
//                            "<interface among='Router1 Router2 Router3 Router4' address='192.168.1.x' netmask='255.255.255.0' />"+
                            "</config>");
                @display("p=301,38");
                addStaticRoutes = false;
                addDefaultRoutes = false;
                addSubnetRoutes = false;
        }
        Router1: Ospfv3Router {
            parameters:
                @display("p=38,285");
            gates:
                ethg[2];
        }
        Router2: Ospfv3Router {
            parameters:
                @display("p=388,285");
            gates:
                ethg[3];
        }
        etherSwitch: EthernetSwitch {
            @display("p=189,284");
        }
        Router3: Ospfv3Router {
            @display("p=189,396");
            gates:
                ethg[2];
        }
        Router4: Ospfv3Router {
            @display("p=48,178");
            gates:
                ethg[3];
        }
        Router5: Ospfv3Router {
            @display("p=160,112");
            gates:
                ethg[2];
        }
        Router6: Ospfv3Router {
            @display("p=340,168");
            gates:
                ethg[3];
        }

    connections:
        Router1.ethg[0] <--> Channel <--> etherSwitch.ethg++;
        Router2.ethg[0] <--> Channel <--> etherSwitch.ethg++;
        Router3.ethg[0] <--> Channel <--> etherSwitch.ethg++;
        Router2.ethg[1] <--> Channel <--> Router3.ethg[1];
        Router2.ethg[2] <--> Channel <--> Router6.ethg[2];
        Router4.ethg[0] <--> Channel <--> Router1.ethg[1];
        Router4.ethg[1] <--> Channel <--> Router5.ethg[0];
        Router4.ethg[2] <--> Channel <--> Router6.ethg[0];
        Router5.ethg[1] <--> Channel <--> Router6.ethg[1];
}
File: examples/ospfv3/v3_mesh/v3_mesh.ned