Network multihomed

Package: inet.examples.sctp.cmttest
File: examples/sctp/cmttest/multihomed.ned

(no description)

StandardHost StandardHost Router Router

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.

Parameters:

Name Type Default value Description
testTimeout double 0s
testing bool false

Properties:

Name Value Description
isNetwork

Unassigned submodule parameters:

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

TODO @signal, @statistic

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

whether to display IP addresses on links

sctp_client.pcapRecorder.verbose bool false

whether to log packets on the module output

sctp_client.pcapRecorder.pcapFile string ""

the PCAP file to be written

sctp_client.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

sctp_client.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

sctp_client.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

sctp_client.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

sctp_client.pcapRecorder.alwaysFlush bool false

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

sctp_client.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

sctp_client.lo0.lo.mtu int 4470B
sctp_server.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

sctp_server.pcapRecorder.verbose bool false

whether to log packets on the module output

sctp_server.pcapRecorder.pcapFile string ""

the PCAP file to be written

sctp_server.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

sctp_server.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

sctp_server.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

sctp_server.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

sctp_server.pcapRecorder.alwaysFlush bool false

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

sctp_server.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

sctp_server.lo0.lo.mtu int 4470B
router1.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

router1.pcapRecorder.verbose bool false

whether to log packets on the module output

router1.pcapRecorder.pcapFile string ""

the PCAP file to be written

router1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

router1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

router1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

router1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

router1.pcapRecorder.alwaysFlush bool false

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

router1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

router1.bgp.routingTableModule string
router1.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
router1.bgp.dataTransferMode string
router2.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

router2.pcapRecorder.verbose bool false

whether to log packets on the module output

router2.pcapRecorder.pcapFile string ""

the PCAP file to be written

router2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

router2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

router2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

router2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

router2.pcapRecorder.alwaysFlush bool false

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

router2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

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

The path to the InterfaceTable module

router2.bgp.routingTableModule string
router2.bgp.ospfRoutingModule string hasOSPF ? "^.ospf" : ""
router2.bgp.dataTransferMode string

Source code:

network multihomed
{
    parameters:
        double testTimeout @unit(s) = default(0s);
        bool testing = default(false);

    submodules:
        sctp_client: StandardHost {
            parameters:
                forwarding = false;
                networkLayer.configurator.networkConfiguratorModule = "";
                @display("p=61,142;i=device/laptop");
            gates:
                pppg[2];
        }
        sctp_server: StandardHost {
            parameters:
                forwarding = false;
                networkLayer.configurator.networkConfiguratorModule = "";
                @display("p=426,135;i=device/server2");
            gates:
                pppg[2];

        }
        router1: Router {
            parameters:
                networkLayer.configurator.networkConfiguratorModule = "";
                @display("p=188,77;i=abstract/router");
            gates:
                pppg[4];
        }
        router2: Router {
            parameters:
                networkLayer.configurator.networkConfiguratorModule = "";
                @display("p=323,75;i=abstract/router");
            gates:
                pppg[4];
        }
    connections:
        sctp_client.pppg[0] <--> NormalPath <--> router1.pppg[0];
        sctp_client.pppg[1] <--> NormalPath <--> router1.pppg[1];
        router1.pppg[2] <--> BottlePath <--> router2.pppg[0];
        router1.pppg[3] <--> BottlePath <--> router2.pppg[1];
        router2.pppg[2] <--> NormalPath <--> sctp_server.pppg[0];
        router2.pppg[3] <--> NormalPath <--> sctp_server.pppg[1];
}