Version 11 (modified by 14 years ago) ( diff ) | ,
---|
For support of ReaSE topologies in OverSim, you need a new ReaSE version, which will be released in a couple of days!
How to build OverSim with ReaSE support
- Download and compile ReaSE (in the following we assume you have installed OMNeT++ and OverSim to ~/sim/):
cd ~/sim tar xzvf /tmp/ReaSE-OMNeT4-1.22-src.tar.gz cd ReaSE make OVERSIM=true
- Recompile OverSim with ReaSE support
cd ~/sim/OverSim-20101103 make REASE=true
- Edit
simulations/default.ini
in your OverSim directory and modify thened-path
to contain the ReaSE directory.
- Download and install the ReaSE GUI:
cd ~/sim tar xzvf /tmp/ReaSEGUI-OMNeT4-1.21.tar.gz cd ~/sim/ReaseGUI/TGM make
- Start the Java based ReaSEGUI to create new topologies (see below for additional information on this step):
cd ~/sim/ReaSEGUI/ReaSEGUI/dist java -jar ReaSEGUI.jar
- Copy the generated topology to the OverSim directory:
cp ~/sim/generatedTopologies/MyFirstTopology_servers.ned ~/sim/OverSim-20101103/src/underlay/reaseunderlay/topologies/MyFirstTopology/MyFirstTopology_servers.ned
- Edit omnetpp.ini and create a new entry containing your topologies:
[Config MySimulation] network = oversim.underlay.reaseunderlay.topologies.MyFirstTopology.ReaSEUnderlayNetwork **.TerminalConnector.channelTypes = "oversim.underlay.reaseunderlay.topologies.MyFirstTopology.host2edge" **.TerminalConnector.channelTypesRx = "oversim.underlay.reaseunderlay.topologies.MyFirstTopology.edge2host"
How to use ReaSEGUI to generate a topology for OverSim
This section shows how to use ReaSEGUI to generate your own topologies.
Customize settings and generate a new topology
- Press "
Select TGM Path
" on the "Topology
" panel and select~/sim/ReaSEGUI/TGM/tgm
.
- Press "Save" and select a location to save your generation parameters.
- Modify or deselect "AS-Level" parameters. The following parameters can be set:
- Nodes: Number of autonomous systems generated.
- Transit-Node-Thresh: Minimum node degree to be a transit AS.
- Parameter P: PFP Growing Parameter.
- Parameter Delta: PFP Growing Parameter.
- Modify "Router-Level" parameters: The following parameters can be set:
- Min Nodes: Minimum routers nodes per router topology.
- Max Nodes: Maximum routers nodes per router topology.
- Core Ratio: Percentage of core router nodes per router topology.
- Core Cross Link Ratio: Percentage of core cross links.
- Min Hosts per Edge: Minimum number of hosts per edge router.
- Max Hosts per Edge: Maximum number of hosts per edge router.
- IMPORTANT NOTE: In order to use the generated topology with the ReaSEUnderlay "Router-Level" option must not be deselected.
- NOTE: If the minimum number of Hosts per Edge is not zero ReaSE must be installed and included in OverSim to use the topology.
- Choose name and path of the ned file by pressing "select". e.g.
~/sim/generatedTopologies/MyFirstTopology.ned
- NOTE: The name of the ned file will also be the name of the topology.
- Select the "OverSim topology" option.
- Press "Run" in the upper right corner of the panel. Wait a few seconds while the TGM is trying multiple times to generate the topology.
Modified bandwiths, latencies, server and router fractions
- Switch to the "Server Settings" panel.
- Press "Set Script Path" and select ~/sim/ReaSEGUI/UtilScripts/setServer.pl' .
- Press "Save" and select a location to save your parameter settings.
- Modify parameters or press "Default".
- Press "Run" in the upper right corner of the panel.
- NOTE: The script writes the modified topology to a new file. e.g.
~/sim/generatedTopologies/MyFirstTopology_servers.ned
- NOTE: The script writes the modified topology to a new file. e.g.
Note:
See TracWiki
for help on using the wiki.