Network BGPTest

Package: inet.examples.bgpv4.BGP3Routers
File: examples/bgpv4/BGP3Routers/Network.ned

(no description)

BGPRouter BGPRouter BGPRouter OSPFRouter OSPFRouter OSPFRouter OSPFRouter OSPFRouter OSPFRouter EtherSwitch EtherSwitch EtherSwitch EtherSwitch EtherSwitch EtherSwitch StandardHost StandardHost StandardHost StandardHost StandardHost StandardHost StandardHost StandardHost StandardHost StandardHost StandardHost StandardHost IPv4NetworkConfigurator

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Properties:

Name Value Description
isNetwork

Unassigned submodule parameters:

Name Type Default value Description
A.status.initialStatus string "UP"

TODO @signal, @statistic

A.routingTable.forwarding bool
A.routingTable.multicastForwarding bool
A.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

A.pcapRecorder.verbose bool false

whether to log packets on the module output

A.pcapRecorder.pcapFile string ""

the PCAP file to be written

A.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

A.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

A.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

A.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

A.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

A.pcapRecorder.alwaysFlush bool false

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

A.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

A.lo0.lo.mtu int 4470B
A.bgp.interfaceTableModule string

The path to the InterfaceTable module

A.bgp.routingTableModule string
A.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
A.bgp.dataTransferMode string
B.status.initialStatus string "UP"

TODO @signal, @statistic

B.routingTable.forwarding bool
B.routingTable.multicastForwarding bool
B.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

B.pcapRecorder.verbose bool false

whether to log packets on the module output

B.pcapRecorder.pcapFile string ""

the PCAP file to be written

B.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

B.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

B.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

B.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

B.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

B.pcapRecorder.alwaysFlush bool false

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

B.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

B.lo0.lo.mtu int 4470B
B.bgp.interfaceTableModule string

The path to the InterfaceTable module

B.bgp.routingTableModule string
B.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
B.bgp.dataTransferMode string
C.status.initialStatus string "UP"

TODO @signal, @statistic

C.routingTable.forwarding bool
C.routingTable.multicastForwarding bool
C.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

C.pcapRecorder.verbose bool false

whether to log packets on the module output

C.pcapRecorder.pcapFile string ""

the PCAP file to be written

C.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

C.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

C.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

C.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

C.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

C.pcapRecorder.alwaysFlush bool false

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

C.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

C.lo0.lo.mtu int 4470B
C.bgp.interfaceTableModule string

The path to the InterfaceTable module

C.bgp.routingTableModule string
C.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
C.bgp.dataTransferMode string
RA1.status.initialStatus string "UP"

TODO @signal, @statistic

RA1.routingTable.forwarding bool
RA1.routingTable.multicastForwarding bool
RA1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

RA1.pcapRecorder.verbose bool false

whether to log packets on the module output

RA1.pcapRecorder.pcapFile string ""

the PCAP file to be written

RA1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

RA1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

RA1.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

RA1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

RA1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

RA1.pcapRecorder.alwaysFlush bool false

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

RA1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

RA1.lo0.lo.mtu int 4470B
RA1.bgp.interfaceTableModule string

The path to the InterfaceTable module

RA1.bgp.routingTableModule string
RA1.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
RA1.bgp.dataTransferMode string
RA2.status.initialStatus string "UP"

TODO @signal, @statistic

RA2.routingTable.forwarding bool
RA2.routingTable.multicastForwarding bool
RA2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

RA2.pcapRecorder.verbose bool false

whether to log packets on the module output

RA2.pcapRecorder.pcapFile string ""

the PCAP file to be written

RA2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

RA2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

RA2.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

RA2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

RA2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

RA2.pcapRecorder.alwaysFlush bool false

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

RA2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

RA2.lo0.lo.mtu int 4470B
RA2.bgp.interfaceTableModule string

The path to the InterfaceTable module

RA2.bgp.routingTableModule string
RA2.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
RA2.bgp.dataTransferMode string
RB1.status.initialStatus string "UP"

TODO @signal, @statistic

RB1.routingTable.forwarding bool
RB1.routingTable.multicastForwarding bool
RB1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

RB1.pcapRecorder.verbose bool false

whether to log packets on the module output

RB1.pcapRecorder.pcapFile string ""

the PCAP file to be written

RB1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

RB1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

RB1.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

RB1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

RB1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

RB1.pcapRecorder.alwaysFlush bool false

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

RB1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

RB1.lo0.lo.mtu int 4470B
RB1.bgp.interfaceTableModule string

The path to the InterfaceTable module

