NED File simulations/nr/videostreaming_dataset_generator/UrbanNetwork.ned¶
Name |
Type |
Description |
|---|---|---|
network |
(no description) |
Source code¶
//
// Simu5G
//
// Copyright (C) 2019-2021 Giovanni Nardini, Giovanni Stea, Antonio Virdis et al. (University of Pisa)
// Copyright (C) 2022-2026 Giovanni Nardini, Giovanni Stea et al. (University of Pisa)
//
// This file is part of a software released under the license included in file
// "license.pdf". Please read LICENSE and README files before using it.
// The above files and the present reference are part of the software itself,
// and cannot be removed from it.
//
package simu5g.simulations.nr.videostreaming_dataset_generator;
import inet.networklayer.configurator.ipv4.Ipv4NetworkConfigurator;
import inet.networklayer.ipv4.RoutingTableRecorder;
import inet.node.ethernet.Eth10G;
import simu5g.common.binder.Binder;
import simu5g.common.carrierAggregation.CarrierAggregation;
import simu5g.corenetwork.bearerConfigurator.BearerConfigurator;
import simu5g.corenetwork.coreControl.CoreControl;
import simu5g.mobility.trafficLightMobility.TrafficLight;
import simu5g.nodes.NrUe;
import simu5g.nodes.gNodeB;
import simu5g.nodes.Upf;
import simu5g.nodes.BackgroundCell;
import simu5g.nodes.MecHost;
import simu5g.mec.orchestrator.MecOrchestrator;
import simu5g.mec.ualcmp.Ualcmp;
import simu5g.world.radio.LteChannelControl;
network UrbanNetwork
{
parameters:
// The gNBs connect to a 5GC (Upf), so every cellular stack has SDAP:
// TS 37.324 ties SDAP to the 5GC connection, not to the radio
**.cellularNic.hasSdap = default(true);
int numUe = default(1);
int numBgCells = default(0);
@display("i=block/network2;bgb=2000,2000;bgi=intersections");
submodules:
channelControl: LteChannelControl {
@display("p=114,32;is=s");
}
routingRecorder: RoutingTableRecorder {
@display("p=114,82;is=s");
}
configurator: Ipv4NetworkConfigurator {
@display("p=114,132;is=s");
}
binder: Binder {
@display("p=114,182;is=s");
}
coreControl: CoreControl {
@display("p=114,382;is=s");
}
bearerConfigurator: BearerConfigurator {
@display("p=114,232;is=s");
}
carrierAggregation: CarrierAggregation {
@display("p=114,282;is=s");
}
//# traffic lights
tl1: TrafficLight {
@display("p=500,2026");
}
tl2: TrafficLight {
@display("p=1000,2026");
}
tl3: TrafficLight {
@display("p=1500,2026");
}
tl4: TrafficLight {
@display("p=500,2026");
}
tl5: TrafficLight {
@display("p=1000,2026");
}
tl6: TrafficLight {
@display("p=1500,2026");
}
//# CN modules
upf: Upf {
@display("p=1000,1050");
}
iUpf: Upf {
@display("p=1000,1200");
}
//# MEC modules
mecHost: MecHost {
@display("p=1150,1200");
}
mecOrchestrator: MecOrchestrator {
@display("p=1300,1050");
}
ualcmp: Ualcmp {
@display("p=1150,1050");
}
//# RAN modules
gnb1: gNodeB {
@display("p=500,1500;is=vl");
}
gnb2: gNodeB {
@display("p=1000,1500;is=vl");
}
gnb3: gNodeB {
@display("p=1500,1500;is=vl");
}
bgCell[numBgCells]: BackgroundCell {
@display("p=1971,1498;is=l");
}
ue[numUe]: NrUe {
@display("p=200,2026");
}
connections:
//# CN connections
upf.pppg++ <--> Eth10G <--> iUpf.pppg++;
iUpf.pppg++ <--> Eth10G <--> gnb1.ppp;
iUpf.pppg++ <--> Eth10G <--> gnb2.ppp;
iUpf.pppg++ <--> Eth10G <--> gnb3.ppp;
//# MEC connections
ualcmp.ppp++ <--> Eth10G <--> upf.dnPppg;
ualcmp.toMecOrchestrator --> mecOrchestrator.fromUALCMP;
ualcmp.fromMecOrchestrator <-- mecOrchestrator.toUALCMP;
mecHost.ppp++ <--> Eth10G <--> iUpf.pppg++;
//# X2 connections
gnb1.x2++ <--> Eth10G <--> gnb2.x2++;
gnb1.x2++ <--> Eth10G <--> gnb3.x2++;
gnb2.x2++ <--> Eth10G <--> gnb3.x2++;
}