Simple Module OSPFRouting

Package: inet.networklayer.ospfv2
File: src/networklayer/ospfv2/OSPFRouting.ned

C++ definition

Implements OSPFRouting.

OSPFRouting

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.

OSPFRouter (compound module)

An OSPFv2 router.

Parameters:

Name Type Default value Description
ospfConfigFile string

xml file containing the full OSPF AS configuration

Properties:

Name Value Description
display i=block/network2

Gates:

Name Direction Size Description
ipIn input
ipOut output

Source code:

//
// Implements \OSPFRouting.
//
simple OSPFRouting
{
    parameters:
        string ospfConfigFile; // xml file containing the full OSPF AS configuration
        @display("i=block/network2");
    gates:
        input ipIn @labels(IPControlInfo/up);
        output ipOut @labels(IPControlInfo/down);
}