Package: simu5g.nodes.mec.MECOrchestrator
MecOrchestrator
simple moduleThis module models the functionalities of the MEC orchestrator within a Multi-access Edge Computing (MEC) system. Specifically, it manages the dynamic instantiation and termination of MEC applications on the MEC hosts belonging to the MEC system. Upon receiving a MEC app instantiation request from the UALCMP module, this module is responsible for selecting the MEC host on which the MEC application is to be instantiated, according to a configurable policy.
Used in
Name | Type | Description |
---|---|---|
ExtMecAppExample | network | (no description) |
ExtUeAppExample | network | (no description) |
ExtUeAppMecAppExample | network | (no description) |
Parameters
Name | Type | Default value | Description |
---|---|---|---|
binderModule | string | "binder" | |
selectionPolicy | string | "MecServiceBased" |
available policies: "MecHostBased", "MecServiceBased", "AvailableResourcesBased" |
mecHostIndex | int | 0 |
to be used with the MecHostBased policybased |
mecHostList | object | [] | |
mecApplicationPackageList | object | [] | |
onboardingTime | double | 50ms |
times to simulate lifecycle operations |
instantiationTime | double | 50ms | |
terminationTime | double | 50ms |
Properties
Name | Value | Description |
---|---|---|
display | i=device/mainframe;bgb=1006,692 |
Gates
Name | Direction | Size | Description |
---|---|---|---|
toUALCMP | output | ||
fromUALCMP | input |
Source code
// // This module models the functionalities of the MEC orchestrator within a Multi-access Edge // Computing (MEC) system. Specifically, it manages the dynamic instantiation and // termination of MEC applications on the MEC hosts belonging to the MEC system. Upon // receiving a MEC app instantiation request from the ~UALCMP module, this module is // responsible for selecting the MEC host on which the MEC application is to be instantiated, according // to a configurable policy. // simple MecOrchestrator { parameters: @display("i=device/mainframe;bgb=1006,692"); string binderModule = default("binder"); string selectionPolicy @enum(MecHostBased,MecServiceBased,AvailableResourcesBased) = default("MecServiceBased"); // available policies: "MecHostBased", "MecServiceBased", "AvailableResourcesBased" int mecHostIndex = default(0); // to be used with the MecHostBased policybased object mecHostList = default([]); object mecApplicationPackageList = default([]); // times to simulate lifecycle operations double onboardingTime @unit(s) = default(50ms); double instantiationTime @unit(s) = default(50ms); double terminationTime @unit(s) = default(50ms); gates: output toUALCMP; input fromUALCMP; }File: src/nodes/mec/MECOrchestrator/MecOrchestrator.ned