RB1.bgp.routingTableModule string
RB1.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
RB1.bgp.dataTransferMode string
RB2.status.initialStatus string "UP"

TODO @signal, @statistic

RB2.routingTable.forwarding bool
RB2.routingTable.multicastForwarding bool
RB2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

RB2.pcapRecorder.verbose bool false

whether to log packets on the module output

RB2.pcapRecorder.pcapFile string ""

the PCAP file to be written

RB2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

RB2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

RB2.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

RB2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

RB2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

RB2.pcapRecorder.alwaysFlush bool false

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

RB2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

RB2.lo0.lo.mtu int 4470B
RB2.bgp.interfaceTableModule string

The path to the InterfaceTable module

RB2.bgp.routingTableModule string
RB2.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
RB2.bgp.dataTransferMode string
RC1.status.initialStatus string "UP"

TODO @signal, @statistic

RC1.routingTable.forwarding bool
RC1.routingTable.multicastForwarding bool
RC1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

RC1.pcapRecorder.verbose bool false

whether to log packets on the module output

RC1.pcapRecorder.pcapFile string ""

the PCAP file to be written

RC1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

RC1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

RC1.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

RC1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

RC1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

RC1.pcapRecorder.alwaysFlush bool false

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

RC1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

RC1.lo0.lo.mtu int 4470B
RC1.bgp.interfaceTableModule string

The path to the InterfaceTable module

RC1.bgp.routingTableModule string
RC1.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
RC1.bgp.dataTransferMode string
RC2.status.initialStatus string "UP"

TODO @signal, @statistic

RC2.routingTable.forwarding bool
RC2.routingTable.multicastForwarding bool
RC2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

RC2.pcapRecorder.verbose bool false

whether to log packets on the module output

RC2.pcapRecorder.pcapFile string ""

the PCAP file to be written

RC2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

RC2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

RC2.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

RC2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

RC2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

RC2.pcapRecorder.alwaysFlush bool false

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

RC2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

RC2.lo0.lo.mtu int 4470B
RC2.bgp.interfaceTableModule string

The path to the InterfaceTable module

RC2.bgp.routingTableModule string
RC2.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
RC2.bgp.dataTransferMode string
PA1.status.initialStatus string "UP"

TODO @signal, @statistic

PA1.l2NodeConfigurator.interfaceTableModule string
PA1.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

PA1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

PA1.macTable.agingTime double
PA1.macTable.addressTableFile string
PA1.stp.helloTime double
PA1.stp.forwardDelay double
PA1.stp.maxAge double
PA1.stp.bridgePriority int
PA1.stp.visualize bool
PA2.status.initialStatus string "UP"

TODO @signal, @statistic

PA2.l2NodeConfigurator.interfaceTableModule string
PA2.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

PA2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

PA2.macTable.agingTime double
PA2.macTable.addressTableFile string
PA2.stp.helloTime double
PA2.stp.forwardDelay double
PA2.stp.maxAge double
PA2.stp.bridgePriority int
PA2.stp.visualize bool
PB1.status.initialStatus string "UP"

TODO @signal, @statistic

PB1.l2NodeConfigurator.interfaceTableModule string
PB1.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

PB1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

PB1.macTable.agingTime double
PB1.macTable.addressTableFile string
PB1.stp.helloTime double
PB1.stp.forwardDelay double
PB1.stp.maxAge double
PB1.stp.bridgePriority int
PB1.stp.visualize bool
PB2.status.initialStatus string "UP"

TODO @signal, @statistic

PB2.l2NodeConfigurator.interfaceTableModule string
PB2.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

PB2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

PB2.macTable.agingTime double
PB2.macTable.addressTableFile string
PB2.stp.helloTime double
PB2.stp.forwardDelay double
PB2.stp.maxAge double
PB2.stp.bridgePriority int
PB2.stp.visualize bool
PC1.status.initialStatus string "UP"

TODO @signal, @statistic

PC1.l2NodeConfigurator.interfaceTableModule string
PC1.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

PC1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

PC1.macTable.agingTime double
PC1.macTable.addressTableFile string
PC1.stp.helloTime double
PC1.stp.forwardDelay double
PC1.stp.maxAge double
PC1.stp.bridgePriority int
PC1.stp.visualize bool
PC2.status.initialStatus string "UP"

TODO @signal, @statistic

PC2.l2NodeConfigurator.interfaceTableModule string
PC2.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

PC2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

PC2.macTable.agingTime double
PC2.macTable.addressTableFile string
PC2.stp.helloTime double
PC2.stp.forwardDelay double
PC2.stp.maxAge double
PC2.stp.bridgePriority int
PC2.stp.visualize bool
HA11.status.initialStatus string "UP"

