summaryrefslogtreecommitdiffstats
path: root/examples/babel_test.mmss
blob: 7002fb11d9205e2c9db769a80f4bb0a271d33c30 (plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
protocol "babel" load "./libmmss_proto_babel.so" default;

/* topology:

      C - D
     /     \
A - B       G - H
     \     /
      E - F

*/


network "net_A_B";
network "net_B_C";
network "net_B_E";
network "net_C_D" { etx min 1.0 max 5.0 sine period 20 m; }
network "net_D_G";
network "net_E_F" { etx min 1.0 max 5.0 sine period 20 m phase 10 m; }
network "net_F_G";
network "net_G_H";


#network "net1" {
#	etx min 1.0 max 5.0 sine period 15 m phase 5 m;
#}

#network "net2" {
#	etx min 1.0 max 5.0 sine period 15 m phase 10 m;
#}

node "A" {
	interface "mmss_A_B" network "net_A_B" address 00:00:00:00:00:00:01:02;
}
node "B" {
	interface "mmss_B_A" network "net_A_B" address 00:00:00:00:00:00:02:01;
	interface "mmss_B_C" network "net_B_C" address 00:00:00:00:00:00:02:03;
	interface "mmss_B_E" network "net_B_E" address 00:00:00:00:00:00:02:05;
}
node "C" {
	interface "mmss_C_B" network "net_B_C" address 00:00:00:00:00:00:03:02;
	interface "mmss_C_D" network "net_C_D" address 00:00:00:00:00:00:03:04;
}
node "D" {
	interface "mmss_D_C" network "net_C_D" address 00:00:00:00:00:00:04:03;
	interface "mmss_D_G" network "net_D_G" address 00:00:00:00:00:00:04:07;
}
node "E" {
	interface "mmss_E_B" network "net_B_E" address 00:00:00:00:00:00:05:02;
	interface "mmss_E_F" network "net_E_F" address 00:00:00:00:00:00:05:06;
}
node "F" {
	interface "mmss_F_E" network "net_E_F" address 00:00:00:00:00:00:06:05;
	interface "mmss_F_G" network "net_F_G" address 00:00:00:00:00:00:06:07;
}
node "G" {
	interface "mmss_G_D" network "net_D_G" address 00:00:00:00:00:00:07:04;
	interface "mmss_G_F" network "net_F_G" address 00:00:00:00:00:00:07:06;
	interface "mmss_G_H" network "net_G_H" address 00:00:00:00:00:00:07:08;
}
node "H" {
	interface "mmss_H_G" network "net_G_H" address 00:00:00:00:00:00:08:07;
}