A Discrete-Event Network Simulator
API
third Namespace Reference

Variables

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

Variable Documentation

third.address = ns.internet.Ipv4AddressHelper()

Definition at line 117 of file third.py.

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

Definition at line 99 of file third.py.

Referenced by CourseChangeCallback(), and Bug730TestCase.DoRun().

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

Definition at line 85 of file third.py.

Referenced by ns3::RemoteChannelBundle.AddChannel(), ns3::WimaxPhy.Attach(), ns3::NullMessageSimulatorImpl.CalculateLookAhead(), ns3::DistributedSimulatorImpl.CalculateLookAhead(), PowerRateAdaptationTest.ConfigureNode(), ConvertStringToStandard(), ns3::YansWifiChannelHelper.Create(), ns3::SpectrumChannelHelper.Create(), ns3::WifiSpectrumValue5MhzFactory.CreateTxPowerSpectralDensity(), ns3::ChannelListPriv.DoDispose(), UanTest.DoOnePhyTest(), WaveformGeneratorTestCase.DoRun(), LrWpanPlmeAndPdInterfaceTestCase.DoRun(), PacketSocketAppsTest.DoRun(), PointToPointTest.DoRun(), LrWpanEdTestCase.DoRun(), LrWpanCollisionTestCase.DoRun(), LrWpanErrorDistanceTestCase.DoRun(), SixlowpanFragmentationTest.DoRun(), AcousticModemEnergyTestCase.DoRun(), SpectrumIdealPhyTestCase.DoRun(), ErrorModelSimple.DoRun(), LrWpanAckTestCase.DoRun(), LrWpanCcaTestCase.DoRun(), ThreeGppHttpObjectTestCase.DoRun(), Ipv4FragmentationTest.DoRun(), Ipv6FragmentationTest.DoRun(), BurstErrorModelSimple.DoRun(), AcousticModemEnergyDepletionTestCase.DoRun(), InterferenceHelperSequenceTest.DoRun(), ns3::TcpGeneralTest.DoRun(), DcfImmediateAccessBroadcastTestCase.DoRun(), Bug730TestCase.DoRun(), CsmaPacketSocketTestCase.DoRun(), ChannelAccessTestCase.DoRun(), SetChannelFrequencyTest.DoRun(), CsmaStarTestCase.DoRun(), Bug2222TestCase.DoRun(), Bug2831TestCase.DoRun(), LinkTest.DoSetup(), LanTest.DoSetup(), TwoLinkTest.DoSetup(), TwoLanTest.DoSetup(), BridgeTest.DoSetup(), TwoBridgeTest.DoSetup(), GenerateTraffic(), ns3::CsmaHelper.Install(), ns3::PointToPointHelper.Install(), ns3::SimpleNetDeviceHelper.Install(), ns3::MeshHelper.Install(), ns3::UanHelper.Install(), LrWpanErrorDistanceCallback(), MonitorSniffRx(), ns3::PyViz::TransmissionSampleKey.operator<(), ns3::PyViz::TransmissionSampleKey.operator==(), GlobalPathlossDatabase.Print(), PrintAttributesIfEnabled(), NetAnimExperiment.Run(), PsrExperiment.Run(), Experiment.Run(), InterferenceExperiment.Run(), CollisionExperiment.Run(), WifiTest.RunOne(), SendOnePacket(), SendPacket(), 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(), StaWifiMacScanningTestCase.Setup(), VanetRoutingExperiment.SetupAdhocDevices(), UanExperiment.SetupCommunications(), TcpTestCase.SetupDefaultSim(), TcpTestCase.SetupDefaultSim6(), SetupPacketReceive(), DualStackTestCase.SetUpSim(), SinkRx(), ns3::SimpleOfdmWimaxPhy.StartSendDummyFecBlock(), StateChangeNotification(), static_SpectrumModelWifi5180MHz_initializer.static_SpectrumModelWifi5180MHz_initializer(), ns3::PyViz.TraceNetDevRxCommon(), TxCallback(), ns3::CsmaHelper.~CsmaHelper(), ns3::RemoteChannelBundle.~RemoteChannelBundle(), and ns3::SimpleNetDeviceHelper.~SimpleNetDeviceHelper().

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

Definition at line 139 of file third.py.

third.cmd = ns.core.CommandLine()

Definition at line 40 of file third.py.

third.csma = ns.csma.CsmaHelper()

Definition at line 75 of file third.py.

third.csmaDevices = csma.Install(csmaNodes)

Definition at line 79 of file third.py.

third.csmaInterfaces = address.Assign(csmaDevices)

Definition at line 122 of file third.py.

third.csmaNodes = ns.network.NodeContainer()

Definition at line 71 of file third.py.

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

Definition at line 134 of file third.py.

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