TODO @signal, @statistic

HA11.routingTable.forwarding bool
HA11.routingTable.multicastForwarding bool
HA11.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

HA11.pcapRecorder.verbose bool false

whether to log packets on the module output

HA11.pcapRecorder.pcapFile string ""

the PCAP file to be written

HA11.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

HA11.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

HA11.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

HA11.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

HA11.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

HA11.pcapRecorder.alwaysFlush bool false

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

HA11.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

HA11.lo0.lo.mtu int 4470B
HA12.status.initialStatus string "UP"

TODO @signal, @statistic

HA12.routingTable.forwarding bool
HA12.routingTable.multicastForwarding bool
HA12.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

HA12.pcapRecorder.verbose bool false

whether to log packets on the module output

HA12.pcapRecorder.pcapFile string ""

the PCAP file to be written

HA12.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

HA12.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

HA12.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

HA12.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

HA12.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

HA12.pcapRecorder.alwaysFlush bool false

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

HA12.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

HA12.lo0.lo.mtu int 4470B
HA21.status.initialStatus string "UP"

TODO @signal, @statistic

HA21.routingTable.forwarding bool
HA21.routingTable.multicastForwarding bool
HA21.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

HA21.pcapRecorder.verbose bool false

whether to log packets on the module output

HA21.pcapRecorder.pcapFile string ""

the PCAP file to be written

HA21.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

HA21.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

HA21.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

HA21.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

HA21.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

HA21.pcapRecorder.alwaysFlush bool false

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

HA21.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

HA21.lo0.lo.mtu int 4470B
HA22.status.initialStatus string "UP"

TODO @signal, @statistic

HA22.routingTable.forwarding bool
HA22.routingTable.multicastForwarding bool
HA22.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

HA22.pcapRecorder.verbose bool false

whether to log packets on the module output

HA22.pcapRecorder.pcapFile string ""

the PCAP file to be written

HA22.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

HA22.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

HA22.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

HA22.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

HA22.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

HA22.pcapRecorder.alwaysFlush bool false

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

HA22.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

HA22.lo0.lo.mtu int 4470B
HB11.status.initialStatus string "UP"

TODO @signal, @statistic

HB11.routingTable.forwarding bool
HB11.routingTable.multicastForwarding bool
HB11.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

HB11.pcapRecorder.verbose bool false

whether to log packets on the module output

HB11.pcapRecorder.pcapFile string ""

the PCAP file to be written

HB11.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

HB11.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

HB11.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

HB11.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

HB11.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

HB11.pcapRecorder.alwaysFlush bool false

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

HB11.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

HB11.lo0.lo.mtu int 4470B
HB12.status.initialStatus string "UP"

TODO @signal, @statistic

HB12.routingTable.forwarding bool
HB12.routingTable.multicastForwarding bool
HB12.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

HB12.pcapRecorder.verbose bool false

whether to log packets on the module output

HB12.pcapRecorder.pcapFile string ""

the PCAP file to be written

HB12.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

HB12.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

HB12.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

HB12.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

HB12.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

HB12.pcapRecorder.alwaysFlush bool false

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

HB12.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

HB12.lo0.lo.mtu int 4470B
HB21.status.initialStatus string "UP"

TODO @signal, @statistic

HB21.routingTable.forwarding bool
HB21.routingTable.multicastForwarding bool
HB21.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

HB21.pcapRecorder.verbose bool false

whether to log packets on the module output

HB21.pcapRecorder.pcapFile string ""

the PCAP file to be written

HB21.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

HB21.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

HB21.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

HB21.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

HB21.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

HB21.pcapRecorder.alwaysFlush bool false

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

HB21.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

HB21.lo0.lo.mtu int 4470B
HB22.status.initialStatus string "UP"

TODO @signal, @statistic

HB22.routingTable.forwarding bool
HB22.routingTable.multicastForwarding bool
HB22.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

HB22.pcapRecorder.verbose bool false

whether to log packets on the module output

HB22.pcapRecorder.pcapFile string ""

the PCAP file to be written

HB22.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

HB22.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

HB22.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

HB22.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

HB22.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

HB22.pcapRecorder.alwaysFlush bool false

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

HB22.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

HB22.lo0.lo.mtu int 4470B
HC11.status.initialStatus string "UP"

TODO @signal, @statistic

HC11.routingTable.forwarding bool
HC11.routingTable.multicastForwarding bool
HC11.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

