Simple Module EPON_OLT_relayDefault

Package: PON.OLT
File: src/OLT/EPON_OLT_relayDefault.ned

C++ definition

TODO auto-generated module

EPON_OLT_relayDefault

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.

Parameters:

Name Type Default value Description
addressTableFile string ""

set to empty string if not used

addressTableSize int 1000

max size of address table

agingTime double 7200s

max idle time for address table entries (when it expires, entry is removed from the table)

Gates:

Name Direction Size Description
toPONin input

from OLT (EPON net)

toPONout output

to OLT (EPON net)

ethIn input

to other ports

ethOut output

to other ports

Source code:

//
// TODO auto-generated module
//
simple EPON_OLT_relayDefault like EPON_OLT_relay
{
    parameters:
        string addressTableFile = default("");  	  // set to empty string if not used
        int addressTableSize = default(1000); 		  // max size of address table
        double agingTime @unit("s") = default(7200s); // max idle time for address table entries
                                     				  // (when it expires, entry is removed from the table)

    gates:
        input toPONin;	   		// from OLT (EPON net)
        output toPONout;	   	// to OLT (EPON net)
        input ethIn;     	// to other ports
        output ethOut;     	// to other ports


}