Definition at line 128 of file third.py.

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(), ConvertStringToStandard(), CourseChangeCallback(), ns3::WifiMacHelper.Create(), ns3::MeshHelper.CreateInterface(), UanTest.CreateNode(), WifiTest.CreateOne(), InterferenceHelperSequenceTest.CreateOne(), CreateTap(), ns3::SimpleTag.Deserialize(), ns3::Icmpv6OptionLinkLayerAddress.Deserialize(), ns3::WaveNetDevice.DoDispose(), ns3::dsr::DsrRouting.DoDispose(), ns3::WaveNetDevice.DoInitialize(), Bug730TestCase.DoRun(), Bug2222TestCase.DoRun(), Bug2483TestCase.DoRun(), Bug2831TestCase.DoRun(), ns3::VsaManager.DoSendVsa(), ns3::WifiNetDevice.FlowControlConfig(), ns3::WaveNetDevice.ForwardUp(), Experiment.GenerateTraffic(), 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(), MonitorSniffRx(), ns3::DefaultChannelScheduler.NotifyGuardSlotStart(), ns3::aodv::RoutingProtocol.NotifyInterfaceDown(), ns3::aodvq::RoutingProtocol.NotifyInterfaceDown(), ns3::aodv::RoutingProtocol.NotifyInterfaceUp(), ns3::aodvq::RoutingProtocol.NotifyInterfaceUp(), ns3.ReadFrom(), ns3::Dot11sStack.Report(), ns3::Dot11sStack.ResetStats(), Experiment.Run(), ns3::WaveNetDevice.Send(), SendPacket(), ns3::WaveNetDevice.SendX(), ns3::SimpleTag.Serialize(), ns3::Icmpv6OptionLinkLayerAddress.Serialize(), ns3::LrWpanNetDevice.SetMac(), ns3::WifiNetDevice.SetMac(), ns3::LrWpanCsmaCa.SetMac(), ns3::UanNetDevice.SetMac(), ns3::UanPhyGen.SetMac(), ns3::NdiscCache::Entry.SetMacAddress(), ns3::TapFdNetDeviceHelper.SetTapMacAddress(), StaWifiMacScanningTestCase.Setup(), ns3::WifiRemoteStationManager.SetupMac(), ns3::dsr::DsrRouting.Start(), ns3::ChannelScheduler.StartSch(), static_SpectrumModelWifi5180MHz_initializer.static_SpectrumModelWifi5180MHz_initializer(), StaWifiMacScanningTestCase.TurnBeaconGenerationOn(), TxCallback(), ns3.WriteTo(), and ns3::TapFdNetDeviceHelper.~TapFdNetDeviceHelper().

third.mobility = ns.mobility.MobilityHelper()

Definition at line 101 of file third.py.

