A Discrete-Event Network Simulator
API
third Namespace Reference

Variables

tuple address = ns.internet.Ipv4AddressHelper()
 
tuple apDevices = wifi.Install(phy, mac, wifiApNode)
 
tuple channel = ns.wifi.YansWifiChannelHelper.Default()
 
tuple clientApps = echoClient.Install(wifiStaNodes.Get (nWifi - 1))
 
tuple cmd = ns.core.CommandLine()
 
tuple csma = ns.csma.CsmaHelper()
 
tuple csmaDevices = csma.Install(csmaNodes)
 
tuple csmaInterfaces = address.Assign(csmaDevices)
 
tuple csmaNodes = ns.network.NodeContainer()
 
tuple echoClient = ns.applications.UdpEchoClientHelper(csmaInterfaces.GetAddress(nCsma), 9)
 
tuple echoServer = ns.applications.UdpEchoServerHelper(9)
 
tuple mac = ns.wifi.WifiMacHelper()
 
tuple mobility = ns.mobility.MobilityHelper()
 
tuple nCsma = int(cmd.nCsma)
 
tuple nWifi = int(cmd.nWifi)
 
tuple p2pDevices = pointToPoint.Install(p2pNodes)
 
tuple p2pInterfaces = address.Assign(p2pDevices)
 
tuple p2pNodes = ns.network.NodeContainer()
 
tuple phy = ns.wifi.YansWifiPhyHelper.Default()
 
tuple pointToPoint = ns.point_to_point.PointToPointHelper()
 
tuple serverApps = echoServer.Install(csmaNodes.Get(nCsma))
 
tuple ssid = ns.wifi.Ssid("ns-3-ssid")
 
tuple stack = ns.internet.InternetStackHelper()
 
tuple staDevices = wifi.Install(phy, mac, wifiStaNodes)
 
 verbose = cmd.verbose
 
tuple wifi = ns.wifi.WifiHelper()
 
tuple wifiApNode = p2pNodes.Get(0)
 
tuple wifiStaNodes = ns.network.NodeContainer()
 

Variable Documentation

tuple third.address = ns.internet.Ipv4AddressHelper()

Definition at line 117 of file third.py.

tuple third.apDevices = wifi.Install(phy, mac, wifiApNode)

Definition at line 99 of file third.py.

Referenced by Bug730TestCase.DoRun().

tuple third.channel = ns.wifi.YansWifiChannelHelper.Default()

Definition at line 85 of file third.py.

