Inheritance diagram for LteX2HandoverMeasuresTestCase:
Collaboration diagram for LteX2HandoverMeasuresTestCase:Classes | |
| struct | BearerData |
| struct | UeData |
Public Member Functions | |
| LteX2HandoverMeasuresTestCase (uint32_t nEnbs, uint32_t nUes, uint32_t nDedicatedBearers, std::list< CheckPointEvent > checkPointEventList, std::string checkPointEventListName, bool useUdp, std::string schedulerType, std::string handoverAlgorithmType, bool admitHo, bool useIdealRrc) | |
Public Member Functions inherited from ns3::TestCase | |
| virtual | ~TestCase () |
| Destructor. More... | |
| std::string | GetName (void) const |
Private Member Functions | |
| void | CheckConnected (Ptr< NetDevice > ueDevice, Ptr< NetDevice > enbDevice) |
| void | CheckStats (uint32_t ueIndex) |
| virtual void | DoRun (void) |
| Implementation to actually run this TestCase. More... | |
| void | SaveStats (uint32_t ueIndex) |
Static Private Member Functions | |
| static std::string | BuildNameString (uint32_t nEnbs, uint32_t nUes, uint32_t nDedicatedBearers, std::string checkPointEventListName, bool useUdp, std::string schedulerType, std::string handoverAlgorithmType, bool admitHo, bool useIdealRrc) |
Private Attributes | |
| bool | m_admitHo |
| std::list< CheckPointEvent > | m_checkPointEventList |
| std::string | m_checkPointEventListName |
| bool | m_epc |
| Ptr< PointToPointEpcHelper > | m_epcHelper |
| std::string | m_handoverAlgorithmType |
| Ptr< LteHelper > | m_lteHelper |
| const Time | m_maxHoDuration |
| uint32_t | m_nDedicatedBearers |
| uint32_t | m_nEnbs |
| uint32_t | m_nUes |
| std::string | m_schedulerType |
| const Time | m_statsDuration |
| const Time | m_udpClientInterval |
| const uint32_t | m_udpClientPktSize |
| std::vector< UeData > | m_ueDataVector |
| bool | m_useIdealRrc |
| bool | m_useUdp |
Additional Inherited Members | |
Public Types inherited from ns3::TestCase | |
| enum | TestDuration { QUICK = 1, EXTENSIVE = 2, TAKES_FOREVER = 3 } |
| How long the test takes to execute. More... | |
Protected Member Functions inherited from ns3::TestCase | |
| TestCase (std::string name) | |
| void | AddTestCase (TestCase *testCase, enum TestDuration duration) |
| Add an individual child TestCase to this test suite. More... | |
| TestCase * | GetParent () const |
| bool | IsStatusFailure (void) const |
| bool | IsStatusSuccess (void) const |
| void | SetDataDir (std::string directory) |
| void | ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) |
| Log the failure of this TestCase. More... | |
| bool | MustAssertOnFailure (void) const |
| bool | MustContinueOnFailure (void) const |
| std::string | CreateDataDirFilename (std::string filename) |
| std::string | CreateTempDirFilename (std::string filename) |
Definition at line 53 of file test-lte-x2-handover-measures.cc.
| LteX2HandoverMeasuresTestCase::LteX2HandoverMeasuresTestCase | ( | uint32_t | nEnbs, |
| uint32_t | nUes, | ||
| uint32_t | nDedicatedBearers, | ||
| std::list< CheckPointEvent > | checkPointEventList, | ||
| std::string | checkPointEventListName, | ||
| bool | useUdp, | ||
| std::string | schedulerType, | ||
| std::string | handoverAlgorithmType, | ||
| bool | admitHo, | ||
| bool | useIdealRrc | ||
| ) |
| nEnbs | number of eNBs in the test |
| nUes | number of UEs in the test |
| nDedicatedBearers | number of bearers to be activated per UE |
| checkPointEventList | |
| checkPointEventListName | |
| useUdp | true if UDP is to be used, false if TCP is to be used |
| schedulerType | type of scheduler to be used (e.g. "ns3::PfFfMacScheduler") |
| handoverAlgorithmType | type of handover algorithm to be used (e.g. "ns3::A3RsrpHandoverAlgorithm") |
| admitHo | |
| useIdealRrc | true if ideal RRC is to be used, false if real RRC is to be used |
Definition at line 156 of file test-lte-x2-handover-measures.cc.
|
staticprivate |
Definition at line 130 of file test-lte-x2-handover-measures.cc.
Referenced by DoRun().
Here is the caller graph for this function:
|
private |
Definition at line 508 of file test-lte-x2-handover-measures.cc.
References ns3::ObjectPtrContainerValue::Begin(), ns3::ObjectPtrContainerValue::End(), ns3::ObjectBase::GetAttribute(), ns3::LteUeNetDevice::GetImsi(), ns3::UeManager::GetImsi(), ns3::ObjectPtrContainerValue::GetN(), ns3::Object::GetObject(), ns3::LteUeNetDevice::GetRrc(), ns3::UeManager::GetState(), ns3::LteDataRadioBearerInfo::m_drbIdentity, ns3::LteDataRadioBearerInfo::m_epsBearerIdentity, ns3::LteDataRadioBearerInfo::m_logicalChannelIdentity, m_nDedicatedBearers, NS_ASSERT_MSG, NS_LOG_FUNCTION, NS_TEST_ASSERT_MSG_EQ, and NS_TEST_ASSERT_MSG_NE.
Referenced by DoRun().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 596 of file test-lte-x2-handover-measures.cc.
References ns3::Time::GetSeconds(), m_statsDuration, m_udpClientInterval, m_udpClientPktSize, m_ueDataVector, NS_LOG_FUNCTION, NS_LOG_LOGIC, and NS_TEST_ASSERT_MSG_GT.
Referenced by DoRun().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatevirtual |
Implementation to actually run this TestCase.
Subclasses should override this method to conduct their tests.
Implements ns3::TestCase.
Definition at line 184 of file test-lte-x2-handover-measures.cc.
References ns3::LteHelper::ActivateDataRadioBearer(), ns3::LteHelper::ActivateDedicatedEpsBearer(), ns3::ListPositionAllocator::Add(), ns3::EpcTft::Add(), ns3::ApplicationContainer::Add(), ns3::Ipv4StaticRouting::AddNetworkRouteTo(), ns3::LteHelper::AddX2Interface(), ns3::Ipv4AddressHelper::Assign(), ns3::LteHelper::AssignStreams(), ns3::PointToPointEpcHelper::AssignUeIpv4Address(), ns3::LteHelper::Attach(), LteX2HandoverMeasuresTestCase::UeData::bearerDataList, ns3::NetDeviceContainer::Begin(), BuildNameString(), CheckConnected(), CheckStats(), first::clientApps, ns3::NodeContainer::Create(), LteX2HandoverMeasuresTestCase::BearerData::dlSink, ns3::NetDeviceContainer::End(), ns3::ApplicationContainer::Get(), ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::NetDeviceContainer::GetN(), ns3::NodeContainer::GetN(), ns3::Object::GetObject(), ns3::PointToPointEpcHelper::GetPgwNode(), ns3::Ipv4StaticRoutingHelper::GetStaticRouting(), ns3::PointToPointEpcHelper::GetUeDefaultGatewayAddress(), ns3::UniformRandomVariable::GetValue(), ns3::PacketSinkHelper::Install(), ns3::BulkSendHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), ns3::UdpClientHelper::Install(), ns3::MobilityHelper::Install(), ns3::LteHelper::InstallEnbDevice(), ns3::LteHelper::InstallUeDevice(), ns3::EpcTft::PacketFilter::localPortEnd, ns3::EpcTft::PacketFilter::localPortStart, m_admitHo, m_checkPointEventList, m_checkPointEventListName, m_epc, m_epcHelper, m_handoverAlgorithmType, m_lteHelper, m_nDedicatedBearers, m_nEnbs, m_nUes, m_schedulerType, m_statsDuration, m_udpClientInterval, m_udpClientPktSize, m_ueDataVector, m_useIdealRrc, m_useUdp, ns3::MilliSeconds(), NS_FATAL_ERROR, NS_LOG_FUNCTION, ns3::EpcTft::PacketFilter::remotePortEnd, ns3::EpcTft::PacketFilter::remotePortStart, ns3::Config::Reset(), SaveStats(), ns3::Seconds(), first::serverApps, ns3::BulkSendHelper::SetAttribute(), ns3::ObjectBase::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::Config::SetDefault(), ns3::Ipv4StaticRouting::SetDefaultRoute(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::LteHelper::SetEpcHelper(), ns3::LteHelper::SetHandoverAlgorithmAttribute(), ns3::LteHelper::SetHandoverAlgorithmType(), ns3::MobilityHelper::SetMobilityModel(), SetPosition(), ns3::MobilityHelper::SetPositionAllocator(), ns3::LteHelper::SetSchedulerType(), ns3::RandomVariableStream::SetStream(), ns3::olsr::SetVelocity(), ns3::ApplicationContainer::Start(), startTime, stopTime, and LteX2HandoverMeasuresTestCase::BearerData::ulSink.
|
private |
Definition at line 577 of file test-lte-x2-handover-measures.cc.
References m_ueDataVector, and NS_LOG_FUNCTION.
Referenced by DoRun().
Here is the caller graph for this function:
|
private |
Definition at line 97 of file test-lte-x2-handover-measures.cc.
Referenced by DoRun().
|
private |
Definition at line 91 of file test-lte-x2-handover-measures.cc.
Referenced by DoRun().
|
private |
Definition at line 92 of file test-lte-x2-handover-measures.cc.
Referenced by DoRun().
|
private |
Definition at line 93 of file test-lte-x2-handover-measures.cc.
Referenced by DoRun().
|
private |
Definition at line 100 of file test-lte-x2-handover-measures.cc.
Referenced by DoRun().
|
private |
Definition at line 96 of file test-lte-x2-handover-measures.cc.
Referenced by DoRun().
Definition at line 99 of file test-lte-x2-handover-measures.cc.
Referenced by DoRun().
|
private |
Definition at line 122 of file test-lte-x2-handover-measures.cc.
|
private |
Definition at line 90 of file test-lte-x2-handover-measures.cc.
Referenced by CheckConnected(), and DoRun().
|
private |
Definition at line 88 of file test-lte-x2-handover-measures.cc.
Referenced by DoRun().
|
private |
Definition at line 89 of file test-lte-x2-handover-measures.cc.
Referenced by DoRun().
|
private |
Definition at line 95 of file test-lte-x2-handover-measures.cc.
Referenced by DoRun().
|
private |
Definition at line 123 of file test-lte-x2-handover-measures.cc.
Referenced by CheckStats(), and DoRun().
|
private |
Definition at line 124 of file test-lte-x2-handover-measures.cc.
Referenced by CheckStats(), and DoRun().
|
private |
Definition at line 125 of file test-lte-x2-handover-measures.cc.
Referenced by CheckStats(), and DoRun().
|
private |
Definition at line 120 of file test-lte-x2-handover-measures.cc.
Referenced by CheckStats(), DoRun(), and SaveStats().
|
private |
Definition at line 98 of file test-lte-x2-handover-measures.cc.
Referenced by DoRun().
|
private |
Definition at line 94 of file test-lte-x2-handover-measures.cc.
Referenced by DoRun().