BgpNetwork

Package: inet.examples.bgpv4.BgpOpen

BgpNetwork

network

(no description)

visualizer : IntegratedCanvasVisualizer

Integrates all canvas visualizers into a single module.

Source:
visualizer: IntegratedCanvasVisualizer {
    parameters:
        @display("p=100,100;is=s");
} configurator : Ipv4NetworkConfigurator

Assigns IPv4 addresses and sets up static routing for an IPv4 network.

Source:
configurator: Ipv4NetworkConfigurator {
    parameters:
        @display("p=100,200;is=s");
        config = xmldoc("IPv4Config.xml");
        addStaticRoutes = false;
        addDefaultRoutes = false;
        addSubnetRoutes = false;
} A : BGPRouterSimple

Example Ipv4 router with BGPv4 support.

Source:
A: BGPRouterSimple {
    parameters:
        @display("p=250,100");
} B : BGPRouterSimple

Example Ipv4 router with BGPv4 support.

Source:
B: BGPRouterSimple {
    parameters:
        @display("p=400,100");
}

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
visualizer.sceneVisualizer.visualizationTargetModule string
visualizer.sceneVisualizer.visualizationSubjectModule string
visualizer.physicalEnvironmentVisualizer.visualizationTargetModule string
visualizer.physicalEnvironmentVisualizer.visualizationSubjectModule string
visualizer.networkNodeVisualizer.visualizationTargetModule string
visualizer.networkNodeVisualizer.visualizationSubjectModule string
visualizer.networkConnectionVisualizer.visualizationTargetModule string
visualizer.networkConnectionVisualizer.visualizationSubjectModule string
visualizer.mobilityVisualizer.visualizationTargetModule string
visualizer.mobilityVisualizer.visualizationSubjectModule string
visualizer.statisticVisualizer.visualizationTargetModule string
visualizer.statisticVisualizer.visualizationSubjectModule string
visualizer.infoVisualizer.visualizationTargetModule string
visualizer.infoVisualizer.visualizationSubjectModule string
visualizer.energyStorageVisualizer.visualizationTargetModule string
visualizer.energyStorageVisualizer.visualizationSubjectModule string
visualizer.mediumVisualizer.visualizationTargetModule string
visualizer.mediumVisualizer.visualizationSubjectModule string
visualizer.obstacleLossVisualizer.visualizationTargetModule string
visualizer.obstacleLossVisualizer.visualizationSubjectModule string
visualizer.packetDropVisualizer.visualizationTargetModule string
visualizer.packetDropVisualizer.visualizationSubjectModule string
visualizer.packetFlowVisualizer.visualizationTargetModule string
visualizer.packetFlowVisualizer.visualizationSubjectModule string
visualizer.queueVisualizer.visualizationTargetModule string
visualizer.queueVisualizer.visualizationSubjectModule string
visualizer.gateScheduleVisualizer.visualizationTargetModule string
visualizer.gateScheduleVisualizer.visualizationSubjectModule string
visualizer.radioVisualizer.visualizationTargetModule string
visualizer.radioVisualizer.visualizationSubjectModule string
visualizer.physicalLinkVisualizer.visualizationTargetModule string
visualizer.physicalLinkVisualizer.visualizationSubjectModule string
visualizer.interfaceTableVisualizer.visualizationTargetModule string
visualizer.interfaceTableVisualizer.visualizationSubjectModule string
visualizer.dataLinkVisualizer.visualizationTargetModule string
visualizer.dataLinkVisualizer.visualizationSubjectModule string
visualizer.linkBreakVisualizer.visualizationTargetModule string
visualizer.linkBreakVisualizer.visualizationSubjectModule string
visualizer.ieee80211Visualizer.visualizationTargetModule string
visualizer.ieee80211Visualizer.visualizationSubjectModule string
visualizer.networkRouteVisualizer.visualizationTargetModule string
visualizer.networkRouteVisualizer.visualizationSubjectModule string
visualizer.routingTableVisualizer.visualizationTargetModule string
visualizer.routingTableVisualizer.visualizationSubjectModule string
visualizer.transportRouteVisualizer.visualizationTargetModule string
visualizer.transportRouteVisualizer.visualizationSubjectModule string
visualizer.transportConnectionVisualizer.visualizationTargetModule string
visualizer.transportConnectionVisualizer.visualizationSubjectModule string
visualizer.failureProtectionConfigurationVisualizer.visualizationTargetModule string
visualizer.failureProtectionConfigurationVisualizer.visualizationSubjectModule string
visualizer.streamRedundancyConfigurationVisualizer.visualizationTargetModule string
visualizer.streamRedundancyConfigurationVisualizer.visualizationSubjectModule string
configurator.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

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 towards local network members (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.updateRoutes bool false

Recalculate static routes if an interface goes down/up or a carrier is lost/back

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)

