A Discrete-Event Network Simulator
API
third.py File Reference

Go to the source code of this file.

Namespaces

namespace  third
 

Variables

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