Simple Module SaorsManager

Package: saors.SaorsManager
File: src/SaorsManager/SaorsManager.ned

C++ definition

Dispatches the packets to the selected SAORS routing algorithm (creates the requested routing protocol dynamically)

NOTE: you should not use this module directly because this is internal to the DTRouting module.

See also: DTRouting, SAORSBase

Author:: Nikolaos Vastardis

SaorsManager

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.

Used in compound modules:

Name Type Description
DTRouting compound module

DT router

Parameters:

Name Type Default value Description
routingProtocol string
manetActive bool
manetPurgeRoutingTables bool true
AUTOASSIGN_ADDRESS bool false
AUTOASSIGN_ADDRESS_BASE string "10.0.0.0"

Properties:

Name Value Description
class SaorsManager

Manager parameters

Gates:

Name Direction Size Description
from_ip input
to_ip output
from_dtdymo input
to_dtdymo output
from_sampho input
to_sampho output
from_rdymo input
to_rdymo output
from_epdymo input
to_epdymo output
from_simbet input
to_simbet output

Source code:

//
// Dispatches the packets to the selected SAORS routing algorithm
// (creates the requested routing protocol dynamically)
//
// NOTE: you should not use this module directly because this is 
// internal to the DTRouting module.
//
// @see DTRouting, SAORSBase
//
// @author: Nikolaos Vastardis
//
simple SaorsManager
{
    parameters:
        // Manager parameters
        @class(SaorsManager);
        string routingProtocol;
        bool manetActive;
        bool manetPurgeRoutingTables = default(true);
        bool AUTOASSIGN_ADDRESS = default(false);
        string AUTOASSIGN_ADDRESS_BASE = default("10.0.0.0");
    gates:
        input from_ip;
        output to_ip;
        input from_dtdymo;
        output to_dtdymo;
        input from_sampho;
        output to_sampho;
        input from_rdymo;
        output to_rdymo;
        input from_epdymo;
        output to_epdymo;
        input from_simbet;
        output to_simbet;
}