Referenced by ns3::RemoteChannelBundle.AddChannel(), ns3::WimaxPhy.Attach(), ns3::Ipv4NixVectorRouting.BFS(), ns3::Ipv4NixVectorRouting.BuildNixVector(), ns3::NullMessageSimulatorImpl.CalculateLookAhead(), ns3::DistributedSimulatorImpl.CalculateLookAhead(), PowerRateAdaptationTest.ConfigureNode(), ns3::YansWifiChannelHelper.Create(), ns3::SpectrumChannelHelper.Create(), ns3::WifiSpectrumValue5MhzFactory.CreateTxPowerSpectralDensity(), ns3::ChannelListPriv.DoDispose(), UanTest.DoOnePhyTest(), LrWpanPlmeAndPdInterfaceTestCase.DoRun(), WaveformGeneratorTestCase.DoRun(), PacketSocketAppsTest.DoRun(), LrWpanCollisionTestCase.DoRun(), PointToPointTest.DoRun(), LrWpanEdTestCase.DoRun(), LrWpanAckTestCase.DoRun(), LrWpanErrorDistanceTestCase.DoRun(), AcousticModemEnergyTestCase.DoRun(), LrWpanCcaTestCase.DoRun(), SixlowpanFragmentationTest.DoRun(), ErrorModelSimple.DoRun(), SpectrumIdealPhyTestCase.DoRun(), Ipv4FragmentationTest.DoRun(), Ipv6FragmentationTest.DoRun(), BurstErrorModelSimple.DoRun(), AcousticModemEnergyDepletionTestCase.DoRun(), InterferenceHelperSequenceTest.DoRun(), ns3::TcpGeneralTest.DoRun(), DcfImmediateAccessBroadcastTestCase.DoRun(), ChannelAccessTestCase.DoRun(), Bug730TestCase.DoRun(), CsmaPacketSocketTestCase.DoRun(), SetChannelFrequencyTest.DoRun(), CsmaStarTestCase.DoRun(), Bug2222TestCase.DoRun(), LinkTest.DoSetup(), LanTest.DoSetup(), TwoLinkTest.DoSetup(), TwoLanTest.DoSetup(), BridgeTest.DoSetup(), TwoBridgeTest.DoSetup(), ns3::Ipv4NixVectorRouting.FindNetDeviceForNixIndex(), ns3::Ipv4NixVectorRouting.FindTotalNeighbors(), ns3::CsmaHelper.Install(), ns3::PointToPointHelper.Install(), ns3::SimpleNetDeviceHelper.Install(), ns3::MeshHelper.Install(), ns3::UanHelper.Install(), ns3::PyViz::TransmissionSampleKey.operator==(), NetAnimExperiment.Run(), PsrExperiment.Run(), Experiment.Run(), InterferenceExperiment.Run(), CollisionExperiment.Run(), WifiTest.RunOne(), ns3::AdhocAlohaNoackIdealPhyHelper.SetChannel(), ns3::SpectrumAnalyzerHelper.SetChannel(), ns3::WaveformGeneratorHelper.SetChannel(), ns3::SpectrumWifiPhyHelper.SetChannel(), ns3::YansWifiPhy.SetChannel(), ns3::SpectrumWifiPhy.SetChannel(), ns3::SimpleNetDevice.SetChannel(), ns3::LrWpanHelper.SetChannel(), ns3::UanNetDevice.SetChannel(), ns3::YansWifiPhyHelper.SetChannel(), ns3::SpectrumPhyHelper.SetChannel(), ns3::UanPhyGen.SetChannel(), VanetRoutingExperiment.SetupAdhocDevices(), TcpTestCase.SetupDefaultSim(), TcpTestCase.SetupDefaultSim6(), DualStackTestCase.SetUpSim(), ns3::SimpleOfdmWimaxPhy.StartSendDummyFecBlock(), and ns3::PyViz.TraceNetDevRxCommon().

tuple third.clientApps = echoClient.Install(wifiStaNodes.Get (nWifi - 1))

Definition at line 139 of file third.py.

tuple third.cmd = ns.core.CommandLine()

Definition at line 40 of file third.py.

tuple third.csma = ns.csma.CsmaHelper()

Definition at line 75 of file third.py.

tuple third.csmaDevices = csma.Install(csmaNodes)

Definition at line 79 of file third.py.

tuple third.csmaInterfaces = address.Assign(csmaDevices)

Definition at line 122 of file third.py.

tuple third.csmaNodes = ns.network.NodeContainer()

Definition at line 71 of file third.py.

tuple third.echoClient = ns.applications.UdpEchoClientHelper(csmaInterfaces.GetAddress(nCsma), 9)

Definition at line 134 of file third.py.

tuple third.echoServer = ns.applications.UdpEchoServerHelper(9)

Definition at line 128 of file third.py.

tuple third.mac = ns.wifi.WifiMacHelper()

Definition at line 92 of file third.py.

