Simple Module LinkStateRouting

Package: inet.networklayer.ted
File: src/networklayer/ted/LinkStateRouting.ned

C++ definition

This module implements a very minimalistic link state routing protcol. Apart from the basic topology information, the current link usage is distributed to all participants in the network (by means of flooding).

Collaborations

The link state database is kept in the TED module.

LinkStateRouting

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Used in compound modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

LDP_LSR (compound module)

An LDP-capable router.

RSVP_LSR (compound module)

An RSVP-TE capable router.

Parameters:

Name Type Default value Description
peers string

Properties:

Name Value Description
display i=block/network2

Gates:

Name Direction Size Description
ipIn input
ipOut output

Source code:

//
// This module implements a very minimalistic link state routing protcol.
// Apart from the basic topology information, the current link usage
// is distributed to all participants in the network (by means of flooding).
//
// Collaborations
//
// The link state database is kept in the TED module.
//
simple LinkStateRouting
{
    parameters:
        string peers;
        @display("i=block/network2");
    gates:
        input ipIn @labels(IPControlInfo/up);
        output ipOut @labels(IPControlInfo/down);
}