Referenced by AdvancePosition(), OcbWifiMacTestCase.AdvancePosition(), AodvqRegressionTestSuite.AodvqRegressionTestSuite(), ns3::MobilityHelper.AssignStreams(), CalculateThroughput(), ChangePosition(), ChangeSignalAndReportRate(), Experiment.CommandSetup(), ns3::LrWpanNetDevice.CompleteConfig(), PowerRateAdaptationTest.ConfigureNode(), ConvertStringToStandard(), CourseChange(), CourseChangeCallback(), UanTest.CreateNode(), PeerManagementProtocolRegressionTest.CreateNodes(), Bug772ChainTest.CreateNodes(), HwmpProactiveRegressionTest.CreateNodes(), FlameRegressionTest.CreateNodes(), HwmpDoRfRegressionTest.CreateNodes(), HwmpSimplestRegressionTest.CreateNodes(), AodvExample.CreateNodes(), HwmpReactiveRegressionTest.CreateNodes(), AodvqExample.CreateNodes(), MeshTest.CreateNodes(), ChainRegressionTest.CreateNodes(), WifiTest.CreateOne(), InterferenceHelperSequenceTest.CreateOne(), WaveNetDeviceExample.CreateWaveNodes(), TestCaseHelper.CreatWaveDevice(), WifiMsduAggregatorThroughputTest.DoRun(), WifiAcMappingTest.DoRun(), ns3::LenaDeactivateBearerTestCase.DoRun(), MobilityTraceTestCase.DoRun(), LenaMimoTestCase.DoRun(), LenaHarqTestCase.DoRun(), LenaRrFfMacSchedulerTestCase.DoRun(), LenaDataPhyErrorModelTestCase.DoRun(), LenaPfFfMacSchedulerTestCase1.DoRun(), LteRrcConnectionEstablishmentTestCase.DoRun(), LenaTdBetFfMacSchedulerTestCase1.DoRun(), LenaTdMtFfMacSchedulerTestCase.DoRun(), LenaCqaFfMacSchedulerTestCase1.DoRun(), LenaTtaFfMacSchedulerTestCase.DoRun(), LenaFdBetFfMacSchedulerTestCase1.DoRun(), LenaFdMtFfMacSchedulerTestCase.DoRun(), LenaPssFfMacSchedulerTestCase1.DoRun(), LenaTdTbfqFfMacSchedulerTestCase1.DoRun(), RandomRoomPositionAllocatorTestCase.DoRun(), LteInterferenceHardFrTestCase.DoRun(), LteLinkAdaptationTestCase.DoRun(), LenaFdTbfqFfMacSchedulerTestCase1.DoRun(), LteSecondaryCellSelectionTestCase.DoRun(), AcousticModemEnergyTestCase.DoRun(), LtePathlossModelSystemTestCase.DoRun(), SpectrumIdealPhyTestCase.DoRun(), CarrierAggregationTestCase.DoRun(), LteEnbAntennaTestCase.DoRun(), LteCqiGenerationTestCase.DoRun(), LteX2HandoverTestCase.DoRun(), LteInterferenceTestCase.DoRun(), LteIpv6RoutingTestCase.DoRun(), CarrierAggregationConfigTestCase.DoRun(), BuildingsHelperOneTestCase.DoRun(), LenaPfFfMacSchedulerTestCase2.DoRun(), LteInterferenceStrictFrTestCase.DoRun(), LenaTdBetFfMacSchedulerTestCase2.DoRun(), LenaDlCtrlPhyErrorModelTestCase.DoRun(), LteUeMeasurementsTestCase.DoRun(), LenaFdBetFfMacSchedulerTestCase2.DoRun(), LenaTdTbfqFfMacSchedulerTestCase2.DoRun(), LenaPssFfMacSchedulerTestCase2.DoRun(), LteCellSelectionTestCase.DoRun(), LenaCqaFfMacSchedulerTestCase2.DoRun(), LteDownlinkPowerControlTestCase.DoRun(), LenaFdTbfqFfMacSchedulerTestCase2.DoRun(), LteHardFrTestCase.DoRun(), LteCqiGenerationDlPowerControlTestCase.DoRun(), LteUplinkOpenLoopPowerControlTestCase.DoRun(), SameRoomPositionAllocatorTestCase.DoRun(), LteUplinkClosedLoopPowerControlAbsoluteModeTestCase.DoRun(), LteDownlinkPowerControlRrcConnectionReconfigurationTestCase.DoRun(), LteStrictFrTestCase.DoRun(), LteUplinkClosedLoopPowerControlAccumulatedModeTestCase.DoRun(), LteUeMeasurementsPiecewiseTestCase1.DoRun(), AcousticModemEnergyDepletionTestCase.DoRun(), Ns2MobilityHelperTest.DoRun(), LteStrictFrAreaTestCase.DoRun(), LteSoftFrAreaTestCase.DoRun(), LteUeMeasurementsPiecewiseTestCase2.DoRun(), WaypointMobilityModelViaHelper.DoRun(), LteSoftFfrAreaTestCase.DoRun(), LteEnhancedFfrAreaTestCase.DoRun(), LteDistributedFfrAreaTestCase.DoRun(), LteUeMeasurementsHandoverTestCase.DoRun(), Bug730TestCase.DoRun(), LteRrcConnectionEstablishmentErrorTestCase.DoRun(), Bug2222TestCase.DoRun(), Bug2483TestCase.DoRun(), Experiment.GenerateTraffic(), GenerateTraffic(), OcbWifiMacTestCase.GetCurrentPosition(), ns3::AnimationInterface.GetMovedNodes(), Experiment.GetPosition(), NodeStatistics.GetPosition(), GetPosition(), LteAggregationThroughputScaleTestCase.GetThroughput(), ns3::TvSpectrumTransmitterHelper.InstallRandomRegionalTransmitters(), LteFadingTestSuite.LteFadingTestSuite(), MonitorSniffRx(), NotifyHandoverEndOkEnb(), PhyStateTrace(), OcbWifiMacTestCase.PostDeviceConfiguration(), GlobalPathlossDatabase.Print(), PrintGnuplottableEnbListToFile(), ns3::MobilityHelper.PushReferenceMobilityModel(), RateCallback(), Ratio(), ReceivePacket(), NetAnimExperiment.Run(), Experiment.Run(), SendPacket(), ns3::WimaxPhy.SetMobility(), ns3::WifiPhy.SetMobility(), Experiment.SetPosition(), SetPosition(), NodeStatistics.SetPosition(), StaWifiMacScanningTestCase.Setup(), DsdvqManetExample.SetupMobility(), DsdvManetExample.SetupMobility(), SetupPacketReceive(), static_SpectrumModelWifi5180MHz_initializer.static_SpectrumModelWifi5180MHz_initializer(), TotalEnergy(), TotalEnergyHarvested(), TxCallback(), and WifiInterferenceTestCase.WifiSimpleInterference().

