MecRnisTestApp

Package: simu5g.apps.mec.RnisTestApp

simple module MecRnisTestApp

Application that is dynamically instantiated on a MEC host upon request from a UeRnisTestApp via a DeviceApp. It is used to test and showcase the functionalities of the RniService API. Upon receiving a request from the UE, it queries the RniService periodically to obtain L2 measurements related to the UE that sent the request (refer to the sendQuery() function). The results obtained from the RNIS are sent back to the UeRnisTestApp in a response message. Please note that the response time of the RNIS depends on the current load at the RNIS.

simu5g.apps.mec.RnisTestApp.MecRnisTestAppMecRnisTestAppsimple

Inheritance diagram

Extends

Name

Type

Description

MecAppBase

simple module

This is a MEC app that … TBC

Parameters

Name

Type

Default value

Description

mecAppId

int

mecAppIndex

int

mp1Address

string

“”

mp1Port

int

10021

vimModule

string

“^.vim”

Module references

mecPlatformModule

string

“^.mecPlatform”

serviceRegistryModule

string

“^.mecPlatform.serviceRegistry”

requiredRam

double

10MB

Required resources

requiredDisk

double

1MB

requiredCpu

double

100

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

localUePort

int

logger

bool

false

Properties

Name

Value

Description

class

MecRnisTestApp

display

i=block/app;is=s

Gates

Name

Direction

Size

Description

mePlatformIn

input

mePlatformOut

output

socketIn

input

socketOut

output

Source code

//
// Application that is dynamically instantiated on a MEC host upon request
// from a ~UeRnisTestApp via a ~DeviceApp. It is used to test and showcase the functionalities
// of the ~RniService API.
// Upon receiving a request from the UE, it queries the ~RniService periodically to obtain
// L2 measurements related to the UE that sent the request (refer to the sendQuery() function). The
// results obtained from the RNIS are sent back to the ~UeRnisTestApp in a response message.
// Please note that the response time of the RNIS depends on the current load at the RNIS.
//
simple MecRnisTestApp extends MecAppBase
{
    parameters:
        @class(MecRnisTestApp);
        @display("i=block/app;is=s");

        int localUePort;

        // Required resources
        requiredRam = default(10MB);
        requiredDisk = default(1MB);
        requiredCpu = default(100);

        bool logger = default(false);
}

File: src/simu5g/apps/mec/RnisTestApp/MecRnisTestApp.ned