Network LargeNet

Package: inet.examples.ieee8021d
File: examples/ieee8021d/Networks.ned

(no description)

STPTester ScenarioManager L2NetworkConfigurator LifecycleController EtherSwitch EtherSwitch EtherSwitch EtherSwitch EtherSwitch EtherSwitch EtherSwitch EtherHost EtherHost EtherHost EtherHost EtherHost EtherHost EtherSwitch EtherSwitch EtherSwitch EtherSwitch

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.

Extends:

Name Type Description
SwitchNetwork network (no description)

Properties:

Name Value Description
isNetwork
display bgb=952,472

Unassigned submodule parameters:

Name Type Default value Description
stpTester.checkTime double 500ms
scenarioManager.script xml xml("")
l2NetworkConfigurator.config xml xml("")
switch1.status.initialStatus string "UP"

TODO @signal, @statistic

switch1.l2NodeConfigurator.interfaceTableModule string
switch1.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

switch1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

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

TODO @signal, @statistic

switch2.l2NodeConfigurator.interfaceTableModule string
switch2.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

switch2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

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

TODO @signal, @statistic

switch3.l2NodeConfigurator.interfaceTableModule string
switch3.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

switch3.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

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

TODO @signal, @statistic

switch4.l2NodeConfigurator.interfaceTableModule string
switch4.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

switch4.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

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

TODO @signal, @statistic

switch5.l2NodeConfigurator.interfaceTableModule string
switch5.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

switch5.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

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

TODO @signal, @statistic

switch6.l2NodeConfigurator.interfaceTableModule string
switch6.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

switch6.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

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

TODO @signal, @statistic

switch7.l2NodeConfigurator.interfaceTableModule string
switch7.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

switch7.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

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

TODO @signal, @statistic

host1.cli.destAddress string ""

destination MAC address, or module path name of destination station; empty means off

host1.cli.startTime double this.sendInterval

time of sending the first request

host1.cli.stopTime double -1s

time of finishing sending, negative values mean forever

host1.cli.localSAP int 0xf0
host1.cli.remoteSAP int 0xf1
host1.cli.sendInterval double uniform(0s,1s)

interval between sending requests

host1.cli.reqLength int 100B

length of request packets

host1.cli.respLength int 1KiB

length of response packets

host1.srv.localSAP int 0xf1
host1.queue.pauseQueue.frameCapacity int 100
host1.mac.promiscuous bool

if true, all packets are received, otherwise only the ones with matching destination MAC address

host1.mac.address string

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

host1.mac.duplexMode bool

selects full-duplex (true) or half-duplex (false) operation

host1.mac.txQueueLimit int

maximum number of frames queued up for transmission; additional frames are dropped. Only used if queueModule==""

host1.mac.mtu int
host2.status.initialStatus string "UP"

TODO @signal, @statistic

host2.cli.destAddress string ""

destination MAC address, or module path name of destination station; empty means off

host2.cli.startTime double this.sendInterval

time of sending the first request

host2.cli.stopTime double -1s

time of finishing sending, negative values mean forever

host2.cli.localSAP int 0xf0
host2.cli.remoteSAP int 0xf1
host2.cli.sendInterval double uniform(0s,1s)

interval between sending requests

host2.cli.reqLength int 100B

length of request packets

host2.cli.respLength int 1KiB

length of response packets

host2.srv.localSAP int 0xf1
host2.queue.pauseQueue.frameCapacity int 100
host2.mac.promiscuous bool

if true, all packets are received, otherwise only the ones with matching destination MAC address

host2.mac.address string

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

host2.mac.duplexMode bool

selects full-duplex (true) or half-duplex (false) operation

host2.mac.txQueueLimit int

maximum number of frames queued up for transmission; additional frames are dropped. Only used if queueModule==""

host2.mac.mtu int
host3.status.initialStatus string "UP"

TODO @signal, @statistic

host3.cli.destAddress string ""

destination MAC address, or module path name of destination station; empty means off

host3.cli.startTime double this.sendInterval

time of sending the first request

host3.cli.stopTime double -1s

time of finishing sending, negative values mean forever

host3.cli.localSAP int 0xf0
host3.cli.remoteSAP int 0xf1
host3.cli.sendInterval double uniform(0s,1s)

interval between sending requests

host3.cli.reqLength int 100B

length of request packets

host3.cli.respLength int 1KiB

length of response packets

host3.srv.localSAP int 0xf1
host3.queue.pauseQueue.frameCapacity int 100
host3.mac.promiscuous bool

if true, all packets are received, otherwise only the ones with matching destination MAC address

host3.mac.address string

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

host3.mac.duplexMode bool

selects full-duplex (true) or half-duplex (false) operation

host3.mac.txQueueLimit int

maximum number of frames queued up for transmission; additional frames are dropped. Only used if queueModule==""

host3.mac.mtu int
host4.status.initialStatus string "UP"

TODO @signal, @statistic

host4.cli.destAddress string ""

destination MAC address, or module path name of destination station; empty means off

host4.cli.startTime double this.sendInterval

time of sending the first request

host4.cli.stopTime double -1s

time of finishing sending, negative values mean forever

host4.cli.localSAP int 0xf0
host4.cli.remoteSAP int 0xf1
host4.cli.sendInterval double uniform(0s,1s)

interval between sending requests

