BgpNetwork

Package: inet.examples.bgpv4.BgpUpdate

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 : BGPRouterEx

Example IP router with BGPv4 and OSPFv4 support.

Source:
A: BGPRouterEx {
    parameters:
        @display("p=400,100");
    gates:
        pppg[1];
        ethg[1];
} B : BGPRouterEx

Example IP router with BGPv4 and OSPFv4 support.

Source:
B: BGPRouterEx {
    parameters:
        @display("p=550,100");
    gates:
        pppg[1];
        ethg[1];
} H1 : StandardHost

A comprehensive model of an IPv4/IPv6 host that provides a complete network stack with configurable...

Source:
H1: StandardHost {
    parameters:
        @display("p=250,100;i=device/laptop");
    gates:
        ethg[1];
} H2 : StandardHost

A comprehensive model of an IPv4/IPv6 host that provides a complete network stack with configurable...

Source:
H2: StandardHost {
    parameters:
        @display("p=700,100;i=device/laptop");
    gates:
        ethg[1];
}

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.ospf.displayStringTextFormat string ""

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

A.ospf.interfaceTableModule string
A.ospf.routingTableModule string
A.ospf.checksumMode string "declared"
A.ospf.startupTime double 0s

Delay before starting OSPF

A.ospf.ospfConfig xml xml(" \ \ \ \ ")

xml containing the full OSPF AS configuration

A.ospf.routerPriority int 1

Priority in DR/BDR election (Specify 0 to exclude the router from the election)

A.ospf.areaID string "0.0.0.0"
A.ospf.RFC1583Compatible bool false

If 'false', prune the set of routing table entries for the ASBR (RFC 3101)

A.ospf.DistributeDefaultRoute bool false

Distribute the default route (if exists) using AS-External LSA

A.ospf.helloInterval int 10s

Specifies the time in seconds between hello packets that the other router sends on an interface

A.ospf.pollInterval int 120s

Specifies the length of time, in seconds, between OSPF packets that the router send before adjacency is established with a neighbor

A.ospf.routerDeadInterval int 40s

The interval during which at least one hello packet must be received from a neighbor before the router declares that neighbor as down

A.ospf.retransmissionInterval int 5s

The time between OSPF LSA retransmissions for adjacencies that belongs to the interface

A.ospf.interfaceTransmissionDelay int 1s

The number of seconds required to transmit a link state update packet. Valid values are 1 to 65535

A.ospf.interfaceMode string "Active"

NoOSPF: the interface is not advertised by OSPF Passive: the interface is advertised, but no OSPF message is sent out

A.ospf.referenceBandwidth int 1e8bps

Reference bandwidth for cost calculation

A.ospf.interfaceOutputCost int 0

Cost of link on the interface (1-1000), 0 means use reference bandwidth

A.ospf.externalInterfaceOutputCost int 1

Cost of link (1-1000)

A.ospf.externalInterfaceOutputType string "Type2"

Type1|Type2

A.ospf.forwardingAddress string "0.0.0.0"
A.ospf.linkCost int 1

Cost of link (1-1000) for HostInterface and LoopbackInterface only

A.ospf.authenticationType string "NullType"
A.ospf.authenticationKey string "0x00"

0xnn..nn

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

A.li.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.li.interfaceTableModule string

Module path to the ~InterfaceTable module

A.li.forwardServiceRegistration bool true
A.li.forwardProtocolRegistration bool true
A.li.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.li.serviceMapping object {}

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

A.li.protocolMapping object {}

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

A.eth.bitrate double
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.ospf.displayStringTextFormat string ""

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

B.ospf.interfaceTableModule string
B.ospf.routingTableModule string
B.ospf.checksumMode string "declared"
B.ospf.startupTime double 0s

Delay before starting OSPF

B.ospf.ospfConfig xml xml(" \ \ \ \ ")

xml containing the full OSPF AS configuration

B.ospf.routerPriority int 1

Priority in DR/BDR election (Specify 0 to exclude the router from the election)

B.ospf.areaID string "0.0.0.0"
B.ospf.RFC1583Compatible bool false

If 'false', prune the set of routing table entries for the ASBR (RFC 3101)

B.ospf.DistributeDefaultRoute bool false

Distribute the default route (if exists) using AS-External LSA

B.ospf.helloInterval int 10s

