ISpanningTree

Package: inet.linklayer.contract

ISpanningTree

module interface

Module interface for Spanning Tree protocols

Inheritance diagram

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

Implemented by

Name Type Description
Rstp simple module

Implements the Rapid Spanning Tree Protocol (IEEE 802.D-2004) for IEC 48-bit MAC addresses. It is a complete implementation except it doesn't fall back to STP when peers don't support RSTP.

Stp simple module

The Spanning Tree Protocol (STP) is a network protocol that ensures a loop-free topology for any bridged Ethernet local area network. The basic function of STP is to prevent bridge loops and the broadcast radiation that results from them. Spanning tree also allows a network design to include spare (redundant) links to provide automatic backup paths if an active link fails, without the danger of bridge loops, or the need for manual enabling/disabling of these backup links.

Used in compound modules

Name Type Description
EthernetSwitch compound module

Model of an Ethernet switch.

Parameters

Name Type Default value Description
helloTime double
forwardDelay double
maxAge double
bridgePriority int
visualize bool

Properties

Name Value Description
display i=block/network2

Source code

//
// Module interface for Spanning Tree protocols
//
moduleinterface ISpanningTree
{
    parameters:
        @display("i=block/network2");
        double helloTime @unit(s);
        double forwardDelay @unit(s);
        double maxAge @unit(s);
        int bridgePriority;
        bool visualize;
    gates:
        input relayIn;
        output relayOut;
}

File: src/inet/linklayer/contract/ISpanningTree.ned