A.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

A.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

A.routingTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

A.routingTable.interfaceTableModule string

The path to the InterfaceTable module

A.routingTable.netmaskRoutes string "*"

Maintain netmask routes for interfaces

A.routingTable.multicastForwarding bool false

Turns multicast forwarding on/off

A.routingTable.useAdminDist bool false

Use Cisco-like administrative distances

A.routingTable.routingFile string ""

Routing table file name

A.bgp.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

A.bgp.interfaceTableModule string
A.bgp.routingTableModule string
A.bgp.startupTime double 0s

Delay before starting BGP

A.bgp.bgpConfig xml
A.bgp.ExternalPeerStartDelayOffset double 0.5s
A.bgp.redistributeRip bool false

Redistribute routes learned by RIP into BGP

A.bgp.redistributeOspf string ""

Redistribute routes learned by OSPF into BGP (O IA E1 E2)

A.bgp.redistributeInternal bool false

Redistribute BGP routes into OSPF (as external routes)

A.bgp.nextHopSelf bool false
A.bgp.localPreference int 100
A.bgp.connectedCheck bool true
A.bgp.ebgpMultihop int 1
A.snifferIn.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

A.snifferIn.config xml

Configuration file

A.snifferOut.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

A.snifferOut.config xml

Configuration file

A.tn.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

A.tn.interfaceTableModule string

Module path to the ~InterfaceTable module

A.tn.forwardServiceRegistration bool true
A.tn.forwardProtocolRegistration bool true
A.tn.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

A.tn.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

A.tn.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

A.ipv4.routingTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

A.ipv4.routingTable.interfaceTableModule string

The path to the InterfaceTable module

A.ipv4.routingTable.routerId string "auto"

For routers, the router id using IPv4 address dotted notation; specify "auto" to select the highest interface address; should be left empty ("") for hosts

A.ipv4.routingTable.netmaskRoutes string "*"

Maintain netmask routes for interfaces

A.ipv4.routingTable.forwarding bool true

Turns IP forwarding on/off

A.ipv4.routingTable.multicastForwarding bool false

Turns multicast forwarding on/off

A.ipv4.routingTable.useAdminDist bool false

Use Cisco-like administrative distances

A.ipv4.routingTable.routingFile string ""

Routing table file name

A.ipv4.natTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

A.ipv4.natTable.networkProtocolModule string "^.ip"
A.ipv4.natTable.config xml xml("")

XML configuration parameters for network address translation

A.ipv4.up.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

A.ipv4.up.interfaceTableModule string

Module path to the ~InterfaceTable module

A.ipv4.up.forwardServiceRegistration bool true
A.ipv4.up.forwardProtocolRegistration bool true
A.ipv4.up.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

A.ipv4.up.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

A.ipv4.up.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

A.ipv4.icmp.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

A.ipv4.icmp.interfaceTableModule string

The path to the InterfaceTable module

A.ipv4.icmp.routingTableModule string
A.ipv4.icmp.checksumMode string "declared"
A.ipv4.icmp.quoteLength int 8B

Number of bytes from original packet to quote in ICMP reply

A.ipv4.mp.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

A.ipv4.mp.interfaceTableModule string

Module path to the ~InterfaceTable module

A.ipv4.mp.forwardServiceRegistration bool true
A.ipv4.mp.forwardProtocolRegistration bool true
A.ipv4.mp.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

A.ipv4.mp.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

A.ipv4.mp.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

