A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
first Namespace Reference

Variables

 address = ns.Ipv4AddressHelper()
 
 clientApps = echoClient.Install(nodes.Get(0))
 
 devices = pointToPoint.Install(nodes)
 
 echoClient = ns.UdpEchoClientHelper(address, 9)
 
 echoServer = ns.UdpEchoServerHelper(9)
 
 interfaces = address.Assign(devices)
 
 nodes = ns.NodeContainer()
 
 pointToPoint = ns.PointToPointHelper()
 
 serverApps = echoServer.Install(nodes.Get(1))
 
 stack = ns.InternetStackHelper()
 

Variable Documentation

◆ address

first.address = ns.Ipv4AddressHelper()

Definition at line 36 of file first.py.

◆ clientApps

first.clientApps = echoClient.Install(nodes.Get(0))

Definition at line 53 of file first.py.

◆ devices

first.devices = pointToPoint.Install(nodes)

Definition at line 31 of file first.py.

◆ echoClient

first.echoClient = ns.UdpEchoClientHelper(address, 9)

Definition at line 48 of file first.py.

◆ echoServer

first.echoServer = ns.UdpEchoServerHelper(9)

Definition at line 41 of file first.py.

◆ interfaces

first.interfaces = address.Assign(devices)

Definition at line 39 of file first.py.

◆ nodes

first.nodes = ns.NodeContainer()

Definition at line 24 of file first.py.

◆ pointToPoint

first.pointToPoint = ns.PointToPointHelper()

Definition at line 27 of file first.py.

◆ serverApps

first.serverApps = echoServer.Install(nodes.Get(1))

Definition at line 43 of file first.py.

◆ stack

first.stack = ns.InternetStackHelper()

Definition at line 33 of file first.py.