5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::NrPointToPointEpcHelperBase Class Reference

Create an EPC network with PointToPoint links in the backhaul network. More...

#include "nr-point-to-point-epc-helper-base.h"

+ Inheritance diagram for ns3::NrPointToPointEpcHelperBase:
+ Collaboration diagram for ns3::NrPointToPointEpcHelperBase:

Public Member Functions

 NrPointToPointEpcHelperBase ()
 
 ~NrPointToPointEpcHelperBase () override
 
void AddGnb (Ptr< Node > gnbNode, Ptr< NetDevice > nrGnbNetDevice, std::vector< uint16_t > cellIds) override
 
void DoDispose () override
 
- Public Member Functions inherited from ns3::NrNoBackhaulEpcHelper
 NrNoBackhaulEpcHelper ()
 
 ~NrNoBackhaulEpcHelper () override
 
uint8_t ActivateEpsBearer (Ptr< NetDevice > ueNrDevice, uint64_t imsi, Ptr< NrEpcTft > tft, NrEpsBearer bearer) override
 
void AddS1Interface (Ptr< Node > gnb, Ipv4Address gnbAddress, Ipv4Address sgwAddress, std::vector< uint16_t > cellIds) override
 
void AddUe (Ptr< NetDevice > ueNrDevice, uint64_t imsi) override
 
void AddX2Interface (Ptr< Node > gnbNode1, Ptr< Node > gnbNode2) override
 
int64_t AssignStreams (int64_t stream) override
 
Ipv4InterfaceContainer AssignUeIpv4Address (NetDeviceContainer ueDevices) override
 
Ipv6InterfaceContainer AssignUeIpv6Address (NetDeviceContainer ueDevices) override
 
void DoDispose () override
 
Ptr< Node > GetPgwNode () const override
 
Ptr< Node > GetSgwNode () const override
 
Ipv4Address GetUeDefaultGatewayAddress () override
 
Ipv6Address GetUeDefaultGatewayAddress6 () override
 
std::pair< Ptr< Node >, Ipv4Address > SetupRemoteHost (std::optional< std::string > dataRate, std::optional< uint16_t > mtu, std::optional< Time > delay) override
 
std::pair< Ptr< Node >, Ipv6Address > SetupRemoteHost6 (std::optional< std::string > dataRate, std::optional< uint16_t > mtu, std::optional< Time > delay) override
 
- Public Member Functions inherited from ns3::NrEpcHelper
 NrEpcHelper ()
 
 ~NrEpcHelper () override
 
void DoDispose () override
 

Static Public Member Functions

static TypeId GetTypeId ()
 
- Static Public Member Functions inherited from ns3::NrNoBackhaulEpcHelper
static TypeId GetTypeId ()
 
- Static Public Member Functions inherited from ns3::NrEpcHelper
static TypeId GetTypeId ()
 

Additional Inherited Members

- Protected Member Functions inherited from ns3::NrNoBackhaulEpcHelper
virtual void DoActivateEpsBearerForUe (const Ptr< NetDevice > &ueDevice, const Ptr< NrEpcTft > &tft, const NrEpsBearer &bearer) const
 DoActivateEpsBearerForUe: Schedule ActivateEpsBearer on the UE.
 
virtual void DoAddX2Interface (const Ptr< NrEpcX2 > &gnb1X2, const Ptr< NetDevice > &gnb1NrDev, const Ipv4Address &gnb1X2Address, const Ptr< NrEpcX2 > &gnb2X2, const Ptr< NetDevice > &gnb2NrDev, const Ipv4Address &gnb2X2Address) const
 DoAddX2Interface: Call AddX2Interface on top of the Gnb device pointers.
 

Detailed Description

Create an EPC network with PointToPoint links in the backhaul network.

This Helper extends NrNoBackhaulEpcHelper creating PointToPoint links in the backhaul network (i.e. in the S1-U and S1-MME interfaces)

Introspection did not find any typical Config paths.

Attributes

  • S1uLinkDataRate: The data rate to be used for the next S1-U link to be created
    • Set with class: ns3::DataRateValue
    • Underlying type: DataRate
    • Initial value: 10000000000bps
    • Flags: construct write read
  • S1uLinkDelay: The delay to be used for the next S1-U link to be created
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +0ns
    • Flags: construct write read
  • S1uLinkMtu: The MTU of the next S1-U link to be created. Note that, because of the additional GTP/UDP/IP tunneling overhead, you need a MTU larger than the end-to-end MTU that you want to support.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint16_t 0:65535
    • Initial value: 2000
    • Flags: construct write read
  • S1uLinkPcapPrefix: Prefix for Pcap generated by S1-U link
    • Set with class: ns3::StringValue
    • Underlying type:
    • Initial value: s1u
    • Flags: construct write read
  • S1uLinkEnablePcap: Enable Pcap for X2 link
    • Set with class: ns3::BooleanValue
    • Underlying type: bool
    • Initial value: false
    • Flags: construct write read

