Variables | |
address = ns.Ipv4AddressHelper() | |
asciiTrace = ns.AsciiTraceHelper() | |
bth = ns.BriteTopologyHelper(confFile) | |
client = ns.NodeContainer() | |
clientApps = echoClient.Install(client.Get(0)) | |
clientInterfaces = address.Assign(p2pClientDevices) | |
str | confFile = "src/brite/examples/conf_files/TD_ASBarabasi_RTWaxman.conf" |
echoClient = ns.UdpEchoClientHelper(serverInterfaces.GetAddress(0).ConvertTo(), 9) | |
echoServer = ns.UdpEchoServerHelper(9) | |
nixRouting = ns.Ipv4NixVectorHelper() | |
numLeafNodesInAsOne = bth.GetNLeafNodesForAs(1) | |
numLeafNodesInAsZero = bth.GetNLeafNodesForAs(0) | |
p2p = ns.PointToPointHelper() | |
p2pClientDevices = p2p.Install(client) | |
p2pServerDevices = p2p.Install(server) | |
server = ns.NodeContainer() | |
serverApps = echoServer.Install(server.Get(0)) | |
serverInterfaces = ns.Ipv4InterfaceContainer() | |
stack = ns.InternetStackHelper() | |
brite-generic-example.address = ns.Ipv4AddressHelper() |
Definition at line 39 of file brite-generic-example.py.
brite-generic-example.asciiTrace = ns.AsciiTraceHelper() |
Definition at line 94 of file brite-generic-example.py.
brite-generic-example.bth = ns.BriteTopologyHelper(confFile) |
Definition at line 29 of file brite-generic-example.py.
brite-generic-example.client = ns.NodeContainer() |
Definition at line 50 of file brite-generic-example.py.
brite-generic-example.clientApps = echoClient.Install(client.Get(0)) |
Definition at line 90 of file brite-generic-example.py.
brite-generic-example.clientInterfaces = address.Assign(p2pClientDevices) |
Definition at line 74 of file brite-generic-example.py.
str brite-generic-example.confFile = "src/brite/examples/conf_files/TD_ASBarabasi_RTWaxman.conf" |
Definition at line 24 of file brite-generic-example.py.
brite-generic-example.echoClient = ns.UdpEchoClientHelper(serverInterfaces.GetAddress(0).ConvertTo(), 9) |
Definition at line 85 of file brite-generic-example.py.
brite-generic-example.echoServer = ns.UdpEchoServerHelper(9) |
Definition at line 80 of file brite-generic-example.py.
brite-generic-example.nixRouting = ns.Ipv4NixVectorHelper() |
Definition at line 36 of file brite-generic-example.py.
brite-generic-example.numLeafNodesInAsOne = bth.GetNLeafNodesForAs(1) |
Definition at line 64 of file brite-generic-example.py.
brite-generic-example.numLeafNodesInAsZero = bth.GetNLeafNodesForAs(0) |
Definition at line 57 of file brite-generic-example.py.
brite-generic-example.p2p = ns.PointToPointHelper() |
Definition at line 32 of file brite-generic-example.py.
brite-generic-example.p2pClientDevices = p2p.Install(client) |
Definition at line 70 of file brite-generic-example.py.
brite-generic-example.p2pServerDevices = p2p.Install(server) |
Definition at line 71 of file brite-generic-example.py.
brite-generic-example.server = ns.NodeContainer() |
Definition at line 51 of file brite-generic-example.py.
brite-generic-example.serverApps = echoServer.Install(server.Get(0)) |
Definition at line 81 of file brite-generic-example.py.
brite-generic-example.serverInterfaces = ns.Ipv4InterfaceContainer() |
Definition at line 77 of file brite-generic-example.py.
brite-generic-example.stack = ns.InternetStackHelper() |
Definition at line 34 of file brite-generic-example.py.