The Network Simulator ns-2: Scenario Generation
In order to carry out meaningful study of different networking issues like protocol interaction, congestion control, effect of network dynamics, scalability etc it is necesssary to carry simulations on the right kind of scenario which includes but is not limited to the topology size, density distribution, traffic generation, membership distribution, real-time variance of membership, network dynamics etc. Different scenarios can be used to illustrate/compare interesting network performances.Scenario Generator
The ns scenario generator can be used to create different random scenarios for simulation. It consists of a topology generator, an agent generator and a routing generator that are each described below. The scenario generator is available in a zipped format consisting of Tcl scripts that can be run with ns-2. Example scripts are provided for each type of generator.
your_prompt%ns
%source topo-gen.tcl
%topology -h
or
%topo-usage
%topo-usage: topology [options]
where options are given as: -key value
example options:
-outfile mytopo -type random -nodes 50 -method pure-random
[.....]
%detailed-topo-usage
usage: topology [-key 1 value 1 -key 2 value 2 -key n value n]
[...]
Scenario Library
The scenario library shall consist of different interesting scenarios that may be used to emphasise the different design criterion while studying a protocol behaviour. Currently the library consists of 4 scenarios for studying the congestion control behaviour of reliable multicast protocols and their interaction with TCP flows in the congested network.Please note that the scenario generator and the library as presented here are just the first-cut versions and will be undergoing changes/additions. so check this page out for updates in the near future.
출처 :?http://www.isi.edu/nsnam/ns/ns-scengeneration.html

Comments List