A Discrete-Event Network Simulator
API
brite-generic-example.py File Reference

Go to the source code of this file.

Namespaces

 brite-generic-example
 

Variables

 brite-generic-example.address = ns.Ipv4AddressHelper()
 
 brite-generic-example.asciiTrace = ns.AsciiTraceHelper()
 
 brite-generic-example.bth = ns.BriteTopologyHelper(confFile)
 
 brite-generic-example.client = ns.NodeContainer()
 
 brite-generic-example.clientApps = echoClient.Install(client.Get(0))
 
 brite-generic-example.clientInterfaces = address.Assign(p2pClientDevices)
 
string brite-generic-example.confFile = "src/brite/examples/conf_files/TD_ASBarabasi_RTWaxman.conf"
 
 brite-generic-example.echoClient = ns.UdpEchoClientHelper(serverInterfaces.GetAddress(0).ConvertTo(), 9)
 
 brite-generic-example.echoServer = ns.UdpEchoServerHelper(9)
 
 brite-generic-example.nixRouting = ns.Ipv4NixVectorHelper()
 
 brite-generic-example.numLeafNodesInAsOne = bth.GetNLeafNodesForAs(1)
 
 brite-generic-example.numLeafNodesInAsZero = bth.GetNLeafNodesForAs(0)
 
 brite-generic-example.p2p = ns.PointToPointHelper()
 
 brite-generic-example.p2pClientDevices = p2p.Install(client)
 
 brite-generic-example.p2pServerDevices = p2p.Install(server)
 
 brite-generic-example.server = ns.NodeContainer()
 
 brite-generic-example.serverApps = echoServer.Install(server.Get(0))
 
 brite-generic-example.serverInterfaces = ns.Ipv4InterfaceContainer()
 
 brite-generic-example.stack = ns.InternetStackHelper()