Package: simu5g.apps.mec.MecRequestResponseApp
MECResponseApp
simple moduleThis module represents an application that is dynamically instantiated on a MEC host upon request from a UERequestApp, via a DeviceApp. Upon receiving a request from the UE, it queries the LocationService to obtain some information (which is not utilized; it is intended only to "consume" some time), and sends a response message to the UE after a computation time that depends on the current resource utilization at the MEC host.
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 | ||
mecAppIndex | int | ||
mp1Address | string | "" | |
mp1Port | int | 10021 | |
vimModule | string | "^.vim" |
modules: |
mecPlatformModule | string | "^.mecPlatform" | |
serviceRegistryModule | string | "^.mecPlatform.serviceRegistry" | |
requiredRam | double |
resource required info |
|
requiredDisk | double | ||
requiredCpu | double | ||
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 |
responsePacketSize | int | 50B | |
minInstructions | int | 9000000 | |
maxInstructions | int | 11000000 |
Properties
Name | Value | Description |
---|---|---|
display | i=block/app;is=s | |
class | MecResponseApp |
Gates
Name | Direction | Size | Description |
---|---|---|---|
mePlatformIn | input | ||
mePlatformOut | output | ||
socketIn | input | ||
socketOut | output |
Source code
// // This module represents an application that is dynamically instantiated on a MEC host upon request // from a ~UERequestApp, via a ~DeviceApp. // Upon receiving a request from the UE, it queries the ~LocationService to obtain some // information (which is not utilized; it is intended only to "consume" some time), and sends a // response message to the UE after a computation time that depends on the current resource utilization at the // MEC host. // simple MECResponseApp extends MecAppBase { parameters: @class(MecResponseApp); @display("i=block/app;is=s"); int responsePacketSize @unit(B) = default(50B); int minInstructions = default(9000000); int maxInstructions = default(11000000); }File: src/apps/mec/MecRequestResponseApp/MECResponseApp.ned