Specifies the time in seconds between hello packets that the other router sends on an interface

B.ospf.pollInterval int 120s

Specifies the length of time, in seconds, between OSPF packets that the router send before adjacency is established with a neighbor

B.ospf.routerDeadInterval int 40s

The interval during which at least one hello packet must be received from a neighbor before the router declares that neighbor as down

B.ospf.retransmissionInterval int 5s

The time between OSPF LSA retransmissions for adjacencies that belongs to the interface

B.ospf.interfaceTransmissionDelay int 1s

The number of seconds required to transmit a link state update packet. Valid values are 1 to 65535

B.ospf.interfaceMode string "Active"

NoOSPF: the interface is not advertised by OSPF Passive: the interface is advertised, but no OSPF message is sent out

B.ospf.referenceBandwidth int 1e8bps

Reference bandwidth for cost calculation

B.ospf.interfaceOutputCost int 0

Cost of link on the interface (1-1000), 0 means use reference bandwidth

B.ospf.externalInterfaceOutputCost int 1

Cost of link (1-1000)

B.ospf.externalInterfaceOutputType string "Type2"

Type1|Type2

B.ospf.forwardingAddress string "0.0.0.0"
B.ospf.linkCost int 1

Cost of link (1-1000) for HostInterface and LoopbackInterface only

B.ospf.authenticationType string "NullType"
B.ospf.authenticationKey string "0x00"

0xnn..nn

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

B.li.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.li.interfaceTableModule string

Module path to the ~InterfaceTable module

B.li.forwardServiceRegistration bool true
B.li.forwardProtocolRegistration bool true
B.li.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.li.serviceMapping object {}

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

B.li.protocolMapping object {}

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

B.eth.bitrate double
H1.status.displayStringTextFormat string ""

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

H1.status.initialStatus string "UP"

TODO @signal, @statistic

H1.environment.displayStringTextFormat string ""

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

H1.environment.initStage int 0

Initialization stage for the setup command

H1.environment.globalNamespace bool false

Create new network namespaces under /var/run/netns/ (Linux only)

H1.environment.namespace string ""

Name of the host OS network namespace (optional) (Linux only)

H1.environment.setupCommand string ""

A host OS system command

H1.environment.teardownCommand string ""

A host OS system command

H1.pcapRecorder.displayStringTextFormat string "rec: %n pks"

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

H1.pcapRecorder.verbose bool true

Whether to log packets on the module output

H1.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

H1.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

H1.pcapRecorder.pcapFile string ""

The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap"

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

Maximum number of bytes to record per packet

H1.pcapRecorder.timePrecision int 6

Time precision in recorded file. pcap supports only 6 (usec) or 9 (nanosec), pcapng supports more values (see 'if_tsresol' option in pcapng file format).

H1.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

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

Space-separated list of sibling module names to listen on

H1.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

H1.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

H1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

H1.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

H1.pcapRecorder.helpers string ""

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

H1.pcapRecorder.alwaysFlush bool false

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

H1.interfaceTable.displayStringTextFormat string ""

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

H1.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

H1.cb.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

H1.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

H1.cb.forwardServiceRegistration bool true
H1.cb.forwardProtocolRegistration bool true
H1.cb.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

H1.cb.serviceMapping object {}

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

H1.cb.protocolMapping object {}

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

H1.bl.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

H1.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

H1.bl.forwardServiceRegistration bool true
H1.bl.forwardProtocolRegistration bool true
H1.bl.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

H1.bl.serviceMapping object {}

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

H1.bl.protocolMapping object {}

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

H1.li.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

H1.li.interfaceTableModule string

Module path to the ~InterfaceTable module

H1.li.forwardServiceRegistration bool true
H1.li.forwardProtocolRegistration bool true
H1.li.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

H1.li.serviceMapping object {}

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

H1.li.protocolMapping object {}

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

H1.eth.bitrate double
H1.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

H1.nl.interfaceTableModule string

Module path to the ~InterfaceTable module

H1.nl.forwardServiceRegistration bool true
H1.nl.forwardProtocolRegistration bool true
H1.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

H1.nl.serviceMapping object {}

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

H1.nl.protocolMapping object {}

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

H1.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

H1.tn.interfaceTableModule string

Module path to the ~InterfaceTable module