host4.cli.reqLength int 100B

length of request packets

host4.cli.respLength int 1KiB

length of response packets

host4.srv.localSAP int 0xf1
host4.queue.pauseQueue.frameCapacity int 100
host4.mac.promiscuous bool

if true, all packets are received, otherwise only the ones with matching destination MAC address

host4.mac.address string

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

host4.mac.duplexMode bool

selects full-duplex (true) or half-duplex (false) operation

host4.mac.txQueueLimit int

maximum number of frames queued up for transmission; additional frames are dropped. Only used if queueModule==""

host4.mac.mtu int
host5.status.initialStatus string "UP"

TODO @signal, @statistic

host5.cli.destAddress string ""

destination MAC address, or module path name of destination station; empty means off

host5.cli.startTime double this.sendInterval

time of sending the first request

host5.cli.stopTime double -1s

time of finishing sending, negative values mean forever

host5.cli.localSAP int 0xf0
host5.cli.remoteSAP int 0xf1
host5.cli.sendInterval double uniform(0s,1s)

interval between sending requests

host5.cli.reqLength int 100B

length of request packets

host5.cli.respLength int 1KiB

length of response packets

host5.srv.localSAP int 0xf1
host5.queue.pauseQueue.frameCapacity int 100
host5.mac.promiscuous bool

if true, all packets are received, otherwise only the ones with matching destination MAC address

host5.mac.address string

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

host5.mac.duplexMode bool

selects full-duplex (true) or half-duplex (false) operation

host5.mac.txQueueLimit int

maximum number of frames queued up for transmission; additional frames are dropped. Only used if queueModule==""

host5.mac.mtu int
host6.status.initialStatus string "UP"

TODO @signal, @statistic

host6.cli.destAddress string ""

destination MAC address, or module path name of destination station; empty means off

host6.cli.startTime double this.sendInterval

time of sending the first request

host6.cli.stopTime double -1s

time of finishing sending, negative values mean forever

host6.cli.localSAP int 0xf0
host6.cli.remoteSAP int 0xf1
host6.cli.sendInterval double uniform(0s,1s)

interval between sending requests

host6.cli.reqLength int 100B

length of request packets

host6.cli.respLength int 1KiB

length of response packets

host6.srv.localSAP int 0xf1
host6.queue.pauseQueue.frameCapacity int 100
host6.mac.promiscuous bool

if true, all packets are received, otherwise only the ones with matching destination MAC address

host6.mac.address string

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

host6.mac.duplexMode bool

selects full-duplex (true) or half-duplex (false) operation

host6.mac.txQueueLimit int

maximum number of frames queued up for transmission; additional frames are dropped. Only used if queueModule==""

host6.mac.mtu int
switch8.status.initialStatus string "UP"

TODO @signal, @statistic

switch8.l2NodeConfigurator.interfaceTableModule string
switch8.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

switch8.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

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

TODO @signal, @statistic

switch9.l2NodeConfigurator.interfaceTableModule string
switch9.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

switch9.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

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

TODO @signal, @statistic

switch10.l2NodeConfigurator.interfaceTableModule string
switch10.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

switch10.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

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

TODO @signal, @statistic

switch11.l2NodeConfigurator.interfaceTableModule string
switch11.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

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

switch11.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

switch11.macTable.agingTime double
switch11.macTable.addressTableFile string
switch11.stp.helloTime double
switch11.stp.forwardDelay double
switch11.stp.maxAge double
switch11.stp.bridgePriority int
switch11.stp.visualize bool

Source code:

network LargeNet extends SwitchNetwork
{
    @display("bgb=952,472");
    submodules:
        host1: EtherHost {
            @display("p=200,79");
        }

        host2: EtherHost {
            @display("p=609,217");
        }

        host3: EtherHost {
            @display("p=529,78");
        }
        host4: EtherHost {
            @display("p=679,422");
        }
        host5: EtherHost {
            @display("p=479,422");
        }
        host6: EtherHost {
            @display("p=322,321");
        }
        switch8: EtherSwitch {
            @display("p=443,282");
        }
        switch9: EtherSwitch {
            @display("p=518,352");
        }
        switch10: EtherSwitch {
            @display("p=648,352");
        }
        switch11: EtherSwitch {
            @display("p=579,288");
        }
    connections:
        switch11.ethg++ <--> Eth1G <--> switch9.ethg++;
        switch11.ethg++ <--> Eth1G <--> switch10.ethg++;
        switch11.ethg++ <--> Eth1G <--> switch5.ethg++;
        switch9.ethg++ <--> Eth1G <--> switch10.ethg++;
        switch8.ethg++ <--> Eth1G <--> switch9.ethg++;
        switch8.ethg++ <--> Eth1G <--> switch11.ethg++;
        switch8.ethg++ <--> Eth1G <--> switch5.ethg++;
        switch8.ethg++ <--> Eth1G <--> switch2.ethg++;
        switch3.ethg++ <--> Eth1G <--> host3.ethg;
        switch5.ethg++ <--> Eth1G <--> host2.ethg;
        switch6.ethg++ <--> Eth1G <--> host1.ethg;
        host5.ethg <--> Eth1G <--> switch9.ethg++;
        host4.ethg <--> Eth1G <--> switch10.ethg++;
        host6.ethg <--> Eth1G <--> switch8.ethg++;
}