A.ipv4.ipsec.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

A.ipv4.ipsec.networkProtocolModule string "^.ip"
A.ipv4.ipsec.interfaceTableModule string
A.ipv4.ipsec.spdModule string "^.spd"
A.ipv4.ipsec.sadModule string "^.sad"
A.ipv4.ipsec.spdConfig xml
A.ipv4.ipsec.defaultProtection string ""

If not "": value to use where <Protection> element is absent from the configuration

A.ipv4.ipsec.defaultEspMode string ""

If not "": value to use where <EspMode> element is absent from the configuration

A.ipv4.ipsec.defaultEncryptionAlg string ""

If not "": value to use where <EncryptionAlg> element is absent from the configuration

A.ipv4.ipsec.defaultAuthenticationAlg string ""

If not "": value to use where <defaultAuthenticationAlg> element is absent from the configuration

A.ipv4.ipsec.defaultMaxTfcPadLength int 0

Value to use where <MaxTfcPadLength> element is absent from the configuration

A.ipv4.ipsec.ahProtectOutDelay double 0.0s
A.ipv4.ipsec.ahProtectInDelay double 0.0s
A.ipv4.ipsec.espProtectOutDelay double 0.0s
A.ipv4.ipsec.espProtectInDelay double 0.0s
A.ipv4.spd.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

A.ipv4.sad.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

A.ipv4.lp.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

A.ipv4.lp.interfaceTableModule string

Module path to the ~InterfaceTable module

A.ipv4.lp.forwardServiceRegistration bool true
A.ipv4.lp.forwardProtocolRegistration bool true
A.ipv4.lp.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

A.ipv4.lp.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

A.ipv4.lp.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

A.nl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

A.nl.interfaceTableModule string

Module path to the ~InterfaceTable module

A.nl.forwardServiceRegistration bool true
A.nl.forwardProtocolRegistration bool true
A.nl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

A.nl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

A.nl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

B.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

B.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

B.routingTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

B.routingTable.interfaceTableModule string

The path to the InterfaceTable module

B.routingTable.netmaskRoutes string "*"

Maintain netmask routes for interfaces

B.routingTable.multicastForwarding bool false

Turns multicast forwarding on/off

B.routingTable.useAdminDist bool false

Use Cisco-like administrative distances

B.routingTable.routingFile string ""

Routing table file name

B.bgp.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

B.bgp.interfaceTableModule string
B.bgp.routingTableModule string
B.bgp.startupTime double 0s

Delay before starting BGP

B.bgp.bgpConfig xml
B.bgp.ExternalPeerStartDelayOffset double 0.5s
B.bgp.redistributeRip bool false

Redistribute routes learned by RIP into BGP

B.bgp.redistributeOspf string ""

Redistribute routes learned by OSPF into BGP (O IA E1 E2)

B.bgp.redistributeInternal bool false

Redistribute BGP routes into OSPF (as external routes)

B.bgp.nextHopSelf bool false
B.bgp.localPreference int 100
B.bgp.connectedCheck bool true
B.bgp.ebgpMultihop int 1
B.snifferIn.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

B.snifferIn.config xml

Configuration file

B.snifferOut.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

B.snifferOut.config xml

Configuration file

B.tn.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

B.tn.interfaceTableModule string

Module path to the ~InterfaceTable module

B.tn.forwardServiceRegistration bool true
B.tn.forwardProtocolRegistration bool true
B.tn.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

B.tn.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

B.tn.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

B.ipv4.routingTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

B.ipv4.routingTable.interfaceTableModule string

The path to the InterfaceTable module

B.ipv4.routingTable.routerId string "auto"

For routers, the router id using IPv4 address dotted notation; specify "auto" to select the highest interface address; should be left empty ("") for hosts

B.ipv4.routingTable.netmaskRoutes string "*"

Maintain netmask routes for interfaces

B.ipv4.routingTable.forwarding bool true

Turns IP forwarding on/off

B.ipv4.routingTable.multicastForwarding bool false

Turns multicast forwarding on/off

B.ipv4.routingTable.useAdminDist bool false

Use Cisco-like administrative distances

