Network SwitchNetwork

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

(no description)

STPTester ScenarioManager L2NetworkConfigurator LifecycleController EtherSwitch EtherSwitch EtherSwitch 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.

Known subclasses:

Name Type Description
LargeNet network (no description)

Properties:

Name Value Description
isNetwork
display bgb=689,368

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

Source code:

network SwitchNetwork
{
    @display("bgb=689,368");
    submodules:
        stpTester: STPTester {
            @display("p=75,277");
        }
        scenarioManager: ScenarioManager {
            @display("p=75,101");
        }
        l2NetworkConfigurator: L2NetworkConfigurator {
            @display("p=75,217");
        }
        lifecycleController: LifecycleController {
            @display("p=75,155");
        }

        switch1: EtherSwitch {
            parameters:
                @display("p=333,78");
            gates:
                ethg[];
        }

        switch2: EtherSwitch {
            parameters:
                @display("p=301,217");
            gates:
                ethg[];
        }

        switch3: EtherSwitch {
            parameters:
                @display("p=443,78");
            gates:
                ethg[];
        }

        switch4: EtherSwitch {
            parameters:
                @display("p=322,153");
            gates:
                ethg[];
        }

        switch5: EtherSwitch {
            parameters:
                @display("p=529,217");
            gates:
                ethg[];
        }

        switch6: EtherSwitch {
            parameters:
                @display("p=200,154");
            gates:
                ethg[];
        }

        switch7: EtherSwitch {
            parameters:
                @display("p=443,153");
            gates:
                ethg[];
        }

    connections:
        switch1.ethg++ <--> Eth1G <--> switch4.ethg++;
        switch1.ethg++ <--> Eth1G <--> switch3.ethg++;
        switch2.ethg++ <--> Eth1G <--> switch4.ethg++;
        switch2.ethg++ <--> Eth1G <--> switch6.ethg++;
        switch2.ethg++ <--> Eth1G <--> switch7.ethg++;
        switch3.ethg++ <--> Eth1G <--> switch7.ethg++;
        switch4.ethg++ <--> Eth1G <--> switch6.ethg++;
        switch4.ethg++ <--> Eth1G <--> switch7.ethg++;
        switch5.ethg++ <--> Eth1G <--> switch7.ethg++;
}