Referenced by ns3::MeshHelper.AssignStreams(), ns3::WifiHelper.AssignStreams(), AssignWifiRandomStreams(), ns3::WaveNetDevice.CancelTx(), PowerRateAdaptationTest.ConfigureNode(), ns3::NqosWifiMacHelper.Create(), ns3::WifiMacHelper.Create(), ns3::QosWifiMacHelper.Create(), ns3::MeshHelper.CreateInterface(), UanTest.CreateNode(), WifiTest.CreateOne(), InterferenceHelperSequenceTest.CreateOne(), ns3::SimpleTag.Deserialize(), ns3::Icmpv6OptionLinkLayerAddress.Deserialize(), ns3::WaveNetDevice.DoDispose(), ns3::dsr::DsrRouting.DoDispose(), ns3::WaveNetDevice.DoInitialize(), Bug730TestCase.DoRun(), Bug2222TestCase.DoRun(), ns3::VsaManager.DoSendVsa(), ns3::WaveNetDevice.ForwardUp(), ns3::dot11s::PeerManagementProtocol.Install(), ns3::dot11s::HwmpProtocol.Install(), ns3::flame::FlameProtocol.Install(), ns3::UanHelper.Install(), ns3::WifiHelper.Install(), ns3::LteHelper.InstallSingleEnbDevice(), ns3::LteHelper.InstallSingleUeDevice(), ns3::NdiscCache::Entry.MarkReachable(), ns3::NdiscCache::Entry.MarkStale(), ns3::DefaultChannelScheduler.NotifyGuardSlotStart(), ns3::aodv::RoutingProtocol.NotifyInterfaceDown(), ns3::aodv::RoutingProtocol.NotifyInterfaceUp(), ns3::WifiNetDevice.NotifyNewAggregate(), ns3.ReadFrom(), ns3::Dot11sStack.Report(), ns3::Dot11sStack.ResetStats(), Experiment.Run(), ns3::WaveNetDevice.Send(), ns3::WaveNetDevice.SendX(), ns3::SimpleTag.Serialize(), ns3::Icmpv6OptionLinkLayerAddress.Serialize(), ns3::WifiNetDevice.SetMac(), ns3::LrWpanNetDevice.SetMac(), ns3::LrWpanCsmaCa.SetMac(), ns3::UanNetDevice.SetMac(), ns3::UanPhyGen.SetMac(), ns3::NdiscCache::Entry.SetMacAddress(), ns3::TapFdNetDeviceHelper.SetTapMacAddress(), ns3::WifiRemoteStationManager.SetupMac(), ns3::dsr::DsrRouting.Start(), ns3::ChannelScheduler.StartSch(), and ns3.WriteTo().

tuple third.mobility = ns.mobility.MobilityHelper()

Definition at line 101 of file third.py.

