StpTester

Package: inet.linklayer.ieee8021d.tester

StpTester

simple module

C++ definition

Network(1,2,3,4) tester module. Shows if a network topology is loop-free, all nodes are connected, or it has a tree topology.

Inheritance diagram

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

Used in

Name Type Description
SwitchNetwork network (no description)

Extends

Name Type Description
SimpleModule simple module

Base module for all INET simple modules.

Parameters

Name Type Default value Description
displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

checkTime double 500ms

Properties

Name Value Description
class StpTester
display i=block/cogwheel

Source code

//
// Network tester module.
// Shows if a network topology is loop-free, all nodes are connected, or it has a tree topology.
//
simple StpTester extends SimpleModule
{
    parameters:
        @class(StpTester);
        double checkTime @unit(s) = default(500ms);

        @display("i=block/cogwheel");
}

File: src/inet/linklayer/ieee8021d/tester/StpTester.ned