HC11.pcapRecorder.verbose bool false

whether to log packets on the module output

HC11.pcapRecorder.pcapFile string ""

the PCAP file to be written

HC11.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

HC11.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

HC11.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

HC11.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

HC11.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

HC11.pcapRecorder.alwaysFlush bool false

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

HC11.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

HC11.lo0.lo.mtu int 4470B
HC12.status.initialStatus string "UP"

TODO @signal, @statistic

HC12.routingTable.forwarding bool
HC12.routingTable.multicastForwarding bool
HC12.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

HC12.pcapRecorder.verbose bool false

whether to log packets on the module output

HC12.pcapRecorder.pcapFile string ""

the PCAP file to be written

HC12.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

HC12.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

HC12.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

HC12.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

HC12.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

HC12.pcapRecorder.alwaysFlush bool false

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

HC12.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

HC12.lo0.lo.mtu int 4470B
HC21.status.initialStatus string "UP"

TODO @signal, @statistic

HC21.routingTable.forwarding bool
HC21.routingTable.multicastForwarding bool
HC21.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

HC21.pcapRecorder.verbose bool false

whether to log packets on the module output

HC21.pcapRecorder.pcapFile string ""

the PCAP file to be written

HC21.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

HC21.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

HC21.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

HC21.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

HC21.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

HC21.pcapRecorder.alwaysFlush bool false

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

HC21.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

HC21.lo0.lo.mtu int 4470B
HC22.status.initialStatus string "UP"

TODO @signal, @statistic

HC22.routingTable.forwarding bool
HC22.routingTable.multicastForwarding bool
HC22.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

HC22.pcapRecorder.verbose bool false

whether to log packets on the module output

HC22.pcapRecorder.pcapFile string ""

the PCAP file to be written

HC22.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

HC22.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

HC22.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

HC22.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

HC22.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

HC22.pcapRecorder.alwaysFlush bool false

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

HC22.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

HC22.lo0.lo.mtu int 4470B
configurator.minLinkWeight double 1E-3
configurator.assignAddresses bool true

assign IP addresses to all interfaces in the network

configurator.assignDisjunctSubnetAddresses bool true

avoid using the same address prefix and netmask on different links when assigning IP addresses to interfaces

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)

Source code:

