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

Go to the source code of this file.

Namespaces

 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.core.CommandLine()
 
 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(csmaInterfaces.GetAddress(nCsma), 9)
 
 third.echoServer = ns.applications.UdpEchoServerHelper(9)
 
 third.mac = ns.wifi.WifiMacHelper()
 
 third.mobility = ns.mobility.MobilityHelper()
 
 third.nCsma = int(cmd.nCsma)
 
 third.nWifi = int(cmd.nWifi)
 
 third.p2pDevices = pointToPoint.Install(p2pNodes)
 
 third.p2pInterfaces = address.Assign(p2pDevices)
 
 third.p2pNodes = ns.network.NodeContainer()
 
 third.phy = ns.wifi.YansWifiPhyHelper.Default()
 
 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)
 
 third.tracing = cmd.tracing
 
 third.verbose = cmd.verbose
 
 third.wifi = ns.wifi.WifiHelper()
 
 third.wifiApNode = p2pNodes.Get(0)
 
 third.wifiStaNodes = ns.network.NodeContainer()