Package: simu5g.apps.mec.MecApps.MecRequestBackgroundApp
MecRequestBackgroundApp
simple moduleThis module implements a generator of requests to be sent to the LocationService. This application can be instantiated as an "independent MEC app" (see MecHost module), which means it does not need to be instantiated via the MEC orchestrator upon request from a User Equipment. In particular, this module produces bulks of GET requests, as generated by a configurable number of MEC applications running on the MEC host. The result of such requests is to delay the service of real requests (i.e., those originating from complete MEC applications)
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
Name | Type | Description |
---|---|---|
MecAppBase | simple module |
This is a MEC app that ... TBC |
Parameters
Name | Type | Default value | Description |
---|---|---|---|
mecAppId | int | 0 | |
mecAppIndex | int | 0 | |
mp1Address | string | "" | |
mp1Port | int | 10021 | |
vimModule | string | "^.vim" |
modules: |
mecPlatformModule | string | "^.mecPlatform" | |
serviceRegistryModule | string | "^.mecPlatform.serviceRegistry" | |
requiredRam | double | 10MB |
resource required info |
requiredDisk | double | 100MB | |
requiredCpu | double | 15000 | |
timeToLive | int | -1 |
socket parameters |
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 |
lambda | double | 10ms |
Properties
Name | Value | Description |
---|---|---|
display | i=block/app | |
class | MecRequestBackgroundApp |
Gates
Name | Direction | Size | Description |
---|---|---|---|
mePlatformIn | input | ||
mePlatformOut | output | ||
socketIn | input | ||
socketOut | output |
Source code
// // This module implements a generator of requests to be sent to the ~LocationService. // This application can be instantiated as an "independent MEC app" (see ~MecHost // module), which means it does not need to be instantiated via the MEC orchestrator upon // request from a User Equipment. In particular, this module produces bulks of // GET requests, as generated by a configurable number of MEC applications // running on the MEC host. The result of such requests is to delay the service // of real requests (i.e., those originating from complete MEC applications) // simple MecRequestBackgroundApp extends MecAppBase { parameters: @class(MecRequestBackgroundApp); mecAppId = default(0); // it will be override by getId() in initialize mecAppIndex = default(0); double lambda @unit(s) = default(10ms); //resource required info requiredRam = default(10MB); requiredDisk = default(100MB); requiredCpu = default(15000); @display("i=block/app"); }File: src/apps/mec/MecApps/MecRequestBackgroundApp/MecRequestBackgroundApp.ned