Referenced by OcbWifiMacTestCase.AdvancePosition(), ns3::MobilityHelper.AssignStreams(), ns3::LrWpanNetDevice.CompleteConfig(), PowerRateAdaptationTest.ConfigureNode(), UanTest.CreateNode(), PeerManagementProtocolRegressionTest.CreateNodes(), Bug772ChainTest.CreateNodes(), HwmpProactiveRegressionTest.CreateNodes(), FlameRegressionTest.CreateNodes(), AodvExample.CreateNodes(), HwmpDoRfRegressionTest.CreateNodes(), HwmpSimplestRegressionTest.CreateNodes(), HwmpReactiveRegressionTest.CreateNodes(), MeshTest.CreateNodes(), ChainRegressionTest.CreateNodes(), WifiTest.CreateOne(), InterferenceHelperSequenceTest.CreateOne(), WaveNetDeviceExample.CreateWaveNodes(), TestCaseHelper.CreatWaveDevice(), ns3::LenaDeactivateBearerTestCase.DoRun(), LenaMimoTestCase.DoRun(), LenaHarqTestCase.DoRun(), LenaRrFfMacSchedulerTestCase.DoRun(), LenaCqaFfMacSchedulerTestCase1.DoRun(), LteInterferenceHardFrTestCase.DoRun(), WifiMsduAggregatorThroughputTest.DoRun(), LenaDataPhyErrorModelTestCase.DoRun(), LteCqiGenerationTestCase.DoRun(), LenaPfFfMacSchedulerTestCase1.DoRun(), LenaFdBetFfMacSchedulerTestCase1.DoRun(), LenaPssFfMacSchedulerTestCase1.DoRun(), LenaTdBetFfMacSchedulerTestCase1.DoRun(), LenaFdMtFfMacSchedulerTestCase.DoRun(), LenaTdMtFfMacSchedulerTestCase.DoRun(), LenaTdTbfqFfMacSchedulerTestCase1.DoRun(), LenaFdTbfqFfMacSchedulerTestCase1.DoRun(), LenaTtaFfMacSchedulerTestCase.DoRun(), LteLinkAdaptationTestCase.DoRun(), MobilityTraceTestCase.DoRun(), AcousticModemEnergyTestCase.DoRun(), WifiAcMappingTest.DoRun(), LteInterferenceTestCase.DoRun(), LtePathlossModelSystemTestCase.DoRun(), LteEnbAntennaTestCase.DoRun(), LteRrcConnectionEstablishmentTestCase.DoRun(), LteX2HandoverTestCase.DoRun(), LteInterferenceStrictFrTestCase.DoRun(), LenaPfFfMacSchedulerTestCase2.DoRun(), LenaCqaFfMacSchedulerTestCase2.DoRun(), LenaTdBetFfMacSchedulerTestCase2.DoRun(), LenaFdBetFfMacSchedulerTestCase2.DoRun(), LteDownlinkPowerControlTestCase.DoRun(), LenaPssFfMacSchedulerTestCase2.DoRun(), LenaTdTbfqFfMacSchedulerTestCase2.DoRun(), LenaFdTbfqFfMacSchedulerTestCase2.DoRun(), LteUeMeasurementsTestCase.DoRun(), RandomRoomPositionAllocatorTestCase.DoRun(), LenaDlCtrlPhyErrorModelTestCase.DoRun(), LteCqiGenerationDlPowerControlTestCase.DoRun(), SpectrumIdealPhyTestCase.DoRun(), LteUplinkOpenLoopPowerControlTestCase.DoRun(), LteHardFrTestCase.DoRun(), LteDownlinkPowerControlRrcConnectionReconfigurationTestCase.DoRun(), LteUplinkClosedLoopPowerControlAbsoluteModeTestCase.DoRun(), BuildingsHelperOneTestCase.DoRun(), LteUplinkClosedLoopPowerControlAccumulatedModeTestCase.DoRun(), LteCellSelectionTestCase.DoRun(), LteStrictFrTestCase.DoRun(), LteUeMeasurementsPiecewiseTestCase1.DoRun(), SameRoomPositionAllocatorTestCase.DoRun(), LteStrictFrAreaTestCase.DoRun(), LteSoftFrAreaTestCase.DoRun(), LteSoftFfrAreaTestCase.DoRun(), LteEnhancedFfrAreaTestCase.DoRun(), AcousticModemEnergyDepletionTestCase.DoRun(), LteDistributedFfrAreaTestCase.DoRun(), LteUeMeasurementsPiecewiseTestCase2.DoRun(), Ns2MobilityHelperTest.DoRun(), WaypointMobilityModelViaHelper.DoRun(), LteUeMeasurementsHandoverTestCase.DoRun(), LteRrcConnectionEstablishmentErrorTestCase.DoRun(), Bug730TestCase.DoRun(), Bug2222TestCase.DoRun(), OcbWifiMacTestCase.GetCurrentPosition(), ns3::AnimationInterface.GetMovedNodes(), Experiment.GetPosition(), NodeStatistics.GetPosition(), GetPosition(), ns3::TvSpectrumTransmitterHelper.InstallRandomRegionalTransmitters(), LteFadingTestSuite.LteFadingTestSuite(), OcbWifiMacTestCase.PostDeviceConfiguration(), ns3::MobilityHelper.PushReferenceMobilityModel(), NetAnimExperiment.Run(), Experiment.Run(), ns3::WimaxPhy.SetMobility(), ns3::WifiPhy.SetMobility(), Experiment.SetPosition(), SetPosition(), NodeStatistics.SetPosition(), DsdvManetExample.SetupMobility(), and WifiInterferenceTestCase.WifiSimpleInterference().

tuple third.nCsma = int(cmd.nCsma)

Definition at line 50 of file third.py.

tuple third.nWifi = int(cmd.nWifi)

Definition at line 52 of file third.py.

tuple third.p2pDevices = pointToPoint.Install(p2pNodes)

Definition at line 69 of file third.py.

tuple third.p2pInterfaces = address.Assign(p2pDevices)

Definition at line 119 of file third.py.

tuple third.p2pNodes = ns.network.NodeContainer()

Definition at line 62 of file third.py.