B.ipv4.routingTable.routingFile string ""

Routing table file name

B.ipv4.natTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

B.ipv4.natTable.networkProtocolModule string "^.ip"
B.ipv4.natTable.config xml xml("")

XML configuration parameters for network address translation

B.ipv4.up.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

B.ipv4.up.interfaceTableModule string

Module path to the ~InterfaceTable module

B.ipv4.up.forwardServiceRegistration bool true
B.ipv4.up.forwardProtocolRegistration bool true
B.ipv4.up.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

B.ipv4.up.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

B.ipv4.up.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

B.ipv4.icmp.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

B.ipv4.icmp.interfaceTableModule string

The path to the InterfaceTable module

B.ipv4.icmp.routingTableModule string
B.ipv4.icmp.checksumMode string "declared"
B.ipv4.icmp.quoteLength int 8B

Number of bytes from original packet to quote in ICMP reply

B.ipv4.mp.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

B.ipv4.mp.interfaceTableModule string

Module path to the ~InterfaceTable module

B.ipv4.mp.forwardServiceRegistration bool true
B.ipv4.mp.forwardProtocolRegistration bool true
B.ipv4.mp.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

B.ipv4.mp.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

B.ipv4.mp.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

B.ipv4.ipsec.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

B.ipv4.ipsec.networkProtocolModule string "^.ip"
B.ipv4.ipsec.interfaceTableModule string
B.ipv4.ipsec.spdModule string "^.spd"
B.ipv4.ipsec.sadModule string "^.sad"
B.ipv4.ipsec.spdConfig xml
B.ipv4.ipsec.defaultProtection string ""

If not "": value to use where <Protection> element is absent from the configuration

B.ipv4.ipsec.defaultEspMode string ""

If not "": value to use where <EspMode> element is absent from the configuration

B.ipv4.ipsec.defaultEncryptionAlg string ""

If not "": value to use where <EncryptionAlg> element is absent from the configuration

B.ipv4.ipsec.defaultAuthenticationAlg string ""

If not "": value to use where <defaultAuthenticationAlg> element is absent from the configuration

B.ipv4.ipsec.defaultMaxTfcPadLength int 0

Value to use where <MaxTfcPadLength> element is absent from the configuration

B.ipv4.ipsec.ahProtectOutDelay double 0.0s
B.ipv4.ipsec.ahProtectInDelay double 0.0s
B.ipv4.ipsec.espProtectOutDelay double 0.0s
B.ipv4.ipsec.espProtectInDelay double 0.0s
B.ipv4.spd.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

B.ipv4.sad.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

B.ipv4.lp.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

B.ipv4.lp.interfaceTableModule string

Module path to the ~InterfaceTable module

B.ipv4.lp.forwardServiceRegistration bool true
B.ipv4.lp.forwardProtocolRegistration bool true
B.ipv4.lp.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

B.ipv4.lp.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

B.ipv4.lp.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

B.nl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

B.nl.interfaceTableModule string

Module path to the ~InterfaceTable module

B.nl.forwardServiceRegistration bool true
B.nl.forwardProtocolRegistration bool true
B.nl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

B.nl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

B.nl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

Source code

network BgpNetwork
{
    types:
        channel LINK_100 extends ThruputMeteringChannel
        {
            parameters:
                delay = 50us;
                datarate = 100Mbps;
                displayAsTooltip = true;
                thruputDisplayFormat = "#N";
        }
    submodules:
        visualizer: IntegratedCanvasVisualizer {
            parameters:
                @display("p=100,100;is=s");
        }
        configurator: Ipv4NetworkConfigurator {
            parameters:
                @display("p=100,200;is=s");
                config = xmldoc("IPv4Config.xml");
                addStaticRoutes = false;
                addDefaultRoutes = false;
                addSubnetRoutes = false;
        }
        A: BGPRouterSimple {
            parameters:
                @display("p=250,100");
        }
        B: BGPRouterSimple {
            parameters:
                @display("p=400,100");
        }
    connections:
        A.pppg++ <--> LINK_100 <--> B.pppg++;
}

File: examples/bgpv4/BgpOpen/Network.ned