NED File simulations/lte/networks/SingleCell_D2DMulticast.ned¶
Name |
Type |
Description |
|---|---|---|
network |
SingleCell with its UEs split into cellular terminals (ueCell) and members of a D2D multicast group (ueD2D). The rest of the topology is the same: one eNodeB on an EPC PgwStandard, with a router and a server behind it. |
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.lte.networks;
import inet.networklayer.configurator.ipv4.Ipv4NetworkConfigurator;
import inet.networklayer.ipv4.RoutingTableRecorder;
import inet.node.ethernet.Eth10G;
import inet.node.inet.Router;
import inet.node.inet.StandardHost;
import simu5g.common.binder.Binder;
import simu5g.common.carrierAggregation.CarrierAggregation;
import simu5g.corenetwork.bearerConfigurator.BearerConfigurator;
import simu5g.corenetwork.coreControl.CoreControl;
import simu5g.nodes.PgwStandard;
import simu5g.nodes.LteUe;
import simu5g.nodes.eNodeB;
import simu5g.stack.d2d.binder.D2dBinder;
import simu5g.world.radio.LteChannelControl;
//
// ~SingleCell with its UEs split into cellular terminals (ueCell) and members of
// a D2D multicast group (ueD2D). The rest of the topology is the same: one
// ~eNodeB on an EPC ~PgwStandard, with a router and a server behind it.
//
network SingleCell_D2DMulticast
{
parameters:
int numUeCell = default(1);
int numUeD2D = default(0);
@display("i=block/network2;bgb=991,558;bgi=background/budapest");
submodules:
channelControl: LteChannelControl {
@display("p=50,25;is=s");
}
routingRecorder: RoutingTableRecorder {
@display("p=50,75;is=s");
}
configurator: Ipv4NetworkConfigurator {
@display("p=50,125;is=s");
}
binder: Binder {
@display("p=50,175;is=s");
}
d2dBinder: D2dBinder {
@display("p=50,425;is=s");
}
coreControl: CoreControl {
@display("p=50,375;is=s");
}
bearerConfigurator: BearerConfigurator {
@display("p=50,225;is=s");
}
carrierAggregation: CarrierAggregation {
@display("p=50,275;is=s");
}
server: StandardHost {
@display("p=212,118;is=n;i=device/server");
}
router: Router {
@display("p=321,136;i=device/smallrouter");
}
pgw: PgwStandard {
@display("p=520,175;is=l");
}
eNB: eNodeB {
@display("p=391,260;is=vl");
}
ueCell[numUeCell]: LteUe {
@display("p=292,367");
}
ueD2D[numUeD2D]: LteUe {
@display("p=477,367");
}
connections:
server.pppg++ <--> Eth10G <--> router.pppg++;
router.pppg++ <--> Eth10G <--> pgw.dnPppg;
pgw.pppg++ <--> Eth10G <--> eNB.ppp;
}