-
Notifications
You must be signed in to change notification settings - Fork 0
/
Configuration.txt
43 lines (29 loc) · 1.49 KB
/
Configuration.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Configuration
The configuration is stores in plain text files. Lines starting with # are
simply discarded.
The are three configuration files:
* <prefix>.topo: Stores the configuration
* <prefix>.traffic: Holds the time-dependant traffic matrix
# Topology file
Each line in this file represents a link between two nodes. Node names are
arbitrary text strings and are dinamycally declared. In each line, both nodes
must be separated by an arbitrary name of blank characters.
Then, each line can has a parameter for describing the maximum desired rate
carried by the link (0 for no limit) and finally a vector describing the power
characteristics of each link, according to the formula:
P(lambda) = a_0 * log(lambda) + b + sum_i=1^n a_i P(lambda)
# Traffic file
Each line contains an order with the following format.
[ Traffic_variation | Information display | Seed initialization | Ant]
where
Traffic_variation := [a|A|R] node_orig node_dst traffic
and (a|A) means "add traffic /traffic/ between node_orig and node_dst" and
R means "remove traffic /traffic/ between node_orig and node_dst". 'a' uses SPF
to calculate the new route, whereas A tries to minimize the effects of the new
traffic in the network cost.
Information display := C [node_orig node_dst]
shows the current cost of the whole network (default) or, alternatively, the
path between node_orig and node_dst.
Seed initialization := S seed
Ant := T number [v]
and v is the verbosity level, that caused the simulator to signal changes in the routes.