third.nCsma = int(cmd.nCsma)

Definition at line 41 of file third.py.

third.nWifi = int(cmd.nWifi)

Definition at line 43 of file third.py.

Referenced by TxCallback().

third.p2pDevices = pointToPoint.Install(p2pNodes)

Definition at line 69 of file third.py.

third.p2pInterfaces = address.Assign(p2pDevices)

Definition at line 119 of file third.py.

third.p2pNodes = ns.network.NodeContainer()

Definition at line 62 of file third.py.

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(), ConvertStringToStandard(), 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(), Experiment.GenerateTraffic(), ns3::MeshWifiInterfaceMac.GetFrequencyChannel(), ns3::MinstrelHtWifiManager.GetHtDeviceMcsList(), ns3::MinstrelHtWifiManager.GetVhtDeviceMcsList(), 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(), MonitorSniffRx(), NodeStatistics.NodeStatistics(), PrintAttributesIfEnabled(), Experiment.Run(), ns3::WifiNetDevice.SetPhy(), ns3::LrWpanNetDevice.SetPhy(), ns3::UanNetDevice.SetPhy(), ns3::MacLow.SetPhy(), ns3::NonCommunicatingNetDevice.SetPhy(), ns3::WimaxNetDevice.SetPhy(), ns3::AlohaNoackNetDevice.SetPhy(), ns3::LrWpanMac.SetPhy(), StaWifiMacScanningTestCase.Setup(), ns3::WifiRemoteStationManager.SetupPhy(), ns3::RegularWifiMac.SetWifiPhy(), ns3::WaveMacLow.StartTransmission(), static_SpectrumModelWifi5180MHz_initializer.static_SpectrumModelWifi5180MHz_initializer(), ns3::MeshWifiInterfaceMac.SwitchFrequencyChannel(), StaWifiMacScanningTestCase.TurnApOff(), and TxCallback().

third.pointToPoint = ns.point_to_point.PointToPointHelper()

Definition at line 65 of file third.py.

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

Definition at line 130 of file third.py.

third.stack = ns.internet.InternetStackHelper()

Definition at line 112 of file third.py.

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

Definition at line 42 of file third.py.

third.wifi = ns.wifi.WifiHelper()

Definition at line 89 of file third.py.

Referenced by AdvancePosition(), AodvqRegressionTestSuite.AodvqRegressionTestSuite(), ns3::MeshHelper.AssignStreams(), ns3::WifiHelper.AssignStreams(), ChangeSignalAndReportRate(), Experiment.CommandSetup(), OcbWifiMacTestCase.ConfigureAdhocMode(), OcbWifiMacTestCase.ConfigureApStaMode(), BatteryLifetimeTest.ConstantLoadTest(), ConvertStringToStandard(), CourseChangeCallback(), Bug772ChainTest.CreateDevices(), AodvExample.CreateDevices(), AodvqExample.CreateDevices(), DsdvManetExample.CreateDevices(), DsdvqManetExample.CreateDevices(), ChainRegressionTest.CreateDevices(), BasicEnergyDepletionTest.DepletionTestCase(), ns3::dsr::DsrRouting.DoDispose(), WifiMsduAggregatorThroughputTest.DoRun(), WifiAcMappingTest.DoRun(), ns3::aodv::LoopbackTestCase.DoRun(), ns3::aodvq::LoopbackTestCase.DoRun(), Bug730TestCase.DoRun(), SetChannelFrequencyTest.DoRun(), Bug2222TestCase.DoRun(), Bug2483TestCase.DoRun(), experiment(), Experiment.GenerateTraffic(), GenerateTraffic(), MonitorSniffRx(), ns3::aodv::RoutingProtocol.NotifyInterfaceDown(), ns3::aodvq::RoutingProtocol.NotifyInterfaceDown(), ns3::aodv::RoutingProtocol.NotifyInterfaceUp(), ns3::aodvq::RoutingProtocol.NotifyInterfaceUp(), PhyStateTrace(), PrintAttributesIfEnabled(), RateCallback(), ReceivePacket(), RoutingExperiment.Run(), Experiment.Run(), SendPacket(), StaWifiMacScanningTestCase.Setup(), VanetRoutingExperiment.SetupAdhocDevices(), ns3::dsr::DsrRouting.Start(), static_SpectrumModelWifi5180MHz_initializer.static_SpectrumModelWifi5180MHz_initializer(), TotalEnergy(), TotalEnergyHarvested(), TxCallback(), BatteryLifetimeTest.VariableLoadTest(), and WifiInterferenceTestCase.WifiSimpleInterference().

third.wifiStaNodes = ns.network.NodeContainer()

Definition at line 81 of file third.py.

Referenced by RateCallback(), and TxCallback().