A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
emu-epc-helper.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2011-2019 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation;
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
*
17
* Authors:
18
* Jaume Nin <jnin@cttc.es>
19
* Nicola Baldo <nbaldo@cttc.es>
20
* Manuel Requena <manuel.requena@cttc.es>
21
*/
22
23
#ifndef EMU_EPC_HELPER_H
24
#define EMU_EPC_HELPER_H
25
26
#include "
no-backhaul-epc-helper.h
"
27
28
namespace
ns3
29
{
30
42
class
EmuEpcHelper
:
public
NoBackhaulEpcHelper
43
{
44
public
:
48
EmuEpcHelper
();
49
53
~EmuEpcHelper
()
override
;
54
55
// inherited from Object
60
static
TypeId
GetTypeId
();
61
TypeId
GetInstanceTypeId
()
const override
;
62
void
DoDispose
()
override
;
63
64
// inherited from EpcHelper
65
void
AddEnb
(
Ptr<Node>
enbNode,
66
Ptr<NetDevice>
lteEnbNetDevice,
67
std::vector<uint16_t> cellIds)
override
;
68
void
AddX2Interface
(
Ptr<Node>
enbNode1,
Ptr<Node>
enbNode2)
override
;
69
70
private
:
74
Ipv4AddressHelper
m_epcIpv4AddressHelper
;
75
79
Ipv4InterfaceContainer
m_sgwIpIfaces
;
80
84
std::string
m_sgwDeviceName
;
85
89
std::string
m_enbDeviceName
;
90
94
std::string
m_sgwMacAddress
;
95
99
std::string
m_enbMacAddressBase
;
100
};
101
102
}
// namespace ns3
103
104
#endif
// EMU_EPC_HELPER_H
ns3::EmuEpcHelper
Create an EPC network using EmuFdNetDevice.
Definition:
emu-epc-helper.h:43
ns3::EmuEpcHelper::GetInstanceTypeId
TypeId GetInstanceTypeId() const override
Get the most derived TypeId for this Object.
Definition:
emu-epc-helper.cc:104
ns3::EmuEpcHelper::EmuEpcHelper
EmuEpcHelper()
Constructor.
Definition:
emu-epc-helper.cc:41
ns3::EmuEpcHelper::GetTypeId
static TypeId GetTypeId()
Register this type.
Definition:
emu-epc-helper.cc:73
ns3::EmuEpcHelper::~EmuEpcHelper
~EmuEpcHelper() override
Destructor.
Definition:
emu-epc-helper.cc:67
ns3::EmuEpcHelper::m_epcIpv4AddressHelper
Ipv4AddressHelper m_epcIpv4AddressHelper
helper to assign addresses to S1-U NetDevices
Definition:
emu-epc-helper.h:74
ns3::EmuEpcHelper::m_enbMacAddressBase
std::string m_enbMacAddressBase
First 5 bytes of the Enb MAC address base.
Definition:
emu-epc-helper.h:99
ns3::EmuEpcHelper::DoDispose
void DoDispose() override
Destructor implementation.
Definition:
emu-epc-helper.cc:110
ns3::EmuEpcHelper::m_enbDeviceName
std::string m_enbDeviceName
The name of the device used for the S1-U interface of the eNB.
Definition:
emu-epc-helper.h:89
ns3::EmuEpcHelper::m_sgwDeviceName
std::string m_sgwDeviceName
The name of the device used for the S1-U interface of the SGW.
Definition:
emu-epc-helper.h:84
ns3::EmuEpcHelper::m_sgwMacAddress
std::string m_sgwMacAddress
MAC address used for the SGW.
Definition:
emu-epc-helper.h:94
ns3::EmuEpcHelper::AddX2Interface
void AddX2Interface(Ptr< Node > enbNode1, Ptr< Node > enbNode2) override
Add an X2 interface between two eNB.
Definition:
emu-epc-helper.cc:152
ns3::EmuEpcHelper::m_sgwIpIfaces
Ipv4InterfaceContainer m_sgwIpIfaces
Container for Ipv4Interfaces of the SGW.
Definition:
emu-epc-helper.h:79
ns3::EmuEpcHelper::AddEnb
void AddEnb(Ptr< Node > enbNode, Ptr< NetDevice > lteEnbNetDevice, std::vector< uint16_t > cellIds) override
Add an eNB to the EPC.
Definition:
emu-epc-helper.cc:117
ns3::Ipv4AddressHelper
A helper class to make life easier while doing simple IPv4 address assignment in scripts.
Definition:
ipv4-address-helper.h:49
ns3::Ipv4InterfaceContainer
holds a vector of std::pair of Ptr<Ipv4> and interface index.
Definition:
ipv4-interface-container.h:56
ns3::NoBackhaulEpcHelper
Create an EPC network with PointToPoint links between the core network nodes.
Definition:
no-backhaul-epc-helper.h:47
ns3::Ptr< Node >
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:59
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
no-backhaul-epc-helper.h
src
lte
helper
emu-epc-helper.h
Generated on Sun Mar 3 2024 17:11:01 for ns-3 by
1.9.1