Version 17 (modified by 14 years ago) ( diff ) | ,
---|
How to build OverSim with ReaSE support
- Download, extract and compile ReaSE-OMNeT4-1.23-src.tar.gz (in the following we assume you have installed OMNeT++ and OverSim to ~/sim/):
cd ~/sim tar xzvf /tmp/ReaSE-OMNeT4-1.23-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, extract and install the GUI ReaSEGUI-OMNeT4-1.23.tar.gz:
cd ~/sim tar xzvf /tmp/ReaSEGUI-OMNeT4-1.23.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 topology:
[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
" tab 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 tab. 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" tab.
- 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 tab.
- 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.