network BGPTest
{
    types:
        channel LINK_100 extends ThruputMeteringChannel
        {
            parameters:
                delay = 0;
                datarate = 100Mbps;
                thruputDisplayFormat = "#N";
        }
    submodules:
        A: BGPRouter {
            parameters:
                @display("p=266,141");
            gates:
                pppg[4];
        }
        B: BGPRouter {
            parameters:
                @display("p=338,141");
            gates:
                pppg[4];
        }
        C: BGPRouter {
            parameters:
                @display("p=298,197");
            gates:
                pppg[4];
        }
        RA1: OSPFRouter {
            parameters:
                @display("p=198,113;i=device/router");
            gates:
                pppg[2];
                ethg[1];
        }
        RA2: OSPFRouter {
            parameters:
                @display("p=198,187;i=device/router");
            gates:
                pppg[2];
                ethg[1];
        }
        RB1: OSPFRouter {
            parameters:
                @display("p=406,105;i=device/router");
            gates:
                pppg[2];
                ethg[1];
        }
        RB2: OSPFRouter {
            parameters:
                @display("p=406,187;i=device/router");
            gates:
                pppg[2];
                ethg[1];
        }
        RC1: OSPFRouter {
            parameters:
                @display("p=262,273;i=device/router");
            gates:
                pppg[2];
                ethg[1];
        }
        RC2: OSPFRouter {
            parameters:
                @display("p=342,275;i=device/router");
            gates:
                pppg[2];
                ethg[1];
        }
        PA1: EtherSwitch {
            parameters:
                @display("p=124,70;i=device/switch");
            gates:
                ethg[3];
        }
        PA2: EtherSwitch {
            parameters:
                @display("p=114,190;i=device/switch");
            gates:
                ethg[3];
        }
        PB1: EtherSwitch {
            parameters:
                @display("p=484,78;i=device/switch");
            gates:
                ethg[3];
        }
        PB2: EtherSwitch {
            parameters:
                @display("p=492,190;i=device/switch");
            gates:
                ethg[3];
        }
        PC1: EtherSwitch {
            parameters:
                @display("p=244,350;i=device/switch");
            gates:
                ethg[3];
        }
        PC2: EtherSwitch {
            parameters:
                @display("p=364,350;i=device/switch");
            gates:
                ethg[3];
        }
        HA11: StandardHost {
            parameters:
                @display("p=42,34;i=device/pc");
            gates:
                ethg[1];
        }
        HA12: StandardHost {
            parameters:
                @display("p=34,90;i=device/pc");
            gates:
                ethg[1];
        }
        HA21: StandardHost {
            parameters:
                @display("p=34,156;i=device/pc");
            gates:
                ethg[1];
        }
        HA22: StandardHost {
            parameters:
                @display("p=34,218;i=device/pc");
            gates:
                ethg[1];
        }
        HB11: StandardHost {
            parameters:
                @display("p=558,34;i=device/pc");
            gates:
                ethg[1];
        }
        HB12: StandardHost {
            parameters:
                @display("p=558,90;i=device/pc");
            gates:
                ethg[1];
        }
        HB21: StandardHost {
            parameters:
                @display("p=558,156;i=device/pc");
            gates:
                ethg[1];
        }
        HB22: StandardHost {
            parameters:
                @display("p=558,220;i=device/pc");
            gates:
                ethg[1];
        }
        HC11: StandardHost {
            parameters:
                @display("p=206,426;i=device/pc");
            gates:
                ethg[1];
        }
        HC12: StandardHost {
            parameters:
                @display("p=262,426;i=device/pc");
            gates:
                ethg[1];
        }
        HC21: StandardHost {
            parameters:
                @display("p=334,428;i=device/pc");
            gates:
                ethg[1];
        }
        HC22: StandardHost {
            parameters:
                @display("p=398,428;i=device/pc");
            gates:
                ethg[1];
        }
        configurator: IPv4NetworkConfigurator {
            @display("p=71,374");
            config = xmldoc("IPv4Config.xml");
            //assignAddresses = false;
            //assignDisjunctSubnetAddresses = false;
            addStaticRoutes = false;
            addDefaultRoutes = false;
            addSubnetRoutes = false;
        }
    connections:
        //LAN A1 et A2
        HA11.ethg[0] <--> LINK_100 <--> PA1.ethg[0];
        HA12.ethg[0] <--> LINK_100 <--> PA1.ethg[1];
        HA21.ethg[0] <--> LINK_100 <--> PA2.ethg[0];
        HA22.ethg[0] <--> LINK_100 <--> PA2.ethg[1];
        PA1.ethg[2] <--> LINK_100 <--> RA1.ethg[0];
        PA2.ethg[2] <--> LINK_100 <--> RA2.ethg[0];

        //LAN B1 et B2
        HB11.ethg[0] <--> LINK_100 <--> PB1.ethg[0];
        HB12.ethg[0] <--> LINK_100 <--> PB1.ethg[1];
        HB21.ethg[0] <--> LINK_100 <--> PB2.ethg[0];
        HB22.ethg[0] <--> LINK_100 <--> PB2.ethg[1];
        PB1.ethg[2] <--> LINK_100 <--> RB1.ethg[0];
        PB2.ethg[2] <--> LINK_100 <--> RB2.ethg[0];

        //LAN C1 et C2
        HC11.ethg[0] <--> LINK_100 <--> PC1.ethg[0];
        HC12.ethg[0] <--> LINK_100 <--> PC1.ethg[1];
        HC21.ethg[0] <--> LINK_100 <--> PC2.ethg[0];
        HC22.ethg[0] <--> LINK_100 <--> PC2.ethg[1];
        PC1.ethg[2] <--> LINK_100 <--> RC1.ethg[0];
        PC2.ethg[2] <--> LINK_100 <--> RC2.ethg[0];

        //OSPF A
        RA1.pppg[1] <--> LINK_100 <--> RA2.pppg[1];
        RA1.pppg[0] <--> LINK_100 <--> A.pppg[2];
        RA2.pppg[0] <--> LINK_100 <--> A.pppg[3];

        //OSPF B
        RB1.pppg[1] <--> LINK_100 <--> RB2.pppg[1];
        RB1.pppg[0] <--> LINK_100 <--> B.pppg[2];
        RB2.pppg[0] <--> LINK_100 <--> B.pppg[3];

        //OSPF C
        RC1.pppg[1] <--> LINK_100 <--> RC2.pppg[1];
        RC1.pppg[0] <--> LINK_100 <--> C.pppg[2];
        RC2.pppg[0] <--> LINK_100 <--> C.pppg[3];

        //BGP
        A.pppg[0] <--> LINK_100 <--> B.pppg[0];
        A.pppg[1] <--> LINK_100 <--> C.pppg[0];
        B.pppg[1] <--> LINK_100 <--> C.pppg[1];

}