Attributes defined in parent class ns3::NrNoBackhaulEpcHelper

  • S5LinkDataRate: The data rate to be used for the next S5 link to be created
    • Set with class: ns3::DataRateValue
    • Underlying type: DataRate
    • Initial value: 10000000000bps
    • Flags: construct write read
  • S5LinkDelay: The delay to be used for the next S5 link to be created
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +0ns
    • Flags: construct write read
  • S5LinkMtu: The MTU of the next S5 link to be created
    • Set with class: ns3::UintegerValue
    • Underlying type: uint16_t 0:65535
    • Initial value: 2000
    • Flags: construct write read
  • S11LinkDataRate: The data rate to be used for the next S11 link to be created
    • Set with class: ns3::DataRateValue
    • Underlying type: DataRate
    • Initial value: 10000000000bps
    • Flags: construct write read
  • S11LinkDelay: The delay to be used for the next S11 link to be created
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +0ns
    • Flags: construct write read
  • S11LinkMtu: The MTU of the next S11 link to be created.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint16_t 0:65535
    • Initial value: 2000
    • Flags: construct write read
  • X2LinkDataRate: The data rate to be used for the next X2 link to be created
    • Set with class: ns3::DataRateValue
    • Underlying type: DataRate
    • Initial value: 10000000000bps
    • Flags: construct write read
  • X2LinkDelay: The delay to be used for the next X2 link to be created
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +0ns
    • Flags: construct write read
  • X2LinkMtu: The MTU of the next X2 link to be created. Note that, because of some big X2 messages, you need a big MTU.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint16_t 0:65535
    • Initial value: 3000
    • Flags: construct write read
  • X2LinkPcapPrefix: Prefix for Pcap generated by X2 link
    • Set with class: ns3::StringValue
    • Underlying type:
    • Initial value: x2
    • Flags: construct write read
  • X2LinkEnablePcap: Enable Pcap for X2 link
    • Set with class: ns3::BooleanValue
    • Underlying type: bool
    • Initial value: false
    • Flags: construct write read

No TraceSources are defined for this type.
Size of this type is 536 bytes (on a 64-bit architecture).

Definition at line 26 of file nr-point-to-point-epc-helper-base.h.

Constructor & Destructor Documentation

◆ NrPointToPointEpcHelperBase()

ns3::NrPointToPointEpcHelperBase::NrPointToPointEpcHelperBase ( )

Constructor

Definition at line 25 of file nr-point-to-point-epc-helper-base.cc.

◆ ~NrPointToPointEpcHelperBase()

ns3::NrPointToPointEpcHelperBase::~NrPointToPointEpcHelperBase ( )
override

Destructor

Definition at line 39 of file nr-point-to-point-epc-helper-base.cc.

Member Function Documentation

◆ AddGnb()

void ns3::NrPointToPointEpcHelperBase::AddGnb ( Ptr< Node >  gnbNode,
Ptr< NetDevice >  nrGnbNetDevice,
std::vector< uint16_t >  cellIds 
)
overridevirtual

Add an gNB to the EPC

Parameters
gnbNodethe previously created gNB node which is to be added to the EPC
nrGnbNetDevicethe NrGnbNetDevice of the gNB node
cellIdsIDs of cells served by this gNB

Reimplemented from ns3::NrNoBackhaulEpcHelper.

Definition at line 91 of file nr-point-to-point-epc-helper-base.cc.

References ns3::NrNoBackhaulEpcHelper::AddGnb(), ns3::NrNoBackhaulEpcHelper::AddS1Interface(), and ns3::NrNoBackhaulEpcHelper::GetSgwNode().

+ Here is the call graph for this function:

◆ DoDispose()

void ns3::NrPointToPointEpcHelperBase::DoDispose ( )
override

Definition at line 84 of file nr-point-to-point-epc-helper-base.cc.

◆ GetTypeId()

TypeId ns3::NrPointToPointEpcHelperBase::GetTypeId ( )
static

Register this type.

Returns
The object TypeId.

Definition at line 45 of file nr-point-to-point-epc-helper-base.cc.


The documentation for this class was generated from the following files: