NED File emulation/extserver/ExtServerExample.ned
Name | Type | Description |
---|---|---|
ExtServerExample | network |
ExtServerExample |
Source code
// // Simu5G // // Authors: Giovanni Nardini, Giovanni Stea, Antonio Virdis (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.emulation.extserver; import inet.networklayer.configurator.ipv4.Ipv4NetworkConfigurator; import inet.networklayer.ipv4.RoutingTableRecorder; import inet.node.ethernet.Eth10G; import inet.node.inet.Router; import simu5g.common.binder.Binder; import simu5g.common.carrierAggregation.CarrierAggregation; import simu5g.nodes.ExtCell; import simu5g.nodes.NR.NRUe; import simu5g.nodes.NR.gNodeB; import simu5g.nodes.Upf; import simu5g.world.radio.LteChannelControl; // ExtServerExample // // One simulated UE receives data from a real server, and one simulated // UE sends data to a real server // // network ExtServerExample { parameters: int numExtCells = default(0); @display("i=block/network2;bgb=800,554;bgi=background/pisa"); submodules: routingRecorder: RoutingTableRecorder { @display("p=73,130;is=s"); } configurator: Ipv4NetworkConfigurator { @display("p=73,72"); } channelControl: LteChannelControl { @display("p=70,190;is=s"); } binder: Binder { @display("p=73,261;is=s"); } carrierAggregation: CarrierAggregation { @display("p=72,335;is=s"); } router: Router { @display("p=223,175;i=device/smallrouter"); } upf: Upf { @display("p=460,174"); } gnb: gNodeB { @display("p=671,174;is=vl"); } ue1: NRUe { @display("p=700,309"); } ue2: NRUe { @display("p=636,309"); } extCell[numExtCells]: ExtCell { @display("p=671,432;is=vl"); } connections allowunconnected: router.pppg++ <--> Eth10G <--> upf.filterGate; upf.pppg++ <--> Eth10G <--> gnb.ppp; }