|
|
|
|
1 |
.. include:: replace.txt |
| 2 |
|
| 3 |
Topology Input Readers |
| 4 |
---------------------- |
| 5 |
|
| 6 |
The topology modules aim at reading a topology file generated by an automatic topology generator. |
| 7 |
|
| 8 |
The process is divided in two steps: |
| 9 |
|
| 10 |
- running a topology generator to build a topology file |
| 11 |
- reading the topology file and build a ns-3 simulation |
| 12 |
|
| 13 |
Hence, model is focused on being able to read correctly the various topology formats. |
| 14 |
|
| 15 |
Currently there are three models: |
| 16 |
|
| 17 |
* ``ns3::OrbisTopologyReader`` for Orbis_ 0.7 traces |
| 18 |
* ``ns3::InetTopologyReader`` for Inet_ 3.0 traces |
| 19 |
* ``ns3::RocketfuelTopologyReader`` for Rocketfuel_ traces |
| 20 |
|
| 21 |
An helper ``ns3::TopologyReaderHelper`` is provided to assist on trivial tasks. |
| 22 |
|
| 23 |
A good source for topology data is also Archipelago_. |
| 24 |
|
| 25 |
The current Archipelago Measurements_, monthly updated, are stored in the CAIDA website using |
| 26 |
a complete notation and triple data source, one for each working group. |
| 27 |
|
| 28 |
A different and more compact notation reporting only the AS-relationships (a sort of more |
| 29 |
Orbis-like format) is here: as-relationships_. |
| 30 |
|
| 31 |
The compact notation can be easily stripped down to a pure Orbis format, just removing |
| 32 |
the double relationships (the compact format use one-way links, while Orbis use two-way |
| 33 |
links) and pruning the 3rd parameter. Note that with the compact data Orbis can then be |
| 34 |
used create a rescaled version of the topology, thus being the most effective way |
| 35 |
(to my best knowledge) to make an internet-like topology. |
| 36 |
|
| 37 |
Examples can be found in the directory ``src/topology-read/examples/`` |
| 38 |
|
| 39 |
.. _Orbis: http://sysnet.ucsd.edu/~pmahadevan/topo_research/topo.html |
| 40 |
.. _Inet: http://topology.eecs.umich.edu/inet/ |
| 41 |
.. _RocketFuel: http://www.cs.washington.edu/research/networking/rocketfuel/ |
| 42 |
.. _Archipelago: http://www.caida.org/projects/ark/ |
| 43 |
.. _Measurements: http://data.caida.org/datasets/topology/ipv4.allpref24-aslinks/ |
| 44 |
.. _as-relationships: http://www.caida.org/data/active/as-relationships/index.xml |
| 45 |
|