Re: traffic nab
Henri DF <[email protected]> Fri, 1 Jul 2005 14:32:33 +0200 (CEST)
| Newsgroups | gmane.network.simulator.epfl |
|---|---|
| Message-ID | <[email protected]> |
Hi Dominique,=20 As you probably saw in the documentation in trafficgen.ml, a traffic=20 generator does not integrate the notion of destination - it only generates= =20 the time intervals between successive packets.=20 This could possibly be changed but my intent was that one trafficgen would= =20 model/represent one session between a pair of nodes (say a TCP dialog=20 between two nodes, or a file transfer, or more generally some=20 statistical process). I hadn't really foreseen generating a traffic=20 pattern like what you need, but that's a perfectly reasonable one. So I'll try to implement this over the weekend and let you know as soon as= =20 it's done. henri PS. Btw to generate traffic to multiple nodes with the current version,=20 one way would be to install a trafficgen for each destination on each node.= But this is not very=20 scalable obviously (and in fact looking at node.mli comments not really=20 working right now).=20 PPS. If you need to make this work urgently, the simplest way is to create= =20 your own function that directly calls #originate_app_pkt (see node.mli) on= =20 node objects according to the traffic pattern you need > Salut Henri! >=20 > =20 >=20 > J=92ai une question concernant la g=E9n=E9ration de trafique dans la nouv= elle > version de nab. J=92aimerais par exemple que tous les n=9Cuds g=E9n=E8ren= t un paquet > toutes les t secondes pour une destination al=E9atoire. J=92ai vu que tu = avais > =E9cris quelques modules pour =E7a mais je ne suis pas s=FBr comment les = utiliser. >=20 > =20 >=20 > Merci=20 >=20 > =20 >=20 > A+ >=20 > =20 >=20 > /Dominique >=20 >=20