tuple third.phy = ns.wifi.YansWifiPhyHelper.Default()

Definition at line 86 of file third.py.

Referenced by ns3::WaveNetDevice.AddPhy(), ns3::UanMacAloha.AttachPhy(), ns3::UanMacRcGw.AttachPhy(), ns3::UanMacCw.AttachPhy(), ns3::UanMacRc.AttachPhy(), LteHandoverTargetTestCase.CellShutdownCallback(), TxDurationTest.CheckPayloadDuration(), TxDurationTest.CheckTxDuration(), PowerRateAdaptationTest.ConfigureNode(), ns3::SpectrumWifiPhyHelper.Create(), ns3::YansWifiPhyHelper.Create(), ns3::SpectrumPhyHelper.Create(), ns3::MeshHelper.CreateInterface(), UanTest.CreateNode(), WifiTest.CreateOne(), InterferenceHelperSequenceTest.CreateOne(), ns3::WimaxHelper.CreatePhy(), ns3::WimaxHelper.CreatePhyWithoutChannel(), ns3::WaveNetDevice.DoDispose(), ns3::MinstrelHtWifiManager.DoGetRtsTxVector(), ns3::WaveNetDevice.DoInitialize(), TvSpectrumTransmitterTestCase.DoRun(), Bug730TestCase.DoRun(), SetChannelFrequencyTest.DoRun(), Bug2222TestCase.DoRun(), ns3::YansWavePhyHelper.EnablePcapInternal(), ns3::WifiPhyHelper.EnablePcapInternal(), ns3::WimaxHelper.EnablePcapInternal(), ns3::MeshWifiInterfaceMac.GetFrequencyChannel(), ns3::MinstrelHtWifiManager.GetHtDeviceMcsList(), ns3::MinstrelHtWifiManager.GetVhtDeviceMcsList(), ns3::TcpYeahIncrementTest.IncreaseWindow(), ns3::WaveformGeneratorHelper.Install(), ns3::TvSpectrumTransmitterHelper.Install(), ns3::AdhocAlohaNoackIdealPhyHelper.Install(), ns3::SpectrumAnalyzerHelper.Install(), ns3::WimaxHelper.Install(), ns3::WaveHelper.Install(), ns3::UanHelper.Install(), ns3::WifiHelper.Install(), ns3::TvSpectrumTransmitterHelper.InstallAdjacent(), ns3::LteHelper.InstallSingleEnbDevice(), ns3::LteHelper.InstallSingleUeDevice(), NodeStatistics.NodeStatistics(), Experiment.Run(), ns3::WifiNetDevice.SetPhy(), ns3::LrWpanNetDevice.SetPhy(), ns3::UanNetDevice.SetPhy(), ns3::NonCommunicatingNetDevice.SetPhy(), ns3::WimaxNetDevice.SetPhy(), ns3::AlohaNoackNetDevice.SetPhy(), ns3::LrWpanMac.SetPhy(), ns3::MacLow.SetPhy(), ns3::WifiRemoteStationManager.SetupPhy(), ns3::RegularWifiMac.SetWifiPhy(), ns3::WaveMacLow.StartTransmission(), and ns3::MeshWifiInterfaceMac.SwitchFrequencyChannel().

tuple third.pointToPoint = ns.point_to_point.PointToPointHelper()

Definition at line 65 of file third.py.

tuple third.serverApps = echoServer.Install(csmaNodes.Get(nCsma))

Definition at line 130 of file third.py.

tuple third.stack = ns.internet.InternetStackHelper()

Definition at line 112 of file third.py.

tuple third.staDevices = wifi.Install(phy, mac, wifiStaNodes)

Definition at line 96 of file third.py.

Referenced by Bug730TestCase.DoRun().

third.verbose = cmd.verbose

Definition at line 51 of file third.py.

tuple third.wifiApNode = p2pNodes.Get(0)

Definition at line 83 of file third.py.

Referenced by Bug730TestCase.DoRun(), SetChannelFrequencyTest.DoRun(), and Experiment.Run().

tuple third.wifiStaNodes = ns.network.NodeContainer()

Definition at line 81 of file third.py.