| 36 | |
| 37 | 6. Copy the generated topology to the !OverSim directory: |
| 38 | {{{ |
| 39 | cp ~/sim/generatedTopologies/MyFirstTopology_servers.ned ~/sim/OverSim-20101103/src/underlay/reaseunderlay/topologies/MyFirstTopology/MyFirstTopology_servers.ned |
| 40 | }}} |
| 41 | |
| 42 | 7. Edit omnetpp.ini and create a new entry containing your topologie: |
| 43 | {{{ |
| 44 | [Config MySimulation] |
| 45 | network = oversim.underlay.reaseunderlay.topologies.MyFirstTopology.ReaSEUnderlayNetwork |
| 46 | **.TerminalConnector.channelTypes = "oversim.underlay.reaseunderlay.topologies.MyFirstTopology.host2edge" |
| 47 | **.TerminalConnector.channelTypesRx = "oversim.underlay.reaseunderlay.topologies.MyFirstTopology.edge2host" |
| 48 | }}} |
| 49 | |
| 50 | == How to use ReaSEGUI to generate a topology for OverSim == |
| 51 | |
| 52 | === Customize settings and generate a new topology ==== |
| 53 | |
| 54 | 1. Press "Select TGM Path" on the "Topology" panel and select ~/sim/ReaSEGUI/TGM/tgm . |
| 55 | |
| 56 | 2. Press "Save" and select a location to save your generation parameters. |
| 57 | |
| 58 | 3. Modify or deselect "AS-Level" parameters. The following parameters can be set: |
| 59 | Nodes: Number of autonomous systems generated. |
| 60 | Transit-Node-Thresh: Minimum node degree to be a transit AS. |
| 61 | Parameter P: PFP Growing Parameter. |
| 62 | Parameter Delta: PFP Growing Parameter. |
| 63 | |
| 64 | 4. Modify "Router-Level" parameters: The following parameters can be set: |
| 65 | Min Nodes: Minimum routers nodes per router topology. |
| 66 | Max Nodes: Maximum routers nodes per router topology. |
| 67 | Core Ratio: Percentage of core router nodes per router topology. |
| 68 | Core Cross Link Ratio: Percentage of core cross links. |
| 69 | Min Hosts per Edge: Minimum number of hosts per edge router. |
| 70 | Max Hosts per Edge: Maximum number of hosts per edge router. |
| 71 | |
| 72 | IMPORTANT NOTE: In order to use the generated topology with the ReaSEUnderlay "Router-Level" option must not be deselected. |
| 73 | |
| 74 | NOTE: If the minimum number of Hosts per Edge is not zero ReaSE must be installed and included in OverSim to use the topology. |
| 75 | |
| 76 | 5. Choose name and path of the ned file by pressing "select". e.g. ~/sim/generatedTopologies/MyFirstTopology.ned |
| 77 | NOTE: The name of the ned file will also be the name of the topology. |
| 78 | |
| 79 | 6. Select the "OverSim topology" option. |
| 80 | |
| 81 | 7. 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. |
| 82 | |
| 83 | === Modified bandwiths, latencies, server and router fractions === |
| 84 | |
| 85 | 1. Switch to the "Server Settings" panel. |
| 86 | 2. Press "Set Script Path" and select ~/sim/ReaSEGUI/UtilScripts/setServer.pl . |
| 87 | 3. Press "Save" and select a location to save your parameter settings. |
| 88 | 4. Modify parameters or press "Default". |
| 89 | 5. Press "Run" in the upper right corner of the panel. |
| 90 | |
| 91 | NOTE: The script writes the modified topology to a new file. e.g. ~/sim/generatedTopologies/MyFirstTopology_servers.ned |
| 92 | |