H1.tn.forwardServiceRegistration bool true
H1.tn.forwardProtocolRegistration bool true
H1.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

H1.tn.serviceMapping object {}

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

H1.tn.protocolMapping object {}

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

H1.at.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

H1.at.interfaceTableModule string

Module path to the ~InterfaceTable module

H1.at.forwardServiceRegistration bool true
H1.at.forwardProtocolRegistration bool true
H1.at.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

H1.at.serviceMapping object {}

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

H1.at.protocolMapping object {}

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

H2.status.displayStringTextFormat string ""

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

H2.status.initialStatus string "UP"

TODO @signal, @statistic

H2.environment.displayStringTextFormat string ""

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

H2.environment.initStage int 0

Initialization stage for the setup command

H2.environment.globalNamespace bool false

Create new network namespaces under /var/run/netns/ (Linux only)

H2.environment.namespace string ""

Name of the host OS network namespace (optional) (Linux only)

H2.environment.setupCommand string ""

A host OS system command

H2.environment.teardownCommand string ""

A host OS system command

H2.pcapRecorder.displayStringTextFormat string "rec: %n pks"

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

H2.pcapRecorder.verbose bool true

Whether to log packets on the module output

H2.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

H2.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

H2.pcapRecorder.pcapFile string ""

The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap"

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

Maximum number of bytes to record per packet

H2.pcapRecorder.timePrecision int 6

Time precision in recorded file. pcap supports only 6 (usec) or 9 (nanosec), pcapng supports more values (see 'if_tsresol' option in pcapng file format).

H2.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

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

Space-separated list of sibling module names to listen on

H2.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

H2.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

H2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

H2.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

H2.pcapRecorder.helpers string ""

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

H2.pcapRecorder.alwaysFlush bool false

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

H2.interfaceTable.displayStringTextFormat string ""

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

H2.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

H2.cb.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

H2.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

H2.cb.forwardServiceRegistration bool true
H2.cb.forwardProtocolRegistration bool true
H2.cb.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

H2.cb.serviceMapping object {}

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

H2.cb.protocolMapping object {}

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

H2.bl.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

H2.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

H2.bl.forwardServiceRegistration bool true
H2.bl.forwardProtocolRegistration bool true
H2.bl.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

H2.bl.serviceMapping object {}

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

H2.bl.protocolMapping object {}

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

H2.li.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

H2.li.interfaceTableModule string

Module path to the ~InterfaceTable module

H2.li.forwardServiceRegistration bool true
H2.li.forwardProtocolRegistration bool true
H2.li.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

H2.li.serviceMapping object {}

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

H2.li.protocolMapping object {}

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

H2.eth.bitrate double
H2.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

H2.nl.interfaceTableModule string

Module path to the ~InterfaceTable module

H2.nl.forwardServiceRegistration bool true
H2.nl.forwardProtocolRegistration bool true
H2.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

H2.nl.serviceMapping object {}

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

H2.nl.protocolMapping object {}

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

H2.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

H2.tn.interfaceTableModule string

Module path to the ~InterfaceTable module

H2.tn.forwardServiceRegistration bool true
H2.tn.forwardProtocolRegistration bool true
H2.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

H2.tn.serviceMapping object {}

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

H2.tn.protocolMapping object {}

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

H2.at.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

H2.at.interfaceTableModule string

Module path to the ~InterfaceTable module

H2.at.forwardServiceRegistration bool true
H2.at.forwardProtocolRegistration bool true
H2.at.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

H2.at.serviceMapping object {}

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

H2.at.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: BGPRouterEx {
            parameters:
                @display("p=400,100");
            gates:
                pppg[1];
                ethg[1];
        }
        B: BGPRouterEx {
            parameters:
                @display("p=550,100");
            gates:
                pppg[1];
                ethg[1];
        }
        H1: StandardHost {
            parameters:
                @display("p=250,100;i=device/laptop");
            gates:
                ethg[1];
        }
        H2: StandardHost {
            parameters:
                @display("p=700,100;i=device/laptop");
            gates:
                ethg[1];
        }
    connections:
        H1.ethg[0] <--> LINK_100 <--> A.ethg[0];
        A.pppg[0] <--> LINK_100 <--> B.pppg[0];
        B.ethg[0] <--> LINK_100 <--> H2.ethg[0];
}

File: examples/bgpv4/BgpUpdate/Network.ned