A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
emu-epc-helper.h
Go to the documentation of this file.
1
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2011-2019 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2 as
7
* published by the Free Software Foundation;
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
*
18
* Author: 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 "ns3/no-backhaul-epc-helper.h"
27
28
namespace
ns3
{
29
41
class
EmuEpcHelper
:
public
NoBackhaulEpcHelper
42
{
43
public
:
47
EmuEpcHelper
();
48
52
virtual
~EmuEpcHelper
();
53
54
// inherited from Object
59
static
TypeId
GetTypeId
(
void
);
60
TypeId
GetInstanceTypeId
()
const
;
61
virtual
void
DoDispose
();
62
63
// inherited from EpcHelper
64
virtual
void
AddEnb
(
Ptr<Node>
enbNode,
Ptr<NetDevice>
lteEnbNetDevice, std::vector<uint16_t> cellIds);
65
virtual
void
AddX2Interface
(
Ptr<Node>
enbNode1,
Ptr<Node>
enbNode2);
66
67
private
:
68
72
Ipv4AddressHelper
m_epcIpv4AddressHelper
;
73
77
Ipv4InterfaceContainer
m_sgwIpIfaces
;
78
82
std::string
m_sgwDeviceName
;
83
87
std::string
m_enbDeviceName
;
88
92
std::string
m_sgwMacAddress
;
93
97
std::string
m_enbMacAddressBase
;
98
};
99
100
}
// namespace ns3
101
102
#endif
// EMU_EPC_HELPER_H
ns3::EmuEpcHelper
Create an EPC network using EmuFdNetDevice.
Definition:
emu-epc-helper.h:42
ns3::EmuEpcHelper::EmuEpcHelper
EmuEpcHelper()
Constructor.
Definition:
emu-epc-helper.cc:40
ns3::EmuEpcHelper::DoDispose
virtual void DoDispose()
Destructor implementation.
Definition:
emu-epc-helper.cc:109
ns3::EmuEpcHelper::m_epcIpv4AddressHelper
Ipv4AddressHelper m_epcIpv4AddressHelper
helper to assign addresses to S1-U NetDevices
Definition:
emu-epc-helper.h:72
ns3::EmuEpcHelper::m_enbMacAddressBase
std::string m_enbMacAddressBase
First 5 bytes of the Enb MAC address base.
Definition:
emu-epc-helper.h:97
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:87
ns3::EmuEpcHelper::~EmuEpcHelper
virtual ~EmuEpcHelper()
Destructor.
Definition:
emu-epc-helper.cc:66
ns3::EmuEpcHelper::AddEnb
virtual void AddEnb(Ptr< Node > enbNode, Ptr< NetDevice > lteEnbNetDevice, std::vector< uint16_t > cellIds)
Add an eNB to the EPC.
Definition:
emu-epc-helper.cc:117
ns3::EmuEpcHelper::GetInstanceTypeId
TypeId GetInstanceTypeId() const
Get the most derived TypeId for this Object.
Definition:
emu-epc-helper.cc:103
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:82
ns3::EmuEpcHelper::m_sgwMacAddress
std::string m_sgwMacAddress
MAC address used for the SGW.
Definition:
emu-epc-helper.h:92
ns3::EmuEpcHelper::GetTypeId
static TypeId GetTypeId(void)
Register this type.
Definition:
emu-epc-helper.cc:72
ns3::EmuEpcHelper::AddX2Interface
virtual void AddX2Interface(Ptr< Node > enbNode1, Ptr< Node > enbNode2)
Add an X2 interface between two eNB.
Definition:
emu-epc-helper.cc:150
ns3::EmuEpcHelper::m_sgwIpIfaces
Ipv4InterfaceContainer m_sgwIpIfaces
Container for Ipv4Interfaces of the SGW.
Definition:
emu-epc-helper.h:77
ns3::Ipv4AddressHelper
A helper class to make life easier while doing simple IPv4 address assignment in scripts.
Definition:
ipv4-address-helper.h:48
ns3::Ipv4InterfaceContainer
holds a vector of std::pair of Ptr<Ipv4> and interface index.
Definition:
ipv4-interface-container.h:55
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.
src
lte
helper
emu-epc-helper.h
Generated on Tue Feb 6 2024 19:21:21 for ns-3 by
1.9.1