MultiUeMecApp

Package: simu5g.apps.mec.MecApps

simple module MultiUeMecApp

This is an empty MEC app which is used as a model for MEC apps that should be shared among multiple UEs. Any shared MEC app that should extend this app

simu5g.apps.mec.MecApps.MultiUeMecAppMultiUeMecAppsimple

Inheritance diagram

Parameters

Name

Type

Default value

Description

packetSize

int

10B

interfaceTableModule

string

“”

mecAppIndex

int

mecAppId

int

localUePort

int

mp1Address

string

“”

mp1Port

int

10021

requiredRam

double

Required resources

requiredDisk

double

requiredCpu

double

timeToLive

int

-1

If not -1, set the TTL (IPv4) or Hop Limit (IPv6) field of sent packets to this value

dscp

int

-1

If not -1, set the DSCP (IPv4/IPv6) field of sent packets to this value

tos

int

-1

If not -1, set the Type of Service (IPv4) / Traffic Class (IPv6) field of sent packets to this value

logger

bool

false

Properties

Name

Value

Description

class

simu5g::MultiUeMecApp

display

i=block/app;is=s

Gates

Name

Direction

Size

Description

mePlatformIn

input

mePlatformOut

output

socketIn

input

socketOut

output

Source code

//
// This is an empty MEC app which is used as a model for MEC apps that should
// be shared among multiple UEs. Any shared MEC app that should extend this app
simple MultiUeMecApp like IMecApp, IApp
{
    parameters:
        @class(simu5g::MultiUeMecApp);
        @display("i=block/app;is=s");

        int packetSize @unit(B) = default(10B);
        string interfaceTableModule = default("");

        int mecAppIndex;
        int mecAppId;
        int localUePort;

        string mp1Address = default("");
        int mp1Port = default(10021);

        // Required resources
        double requiredRam @unit("B");
        double requiredDisk @unit("B");
        double requiredCpu;

        // IApp parameters
        int timeToLive = default(-1); // If not -1, set the TTL (IPv4) or Hop Limit (IPv6) field of sent packets to this value
        int dscp = default(-1); // If not -1, set the DSCP (IPv4/IPv6) field of sent packets to this value
        int tos = default(-1); // If not -1, set the Type of Service (IPv4) / Traffic Class (IPv6) field of sent packets to this value

        bool logger = default(false);

    gates:
        input mePlatformIn;
        output mePlatformOut;

        input socketIn;
        output socketOut;

}

File: src/simu5g/apps/mec/MecApps/MultiUeMecApp.ned