|
|
|
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 |
- running a topology generator to build a topology file |
10 |
- reading the topology file and build a ns-3 simulation |
11 |
|
12 |
Hence, model is focused on being able to read correctly the various topology formats. |
13 |
|
14 |
Currently there are three models: |
15 |
* ``ns3::OrbisTopologyReader`` for Orbis 0.7 traces (http://sysnet.ucsd.edu/~pmahadevan/topo_research/topo.html) |
16 |
* ``ns3::InetTopologyReader`` for Inet 3.0 traces (http://topology.eecs.umich.edu/inet/) |
17 |
* ``ns3::RocketfuelTopologyReader`` for Rocketfuel traces (http://www.cs.washington.edu/research/networking/rocketfuel/) |
18 |
|
19 |
An helper ``ns3::TopologyReaderHelper`` is provided to assist on trivial tasks. |
20 |
|
21 |
A good source for topology data is also Archipelago (http://www.caida.org/projects/ark/) |
22 |
|
23 |
The current Archipelago Measurements, monthly updated, are stored here: |
24 |
http://data.caida.org/datasets/topology/ipv4.allpref24-aslinks/ |
25 |
(complete notation and triple data source, one for each working group) |
26 |
|
27 |
A different and more compact notation that signs only the AS-relationships is here: |
28 |
http://www.caida.org/data/active/as-relationships/index.xml |
29 |
(a sort of more Orbis-like format) |
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 |
|